
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
throughout-chrome
Advanced tools
End-to-end testing made simple
Throughout combines Jest and Puppeteer to create a FAST End to End testing environment.
*Note: Throughout requires at least Node v6.4.0 due to Puppeteer
To install Throughout using NPM:
npm i throughout-chrome
To install Throughout using Yarn:
yarn add throughout-chrome
Note: Puppeteer downloads Chromium.
To use Throughout please refer to Jest's API and Puppeteer's API.
Here is an example of a test
import * as puppeteer from 'puppeteer';
import { throughoutSettings, throughoutDebug, setViewportAsDesktop } from '../src/browser'; // imported from throughout
import { urlList } from '../testBed/url'; // the url you are testing
describe('Given this is a test', () => {
let page;
let browser;
let debug;
beforeAll(async () => {
browser = await puppeteer.launch(throughoutSettings);
page = await browser.newPage();
debug = await throughoutDebug('Pokedex PWA Test', page, browser); // throughout will debug for you
setViewportAsDesktop(page);
await page.goto(urlList.POKEMON);
});
describe('When the user clicks the pokemon link', () => {
beforeAll(async () => {
await page.click('#pokemon-link');
});
it('Then the pokemon list should be visible', async () => {
expect(await page.$('#monsters-list')).toBeTruthy();
});
});
});
Throughout was made by Elliot Evans
FAQs
End-to-end testing made simple
We found that throughout-chrome demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.