mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
This is supported in the latest release: https://github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v24.8.0
Testing service worker termination
Overview
Note: The test extension is intentionally broken as part of a tutorial in our documentation. See Test service worker termination with Puppeteer.
Sample code to show how to terminate a service worker in Puppeteer or Selenium.
Running the tests
- Install Node.JS.
- Change to the
puppeteerorseleniumdirectory. - Run
npm install. - Run
npm start.