Files
chrome-extensions-samples/functional-samples/tutorial.puppeteer
Oliver Dunk 36f42978b8 Update Puppeteer tutorial to open popup with openPopup() (#1613)
Updates the Puppeteer tutorial to use the `action.openPopup()`
method to open the popup, and then `asPage()` to access the popup
as a page target.

A basic service worker has been added to the history sample to
give us a context to call `action.openPopup()` in.
2026-01-20 12:29:34 +01:00
..

Tutorial: Testing Chrome Extensions with Puppeteer

Overview

This is the sample code for the Testing Chrome Extensions with Puppeteer tutorial.

Running the tests

  1. Install Node.JS.
  2. Run npm install.
  3. Run npm start.