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.
- Install Node.JS.
- Change to the
puppeteer
oderselenium
directory. - Run
npm install
. - Run
npm start
.