mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
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.
15 lines
225 B
JSON
15 lines
225 B
JSON
{
|
|
"name": "puppeteer-demo",
|
|
"version": "1.0",
|
|
"dependencies": {
|
|
"jest": "29.7.0",
|
|
"puppeteer": "24.35.0"
|
|
},
|
|
"scripts": {
|
|
"start": "jest ."
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "29.7.0"
|
|
}
|
|
}
|