From 93e9acc410a16fbcfd679866ad37236f1b06f42e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:03:14 +0000 Subject: [PATCH] chore(deps-dev): Bump the dev-dependencies group with 3 updates (#12101) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikolay Vitkov --- docs/api/index.md | 1620 +++++++++++++++-- docs/api/puppeteer.accessibility.md | 28 +- docs/api/puppeteer.accessibility.snapshot.md | 29 +- docs/api/puppeteer.actionoptions.md | 42 +- docs/api/puppeteer.autofilldata.md | 40 +- docs/api/puppeteer.boundingbox.md | 60 +- docs/api/puppeteer.boxmodel.md | 120 +- .../puppeteer.browser.createbrowsercontext.md | 29 +- docs/api/puppeteer.browser.md | 274 ++- docs/api/puppeteer.browser.waitfortarget.md | 41 +- docs/api/puppeteer.browserconnectoptions.md | 150 +- docs/api/puppeteer.browsercontext.md | 184 +- ...teer.browsercontext.overridepermissions.md | 43 +- .../puppeteer.browsercontext.waitfortarget.md | 41 +- docs/api/puppeteer.browsercontextevent.md | 60 +- docs/api/puppeteer.browsercontextevents.md | 72 +- docs/api/puppeteer.browsercontextoptions.md | 64 +- docs/api/puppeteer.browserevent.md | 76 +- docs/api/puppeteer.browserevents.md | 88 +- .../puppeteer.browserlaunchargumentoptions.md | 128 +- docs/api/puppeteer.cdpsession.md | 60 +- docs/api/puppeteer.cdpsession.send.md | 55 +- docs/api/puppeteer.cdpsessionevent.md | 28 +- docs/api/puppeteer.cdpsessionevents.md | 56 +- docs/api/puppeteer.clickoptions.md | 44 +- docs/api/puppeteer.commandoptions.md | 40 +- docs/api/puppeteer.commoneventemitter.emit.md | 39 +- ...peteer.commoneventemitter.listenercount.md | 27 +- docs/api/puppeteer.commoneventemitter.md | 60 +- docs/api/puppeteer.commoneventemitter.off.md | 41 +- docs/api/puppeteer.commoneventemitter.on.md | 39 +- docs/api/puppeteer.commoneventemitter.once.md | 39 +- ...r.commoneventemitter.removealllisteners.md | 29 +- docs/api/puppeteer.configuration.md | 280 ++- docs/api/puppeteer.connect.md | 27 +- .../api/puppeteer.connection._constructor_.md | 68 +- .../api/puppeteer.connection.createsession.md | 29 +- docs/api/puppeteer.connection.fromsession.md | 27 +- docs/api/puppeteer.connection.md | 142 +- docs/api/puppeteer.connection.send.md | 55 +- docs/api/puppeteer.connection.session.md | 29 +- docs/api/puppeteer.connectiontransport.md | 88 +- .../api/puppeteer.connectiontransport.send.md | 27 +- docs/api/puppeteer.connectoptions.md | 98 +- .../puppeteer.consolemessage._constructor_.md | 64 +- docs/api/puppeteer.consolemessage.md | 104 +- docs/api/puppeteer.consolemessagelocation.md | 84 +- .../api/puppeteer.continuerequestoverrides.md | 98 +- docs/api/puppeteer.cookie.md | 306 +++- docs/api/puppeteer.cookieparam.md | 280 ++- docs/api/puppeteer.coverage._constructor_.md | 28 +- docs/api/puppeteer.coverage.md | 88 +- .../puppeteer.coverage.startcsscoverage.md | 29 +- .../api/puppeteer.coverage.startjscoverage.md | 29 +- docs/api/puppeteer.coverageentry.md | 78 +- docs/api/puppeteer.credentials.md | 56 +- .../puppeteer.csscoverage._constructor_.md | 28 +- docs/api/puppeteer.csscoverage.md | 64 +- docs/api/puppeteer.csscoverage.start.md | 29 +- docs/api/puppeteer.csscoverageoptions.md | 44 +- docs/api/puppeteer.customqueryhandler.md | 64 +- docs/api/puppeteer.debuginfo.md | 40 +- docs/api/puppeteer.defaultargs.md | 29 +- docs/api/puppeteer.deletecookiesrequest.md | 102 +- docs/api/puppeteer.device.md | 56 +- docs/api/puppeteer.devicerequestprompt.md | 88 +- .../puppeteer.devicerequestprompt.select.md | 27 +- ...eteer.devicerequestprompt.waitfordevice.md | 41 +- .../puppeteer.devicerequestpromptdevice.md | 52 +- docs/api/puppeteer.dialog.accept.md | 29 +- docs/api/puppeteer.dialog.md | 76 +- docs/api/puppeteer.elementhandle._.md | 29 +- docs/api/puppeteer.elementhandle.__.md | 29 +- docs/api/puppeteer.elementhandle.__eval.md | 57 +- docs/api/puppeteer.elementhandle._eval.md | 57 +- docs/api/puppeteer.elementhandle.autofill.md | 27 +- docs/api/puppeteer.elementhandle.click.md | 41 +- .../puppeteer.elementhandle.clickablepoint.md | 29 +- .../puppeteer.elementhandle.contentframe.md | 27 +- docs/api/puppeteer.elementhandle.drag.md | 39 +- .../puppeteer.elementhandle.draganddrop.md | 53 +- docs/api/puppeteer.elementhandle.dragenter.md | 41 +- docs/api/puppeteer.elementhandle.dragover.md | 41 +- docs/api/puppeteer.elementhandle.drop.md | 39 +- docs/api/puppeteer.elementhandle.drop_1.md | 41 +- docs/api/puppeteer.elementhandle.hover.md | 27 +- ...er.elementhandle.isintersectingviewport.md | 41 +- docs/api/puppeteer.elementhandle.md | 464 ++++- docs/api/puppeteer.elementhandle.press.md | 43 +- .../api/puppeteer.elementhandle.screenshot.md | 27 +- .../puppeteer.elementhandle.screenshot_1.md | 29 +- .../puppeteer.elementhandle.scrollintoview.md | 27 +- docs/api/puppeteer.elementhandle.select.md | 29 +- docs/api/puppeteer.elementhandle.tap.md | 27 +- docs/api/puppeteer.elementhandle.toelement.md | 29 +- docs/api/puppeteer.elementhandle.touchend.md | 27 +- docs/api/puppeteer.elementhandle.touchmove.md | 27 +- .../api/puppeteer.elementhandle.touchstart.md | 27 +- docs/api/puppeteer.elementhandle.type.md | 41 +- .../api/puppeteer.elementhandle.uploadfile.md | 39 +- ...puppeteer.elementhandle.waitforselector.md | 43 +- .../api/puppeteer.elementscreenshotoptions.md | 44 +- docs/api/puppeteer.eventemitter.emit.md | 41 +- .../puppeteer.eventemitter.listenercount.md | 29 +- docs/api/puppeteer.eventemitter.md | 88 +- docs/api/puppeteer.eventemitter.off.md | 43 +- docs/api/puppeteer.eventemitter.on.md | 43 +- docs/api/puppeteer.eventemitter.once.md | 43 +- ...ppeteer.eventemitter.removealllisteners.md | 29 +- docs/api/puppeteer.executablepath.md | 29 +- docs/api/puppeteer.filechooser.accept.md | 27 +- docs/api/puppeteer.filechooser.md | 52 +- docs/api/puppeteer.frame._.md | 29 +- docs/api/puppeteer.frame.__.md | 29 +- docs/api/puppeteer.frame.__eval.md | 57 +- docs/api/puppeteer.frame._eval.md | 57 +- docs/api/puppeteer.frame.addscripttag.md | 29 +- docs/api/puppeteer.frame.addstyletag.md | 27 +- docs/api/puppeteer.frame.addstyletag_1.md | 27 +- docs/api/puppeteer.frame.click.md | 43 +- docs/api/puppeteer.frame.evaluate.md | 39 +- docs/api/puppeteer.frame.evaluatehandle.md | 39 +- docs/api/puppeteer.frame.focus.md | 29 +- docs/api/puppeteer.frame.goto.md | 43 +- docs/api/puppeteer.frame.hover.md | 29 +- docs/api/puppeteer.frame.locator.md | 27 +- docs/api/puppeteer.frame.locator_1.md | 27 +- docs/api/puppeteer.frame.md | 440 ++++- docs/api/puppeteer.frame.select.md | 43 +- docs/api/puppeteer.frame.setcontent.md | 43 +- docs/api/puppeteer.frame.tap.md | 29 +- docs/api/puppeteer.frame.type.md | 57 +- docs/api/puppeteer.frame.waitforfunction.md | 57 +- docs/api/puppeteer.frame.waitfornavigation.md | 29 +- docs/api/puppeteer.frame.waitforselector.md | 43 +- .../api/puppeteer.frameaddscripttagoptions.md | 124 +- docs/api/puppeteer.frameaddstyletagoptions.md | 84 +- .../puppeteer.framewaitforfunctionoptions.md | 88 +- docs/api/puppeteer.geolocationoptions.md | 80 +- docs/api/puppeteer.gotooptions.md | 64 +- docs/api/puppeteer.httprequest.abort.md | 43 +- docs/api/puppeteer.httprequest.continue.md | 43 +- ...teer.httprequest.enqueueinterceptaction.md | 27 +- docs/api/puppeteer.httprequest.md | 334 +++- docs/api/puppeteer.httprequest.respond.md | 43 +- docs/api/puppeteer.httpresponse.md | 196 +- .../puppeteer.interceptresolutionaction.md | 88 +- .../api/puppeteer.interceptresolutionstate.md | 58 +- .../puppeteer.internalnetworkconditions.md | 40 +- .../api/puppeteer.jscoverage._constructor_.md | 28 +- docs/api/puppeteer.jscoverage.md | 64 +- docs/api/puppeteer.jscoverage.start.md | 29 +- docs/api/puppeteer.jscoverageentry.md | 44 +- docs/api/puppeteer.jscoverageoptions.md | 104 +- docs/api/puppeteer.jshandle.evaluate.md | 39 +- docs/api/puppeteer.jshandle.evaluatehandle.md | 39 +- docs/api/puppeteer.jshandle.getproperty.md | 27 +- docs/api/puppeteer.jshandle.getproperty_1.md | 27 +- docs/api/puppeteer.jshandle.md | 186 +- docs/api/puppeteer.keyboard.down.md | 43 +- docs/api/puppeteer.keyboard.md | 76 +- docs/api/puppeteer.keyboard.press.md | 43 +- docs/api/puppeteer.keyboard.sendcharacter.md | 29 +- docs/api/puppeteer.keyboard.type.md | 43 +- docs/api/puppeteer.keyboard.up.md | 29 +- docs/api/puppeteer.keyboardtypeoptions.md | 42 +- docs/api/puppeteer.keydownoptions.md | 60 +- docs/api/puppeteer.launch.md | 29 +- docs/api/puppeteer.launchoptions.md | 304 +++- docs/api/puppeteer.locator.click.md | 41 +- docs/api/puppeteer.locator.fill.md | 53 +- docs/api/puppeteer.locator.filter.md | 27 +- docs/api/puppeteer.locator.hover.md | 41 +- docs/api/puppeteer.locator.map.md | 27 +- docs/api/puppeteer.locator.md | 240 ++- docs/api/puppeteer.locator.race.md | 27 +- docs/api/puppeteer.locator.scroll.md | 41 +- ...locator.setensureelementisintheviewport.md | 39 +- docs/api/puppeteer.locator.settimeout.md | 27 +- docs/api/puppeteer.locator.setvisibility.md | 39 +- .../puppeteer.locator.setwaitforenabled.md | 39 +- ...eer.locator.setwaitforstableboundingbox.md | 39 +- docs/api/puppeteer.locator.wait.md | 29 +- docs/api/puppeteer.locator.waithandle.md | 29 +- docs/api/puppeteer.locatorevent.md | 30 +- docs/api/puppeteer.locatorevents.md | 40 +- docs/api/puppeteer.locatoroptions.md | 124 +- docs/api/puppeteer.locatorscrolloptions.md | 60 +- docs/api/puppeteer.mediafeature.md | 56 +- docs/api/puppeteer.metrics.md | 258 ++- docs/api/puppeteer.mouse.click.md | 57 +- docs/api/puppeteer.mouse.down.md | 29 +- docs/api/puppeteer.mouse.drag.md | 43 +- docs/api/puppeteer.mouse.draganddrop.md | 57 +- docs/api/puppeteer.mouse.dragenter.md | 43 +- docs/api/puppeteer.mouse.dragover.md | 43 +- docs/api/puppeteer.mouse.drop.md | 43 +- docs/api/puppeteer.mouse.md | 148 +- docs/api/puppeteer.mouse.move.md | 57 +- docs/api/puppeteer.mouse.up.md | 29 +- docs/api/puppeteer.mouse.wheel.md | 29 +- docs/api/puppeteer.mouseclickoptions.md | 66 +- docs/api/puppeteer.mousemoveoptions.md | 46 +- docs/api/puppeteer.mouseoptions.md | 68 +- docs/api/puppeteer.mousewheeloptions.md | 60 +- docs/api/puppeteer.moveable.md | 22 +- docs/api/puppeteer.networkconditions.md | 78 +- .../puppeteer.newdocumentscriptevaluation.md | 40 +- docs/api/puppeteer.offset.md | 60 +- docs/api/puppeteer.page._.md | 29 +- docs/api/puppeteer.page.__.md | 29 +- docs/api/puppeteer.page.__eval.md | 57 +- docs/api/puppeteer.page._eval.md | 57 +- docs/api/puppeteer.page.addscripttag.md | 29 +- docs/api/puppeteer.page.addstyletag.md | 27 +- docs/api/puppeteer.page.addstyletag_1.md | 27 +- docs/api/puppeteer.page.authenticate.md | 27 +- docs/api/puppeteer.page.click.md | 43 +- docs/api/puppeteer.page.close.md | 29 +- docs/api/puppeteer.page.cookies.md | 27 +- docs/api/puppeteer.page.createpdfstream.md | 29 +- docs/api/puppeteer.page.deletecookie.md | 27 +- docs/api/puppeteer.page.emulate.md | 27 +- .../puppeteer.page.emulatecputhrottling.md | 29 +- docs/api/puppeteer.page.emulateidlestate.md | 29 +- .../puppeteer.page.emulatemediafeatures.md | 29 +- docs/api/puppeteer.page.emulatemediatype.md | 29 +- ...puppeteer.page.emulatenetworkconditions.md | 29 +- docs/api/puppeteer.page.emulatetimezone.md | 29 +- .../puppeteer.page.emulatevisiondeficiency.md | 29 +- docs/api/puppeteer.page.evaluate.md | 43 +- docs/api/puppeteer.page.evaluatehandle.md | 43 +- .../puppeteer.page.evaluateonnewdocument.md | 43 +- docs/api/puppeteer.page.exposefunction.md | 45 +- docs/api/puppeteer.page.focus.md | 29 +- docs/api/puppeteer.page.goback.md | 29 +- docs/api/puppeteer.page.goforward.md | 29 +- docs/api/puppeteer.page.goto.md | 43 +- docs/api/puppeteer.page.hover.md | 29 +- docs/api/puppeteer.page.locator.md | 27 +- docs/api/puppeteer.page.locator_1.md | 27 +- docs/api/puppeteer.page.md | 1204 +++++++++++- docs/api/puppeteer.page.pdf.md | 29 +- docs/api/puppeteer.page.queryobjects.md | 29 +- docs/api/puppeteer.page.reload.md | 29 +- .../puppeteer.page.removeexposedfunction.md | 27 +- ...age.removescripttoevaluateonnewdocument.md | 29 +- docs/api/puppeteer.page.screencast.md | 29 +- docs/api/puppeteer.page.screenshot.md | 29 +- docs/api/puppeteer.page.screenshot_1.md | 29 +- docs/api/puppeteer.page.select.md | 43 +- docs/api/puppeteer.page.setbypasscsp.md | 29 +- .../puppeteer.page.setbypassserviceworker.md | 29 +- docs/api/puppeteer.page.setcacheenabled.md | 29 +- docs/api/puppeteer.page.setcontent.md | 43 +- docs/api/puppeteer.page.setcookie.md | 27 +- ...peteer.page.setdefaultnavigationtimeout.md | 29 +- docs/api/puppeteer.page.setdefaulttimeout.md | 29 +- .../api/puppeteer.page.setdraginterception.md | 29 +- .../api/puppeteer.page.setextrahttpheaders.md | 29 +- docs/api/puppeteer.page.setgeolocation.md | 27 +- .../puppeteer.page.setjavascriptenabled.md | 29 +- docs/api/puppeteer.page.setofflinemode.md | 29 +- .../puppeteer.page.setrequestinterception.md | 29 +- docs/api/puppeteer.page.setuseragent.md | 43 +- docs/api/puppeteer.page.setviewport.md | 27 +- docs/api/puppeteer.page.tap.md | 29 +- docs/api/puppeteer.page.type.md | 57 +- .../api/puppeteer.page.waitfordeviceprompt.md | 29 +- docs/api/puppeteer.page.waitforfilechooser.md | 29 +- docs/api/puppeteer.page.waitforframe.md | 41 +- docs/api/puppeteer.page.waitforfunction.md | 55 +- docs/api/puppeteer.page.waitfornavigation.md | 29 +- docs/api/puppeteer.page.waitfornetworkidle.md | 29 +- docs/api/puppeteer.page.waitforrequest.md | 43 +- docs/api/puppeteer.page.waitforresponse.md | 43 +- docs/api/puppeteer.page.waitforselector.md | 43 +- docs/api/puppeteer.pageevent.md | 286 ++- docs/api/puppeteer.pageevents.md | 328 +++- docs/api/puppeteer.pdfmargin.md | 96 +- docs/api/puppeteer.pdfoptions.md | 398 +++- docs/api/puppeteer.point.md | 56 +- .../puppeteer.productlauncher.defaultargs.md | 27 +- ...uppeteer.productlauncher.executablepath.md | 29 +- docs/api/puppeteer.productlauncher.launch.md | 29 +- docs/api/puppeteer.productlauncher.md | 82 +- docs/api/puppeteer.protocolerror.md | 52 +- docs/api/puppeteer.puppeteer.connect.md | 29 +- ...er.puppeteer.registercustomqueryhandler.md | 43 +- ....puppeteer.unregistercustomqueryhandler.md | 27 +- docs/api/puppeteer.puppeteerlaunchoptions.md | 60 +- docs/api/puppeteer.puppeteernode.connect.md | 29 +- .../puppeteer.puppeteernode.defaultargs.md | 29 +- .../puppeteer.puppeteernode.executablepath.md | 29 +- docs/api/puppeteer.puppeteernode.launch.md | 29 +- docs/api/puppeteer.puppeteernode.md | 148 +- .../puppeteer.registercustomqueryhandler.md | 39 +- docs/api/puppeteer.remoteaddress.md | 60 +- docs/api/puppeteer.responseforrequest.md | 90 +- docs/api/puppeteer.screencastoptions.md | 134 +- docs/api/puppeteer.screenrecorder.md | 28 +- docs/api/puppeteer.screenshotclip.md | 44 +- docs/api/puppeteer.screenshotoptions.md | 234 ++- docs/api/puppeteer.securitydetails.md | 88 +- docs/api/puppeteer.serializedaxnode.md | 516 +++++- docs/api/puppeteer.snapshotoptions.md | 68 +- docs/api/puppeteer.target.md | 122 +- docs/api/puppeteer.targettype.md | 100 +- docs/api/puppeteer.touchscreen.md | 64 +- docs/api/puppeteer.touchscreen.tap.md | 43 +- docs/api/puppeteer.touchscreen.touchmove.md | 43 +- docs/api/puppeteer.touchscreen.touchstart.md | 43 +- docs/api/puppeteer.tracing.md | 40 +- docs/api/puppeteer.tracing.start.md | 29 +- docs/api/puppeteer.tracingoptions.md | 78 +- .../puppeteer.unregistercustomqueryhandler.md | 27 +- docs/api/puppeteer.viewport.md | 148 +- .../puppeteer.waitfornetworkidleoptions.md | 68 +- docs/api/puppeteer.waitforoptions.md | 70 +- docs/api/puppeteer.waitforselectoroptions.md | 112 +- docs/api/puppeteer.waitfortargetoptions.md | 46 +- docs/api/puppeteer.waittimeoutoptions.md | 48 +- docs/api/puppeteer.webworker.evaluate.md | 43 +- .../api/puppeteer.webworker.evaluatehandle.md | 43 +- docs/api/puppeteer.webworker.md | 100 +- docs/browsers-api/browsers.browser.md | 76 +- docs/browsers-api/browsers.browserplatform.md | 76 +- docs/browsers-api/browsers.candownload.md | 27 +- .../browsers.chromereleasechannel.md | 64 +- .../browsers.cli._constructor_.md | 44 +- docs/browsers-api/browsers.cli.md | 54 +- docs/browsers-api/browsers.cli.run.md | 27 +- .../browsers.computeexecutablepath.md | 27 +- .../browsers.computesystemexecutablepath.md | 27 +- docs/browsers-api/browsers.createprofile.md | 39 +- .../browsers.getinstalledbrowsers.md | 27 +- .../browsers.getinstalledbrowsersoptions.md | 42 +- .../browsers.getversioncomparator.md | 27 +- docs/browsers-api/browsers.install.md | 27 +- docs/browsers-api/browsers.install_1.md | 27 +- .../browsers-api/browsers.installedbrowser.md | 132 +- ...browsers.installedbrowser.writemetadata.md | 27 +- docs/browsers-api/browsers.installoptions.md | 186 +- docs/browsers-api/browsers.launch.md | 27 +- docs/browsers-api/browsers.launchoptions.md | 202 +- .../browsers.makeprogresscallback.md | 39 +- docs/browsers-api/browsers.options.md | 100 +- .../browsers.process._constructor_.md | 28 +- docs/browsers-api/browsers.process.md | 120 +- .../browsers.process.waitforlineoutput.md | 41 +- docs/browsers-api/browsers.profileoptions.md | 56 +- docs/browsers-api/browsers.resolvebuildid.md | 51 +- docs/browsers-api/browsers.systemoptions.md | 82 +- docs/browsers-api/browsers.uninstall.md | 27 +- .../browsers-api/browsers.uninstalloptions.md | 100 +- docs/browsers-api/index.md | 300 ++- docs/guides/request-interception.md | 4 +- docs/troubleshooting.md | 2 +- package-lock.json | 288 +-- package.json | 2 +- packages/puppeteer-core/src/api/Page.ts | 2 +- tools/docgen/package.json | 2 +- .../docgen/src/custom_markdown_documenter.ts | 9 - tools/doctest/package.json | 2 +- website/package-lock.json | 911 ++++----- website/package.json | 18 +- 366 files changed, 23232 insertions(+), 2713 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index 0f34dd4a558..ba35bb09147 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -6,207 +6,1455 @@ sidebar_label: API ## Classes -| Class | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Accessibility](./puppeteer.accessibility.md) | The Accessibility class provides methods for inspecting the browser's accessibility tree. The accessibility tree is used by assistive technology such as [screen readers](https://en.wikipedia.org/wiki/Screen_reader) or [switches](https://en.wikipedia.org/wiki/Switch_access). | -| [Browser](./puppeteer.browser.md) |

[Browser](./puppeteer.browser.md) represents a browser instance that is either:

- connected to via [Puppeteer.connect()](./puppeteer.puppeteer.connect.md) or - launched by [PuppeteerNode.launch()](./puppeteer.puppeteernode.launch.md).

[Browser](./puppeteer.browser.md) [emits](./puppeteer.eventemitter.md) various events which are documented in the [BrowserEvent](./puppeteer.browserevent.md) enum.

| -| [BrowserContext](./puppeteer.browsercontext.md) |

[BrowserContext](./puppeteer.browsercontext.md) represents individual user contexts within a [browser](./puppeteer.browser.md).

When a [browser](./puppeteer.browser.md) is launched, it has a single [browser context](./puppeteer.browsercontext.md) by default. Others can be created using [Browser.createBrowserContext()](./puppeteer.browser.createbrowsercontext.md). Each context has isolated storage (cookies/localStorage/etc.)

[BrowserContext](./puppeteer.browsercontext.md) [emits](./puppeteer.eventemitter.md) various events which are documented in the [BrowserContextEvent](./puppeteer.browsercontextevent.md) enum.

If a [page](./puppeteer.page.md) opens another [page](./puppeteer.page.md), e.g. using window.open, the popup will belong to the parent [page's browser context](./puppeteer.page.browsercontext.md).

| -| [CDPSession](./puppeteer.cdpsession.md) | The CDPSession instances are used to talk raw Chrome Devtools Protocol. | -| [Connection](./puppeteer.connection.md) | | -| [ConsoleMessage](./puppeteer.consolemessage.md) | ConsoleMessage objects are dispatched by page via the 'console' event. | -| [Coverage](./puppeteer.coverage.md) | The Coverage class provides methods to gather information about parts of JavaScript and CSS that were used by the page. | -| [CSSCoverage](./puppeteer.csscoverage.md) | | -| [DeviceRequestPrompt](./puppeteer.devicerequestprompt.md) | Device request prompts let you respond to the page requesting for a device through an API like WebBluetooth. | -| [DeviceRequestPromptDevice](./puppeteer.devicerequestpromptdevice.md) | Device in a request prompt. | -| [Dialog](./puppeteer.dialog.md) | Dialog instances are dispatched by the [Page](./puppeteer.page.md) via the dialog event. | -| [ElementHandle](./puppeteer.elementhandle.md) | ElementHandle represents an in-page DOM element. | -| [EventEmitter](./puppeteer.eventemitter.md) | The EventEmitter class that many Puppeteer classes extend. | -| [FileChooser](./puppeteer.filechooser.md) | File choosers let you react to the page requesting for a file. | -| [Frame](./puppeteer.frame.md) |

Represents a DOM frame.

To understand frames, you can think of frames as <iframe> elements. Just like iframes, frames can be nested, and when JavaScript is executed in a frame, the JavaScript does not effect frames inside the ambient frame the JavaScript executes in.

| -| [HTTPRequest](./puppeteer.httprequest.md) | Represents an HTTP request sent by a page. | -| [HTTPResponse](./puppeteer.httpresponse.md) | The HTTPResponse class represents responses which are received by the [Page](./puppeteer.page.md) class. | -| [JSCoverage](./puppeteer.jscoverage.md) | | -| [JSHandle](./puppeteer.jshandle.md) |

Represents a reference to a JavaScript object. Instances can be created using [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.md).

Handles prevent the referenced JavaScript object from being garbage-collected unless the handle is purposely [disposed](./puppeteer.jshandle.dispose.md). JSHandles are auto-disposed when their associated frame is navigated away or the parent context gets destroyed.

Handles can be used as arguments for any evaluation function such as [Page.$eval()](./puppeteer.page._eval.md), [Page.evaluate()](./puppeteer.page.evaluate.md), and [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.md). They are resolved to their referenced object.

| -| [Keyboard](./puppeteer.keyboard.md) | Keyboard provides an api for managing a virtual keyboard. The high level api is [Keyboard.type()](./puppeteer.keyboard.type.md), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page. | -| [Locator](./puppeteer.locator.md) | Locators describe a strategy of locating objects and performing an action on them. If the action fails because the object is not ready for the action, the whole operation is retried. Various preconditions for a successful action are checked automatically. | -| [Mouse](./puppeteer.mouse.md) | The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. | -| [Page](./puppeteer.page.md) |

Page provides methods to interact with a single tab or [extension background page](https://developer.chrome.com/extensions/background_pages) in the browser.

:::note

One Browser instance might have multiple Page instances.

:::

| -| [ProductLauncher](./puppeteer.productlauncher.md) | Describes a launcher - a class that is able to create and launch a browser instance. | -| [ProtocolError](./puppeteer.protocolerror.md) | ProtocolError is emitted whenever there is an error from the protocol. | -| [Puppeteer](./puppeteer.puppeteer.md) |

The main Puppeteer class.

IMPORTANT: if you are using Puppeteer in a Node environment, you will get an instance of [PuppeteerNode](./puppeteer.puppeteernode.md) when you import or require puppeteer. That class extends Puppeteer, so has all the methods documented below as well as all that are defined on [PuppeteerNode](./puppeteer.puppeteernode.md).

| -| [PuppeteerError](./puppeteer.puppeteererror.md) | The base class for all Puppeteer-specific errors | -| [PuppeteerNode](./puppeteer.puppeteernode.md) |

Extends the main [Puppeteer](./puppeteer.puppeteer.md) class with Node specific behaviour for fetching and downloading browsers.

If you're using Puppeteer in a Node environment, this is the class you'll get when you run require('puppeteer') (or the equivalent ES import).

| -| [ScreenRecorder](./puppeteer.screenrecorder.md) | | -| [SecurityDetails](./puppeteer.securitydetails.md) | The SecurityDetails class represents the security details of a response that was received over a secure connection. | -| [Target](./puppeteer.target.md) | Target represents a [CDP target](https://chromedevtools.github.io/devtools-protocol/tot/Target/). In CDP a target is something that can be debugged such a frame, a page or a worker. | -| [TimeoutError](./puppeteer.timeouterror.md) | TimeoutError is emitted whenever certain operations are terminated due to timeout. | -| [Touchscreen](./puppeteer.touchscreen.md) | The Touchscreen class exposes touchscreen events. | -| [Tracing](./puppeteer.tracing.md) | The Tracing class exposes the tracing audit interface. | -| [UnsupportedOperation](./puppeteer.unsupportedoperation.md) | Puppeteer will throw this error if a method is not supported by the currently used protocol | -| [WebWorker](./puppeteer.webworker.md) | This class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). | + + + + + + + + + + + + + + + +
+ +Class + + + +Description + +
+ +[Accessibility](./puppeteer.accessibility.md) + + + +The Accessibility class provides methods for inspecting the browser's accessibility tree. The accessibility tree is used by assistive technology such as [screen readers](https://en.wikipedia.org/wiki/Screen_reader) or [switches](https://en.wikipedia.org/wiki/Switch_access). + +
+ +[Browser](./puppeteer.browser.md) + + + +[Browser](./puppeteer.browser.md) represents a browser instance that is either: + +- connected to via [Puppeteer.connect()](./puppeteer.puppeteer.connect.md) or - launched by [PuppeteerNode.launch()](./puppeteer.puppeteernode.launch.md). + +[Browser](./puppeteer.browser.md) [emits](./puppeteer.eventemitter.md) various events which are documented in the [BrowserEvent](./puppeteer.browserevent.md) enum. + +
+ +[BrowserContext](./puppeteer.browsercontext.md) + + + +[BrowserContext](./puppeteer.browsercontext.md) represents individual user contexts within a [browser](./puppeteer.browser.md). + +When a [browser](./puppeteer.browser.md) is launched, it has a single [browser context](./puppeteer.browsercontext.md) by default. Others can be created using [Browser.createBrowserContext()](./puppeteer.browser.createbrowsercontext.md). Each context has isolated storage (cookies/localStorage/etc.) + +[BrowserContext](./puppeteer.browsercontext.md) [emits](./puppeteer.eventemitter.md) various events which are documented in the [BrowserContextEvent](./puppeteer.browsercontextevent.md) enum. + +If a [page](./puppeteer.page.md) opens another [page](./puppeteer.page.md), e.g. using `window.open`, the popup will belong to the parent [page's browser context](./puppeteer.page.browsercontext.md). + +
+ +[CDPSession](./puppeteer.cdpsession.md) + + + +The `CDPSession` instances are used to talk raw Chrome Devtools Protocol. + +
+ +[Connection](./puppeteer.connection.md) + + + +
+ +[ConsoleMessage](./puppeteer.consolemessage.md) + + + +ConsoleMessage objects are dispatched by page via the 'console' event. + +
+ +[Coverage](./puppeteer.coverage.md) + + + +The Coverage class provides methods to gather information about parts of JavaScript and CSS that were used by the page. + +
+ +[CSSCoverage](./puppeteer.csscoverage.md) + + + +
+ +[DeviceRequestPrompt](./puppeteer.devicerequestprompt.md) + + + +Device request prompts let you respond to the page requesting for a device through an API like WebBluetooth. + +
+ +[DeviceRequestPromptDevice](./puppeteer.devicerequestpromptdevice.md) + + + +Device in a request prompt. + +
+ +[Dialog](./puppeteer.dialog.md) + + + +Dialog instances are dispatched by the [Page](./puppeteer.page.md) via the `dialog` event. + +
+ +[ElementHandle](./puppeteer.elementhandle.md) + + + +ElementHandle represents an in-page DOM element. + +
+ +[EventEmitter](./puppeteer.eventemitter.md) + + + +The EventEmitter class that many Puppeteer classes extend. + +
+ +[FileChooser](./puppeteer.filechooser.md) + + + +File choosers let you react to the page requesting for a file. + +
+ +[Frame](./puppeteer.frame.md) + + + +Represents a DOM frame. + +To understand frames, you can think of frames as `