Files
chrome-extensions-samples/functional-samples/tutorial.terminate-sw
dependabot[bot] 063a72f444 Bump ws and puppeteer (#1195)
Bumps [ws](https://github.com/websockets/ws) to 8.17.1 and updates ancestor dependency [puppeteer](https://github.com/puppeteer/puppeteer). These dependencies need to be updated together.


Updates `ws` from 8.16.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)

Updates `puppeteer` from 22.1.0 to 22.11.2
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.1.0...puppeteer-v22.11.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: puppeteer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 10:57:25 +01:00
..
2024-06-19 10:57:25 +01:00

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

  1. Install Node.JS.
  2. Change to the puppeteer or selenium directory.
  3. Run npm install.
  4. Run npm start.