From dc66207f25eff5712575088ec87eade891ea1404 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 14 Oct 2022 14:54:46 +0200 Subject: [PATCH] chore: release main (#9115) --- .release-please-manifest.json | 4 +- package-lock.json | 12 +- packages/puppeteer-core/CHANGELOG.md | 27 ++ packages/puppeteer-core/package.json | 2 +- packages/puppeteer/CHANGELOG.md | 30 ++ packages/puppeteer/package.json | 4 +- .../api/puppeteer.clearcustomqueryhandlers.md | 17 - .../version-18.2.1/api/puppeteer.connect.md | 12 - .../puppeteer.customerror._constructor_.md | 21 - .../api/puppeteer.customerror.md | 19 - .../version-18.2.1/api/puppeteer.device.md | 19 - .../api/puppeteer.device.name.md | 13 - .../api/puppeteer.device.viewport.md | 20 - .../version-18.2.1/api/puppeteer.devices.md | 29 -- .../api/puppeteer.devicesmap.md | 15 - .../version-18.2.1/api/puppeteer.errors.md | 29 -- .../api/puppeteer.networkconditions.md | 32 -- .../api/puppeteer.page.emulate.md | 44 -- .../api/puppeteer.puppeteer.devices.md | 23 - .../api/puppeteer.puppeteer.errors.md | 23 - .../version-18.2.1/api/puppeteer.puppeteer.md | 37 -- .../puppeteer.puppeteer.networkconditions.md | 23 - ...er.puppeteer.registercustomqueryhandler.md | 37 -- .../puppeteer.registercustomqueryhandler.md | 38 -- .../puppeteer.unregistercustomqueryhandler.md | 21 - .../versioned_docs/version-18.2.1/index.md | 419 ------------------ .../api/index.md | 39 +- .../api/puppeteer.accessibility.md | 0 .../api/puppeteer.accessibility.snapshot.md | 0 .../api/puppeteer.actionresult.md | 0 .../api/puppeteer.awaitable.md | 0 .../api/puppeteer.boundingbox.height.md | 0 .../api/puppeteer.boundingbox.md | 0 .../api/puppeteer.boundingbox.width.md | 0 .../api/puppeteer.boxmodel.border.md | 0 .../api/puppeteer.boxmodel.content.md | 0 .../api/puppeteer.boxmodel.height.md | 0 .../api/puppeteer.boxmodel.margin.md | 0 .../api/puppeteer.boxmodel.md | 0 .../api/puppeteer.boxmodel.padding.md | 0 .../api/puppeteer.boxmodel.width.md | 0 .../api/puppeteer.browser.browsercontexts.md | 0 .../api/puppeteer.browser.close.md | 0 ...r.browser.createincognitobrowsercontext.md | 0 ...puppeteer.browser.defaultbrowsercontext.md | 0 .../api/puppeteer.browser.disconnect.md | 0 .../api/puppeteer.browser.isconnected.md | 0 .../api/puppeteer.browser.md | 0 .../api/puppeteer.browser.newpage.md | 0 .../api/puppeteer.browser.pages.md | 0 .../api/puppeteer.browser.process.md | 0 .../api/puppeteer.browser.target.md | 0 .../api/puppeteer.browser.targets.md | 0 .../api/puppeteer.browser.useragent.md | 0 .../api/puppeteer.browser.version.md | 0 .../api/puppeteer.browser.waitfortarget.md | 0 .../api/puppeteer.browser.wsendpoint.md | 0 ...r.browserconnectoptions.defaultviewport.md | 0 ...browserconnectoptions.ignorehttpserrors.md | 0 .../api/puppeteer.browserconnectoptions.md | 0 .../puppeteer.browserconnectoptions.slowmo.md | 0 ...teer.browserconnectoptions.targetfilter.md | 0 .../api/puppeteer.browsercontext.browser.md | 0 ...browsercontext.clearpermissionoverrides.md | 0 .../api/puppeteer.browsercontext.close.md | 0 .../puppeteer.browsercontext.isincognito.md | 0 .../api/puppeteer.browsercontext.md | 0 .../api/puppeteer.browsercontext.newpage.md | 0 ...teer.browsercontext.overridepermissions.md | 0 .../api/puppeteer.browsercontext.pages.md | 0 .../api/puppeteer.browsercontext.targets.md | 0 .../puppeteer.browsercontext.waitfortarget.md | 0 .../puppeteer.browsercontextemittedevents.md | 0 .../api/puppeteer.browsercontextoptions.md | 0 ...r.browsercontextoptions.proxybypasslist.md | 0 ...eteer.browsercontextoptions.proxyserver.md | 0 .../api/puppeteer.browseremittedevents.md | 0 .../puppeteer.browserfetcher._constructor_.md | 21 + .../puppeteer.browserfetcher.candownload.md | 0 .../api/puppeteer.browserfetcher.download.md | 0 .../api/puppeteer.browserfetcher.host.md | 0 ...puppeteer.browserfetcher.localrevisions.md | 0 .../api/puppeteer.browserfetcher.md | 12 +- .../api/puppeteer.browserfetcher.platform.md | 0 .../api/puppeteer.browserfetcher.product.md | 0 .../api/puppeteer.browserfetcher.remove.md | 0 .../puppeteer.browserfetcher.revisioninfo.md | 0 .../puppeteer.browserfetcheroptions.host.md | 2 + .../api/puppeteer.browserfetcheroptions.md | 12 +- .../puppeteer.browserfetcheroptions.path.md | 2 + ...uppeteer.browserfetcheroptions.platform.md | 2 + ...puppeteer.browserfetcheroptions.product.md | 4 +- ...owserfetcherrevisioninfo.executablepath.md | 0 ...r.browserfetcherrevisioninfo.folderpath.md | 0 ...peteer.browserfetcherrevisioninfo.local.md | 0 .../puppeteer.browserfetcherrevisioninfo.md | 0 ...teer.browserfetcherrevisioninfo.product.md | 0 ...eer.browserfetcherrevisioninfo.revision.md | 0 ...uppeteer.browserfetcherrevisioninfo.url.md | 0 ...eteer.browserlaunchargumentoptions.args.md | 0 ...wserlaunchargumentoptions.debuggingport.md | 0 ...r.browserlaunchargumentoptions.devtools.md | 0 ...r.browserlaunchargumentoptions.headless.md | 0 .../puppeteer.browserlaunchargumentoptions.md | 0 ...rowserlaunchargumentoptions.userdatadir.md | 0 .../api/puppeteer.cdpsession.connection.md | 0 .../api/puppeteer.cdpsession.detach.md | 0 .../api/puppeteer.cdpsession.id.md | 0 .../api/puppeteer.cdpsession.md | 0 .../api/puppeteer.cdpsession.send.md | 0 ...ppeteer.cdpsessiononmessageobject.error.md | 0 .../puppeteer.cdpsessiononmessageobject.id.md | 0 .../puppeteer.cdpsessiononmessageobject.md | 0 ...peteer.cdpsessiononmessageobject.method.md | 0 ...peteer.cdpsessiononmessageobject.params.md | 0 ...peteer.cdpsessiononmessageobject.result.md | 0 .../api/puppeteer.chromereleasechannel.md | 0 .../api/puppeteer.clearcustomqueryhandlers.md | 19 + .../api/puppeteer.clickoptions.button.md | 0 .../api/puppeteer.clickoptions.clickcount.md | 0 .../api/puppeteer.clickoptions.delay.md | 0 .../api/puppeteer.clickoptions.md | 0 .../api/puppeteer.clickoptions.offset.md | 0 ...uppeteer.commoneventemitter.addlistener.md | 0 .../api/puppeteer.commoneventemitter.emit.md | 0 ...peteer.commoneventemitter.listenercount.md | 0 .../api/puppeteer.commoneventemitter.md | 0 .../api/puppeteer.commoneventemitter.off.md | 0 .../api/puppeteer.commoneventemitter.on.md | 0 .../api/puppeteer.commoneventemitter.once.md | 0 ...r.commoneventemitter.removealllisteners.md | 0 ...eteer.commoneventemitter.removelistener.md | 0 .../version-19.0.0/api/puppeteer.connect.md | 13 + .../api/puppeteer.connection._constructor_.md | 0 .../api/puppeteer.connection.createsession.md | 0 .../api/puppeteer.connection.dispose.md | 0 .../api/puppeteer.connection.fromsession.md | 0 .../api/puppeteer.connection.md | 0 .../api/puppeteer.connection.send.md | 0 .../api/puppeteer.connection.session.md | 0 .../api/puppeteer.connection.url.md | 0 .../api/puppeteer.connectioncallback.error.md | 0 .../api/puppeteer.connectioncallback.md | 0 .../puppeteer.connectioncallback.method.md | 0 .../puppeteer.connectioncallback.reject.md | 0 .../puppeteer.connectioncallback.resolve.md | 0 .../puppeteer.connectiontransport.close.md | 0 .../api/puppeteer.connectiontransport.md | 0 .../puppeteer.connectiontransport.onclose.md | 0 ...puppeteer.connectiontransport.onmessage.md | 0 .../api/puppeteer.connectiontransport.send.md | 0 .../puppeteer.connectoptions.browserurl.md | 0 ...peteer.connectoptions.browserwsendpoint.md | 0 .../api/puppeteer.connectoptions.md | 0 .../api/puppeteer.connectoptions.transport.md | 0 .../puppeteer.consolemessage._constructor_.md | 0 .../api/puppeteer.consolemessage.args.md | 0 .../api/puppeteer.consolemessage.location.md | 0 .../api/puppeteer.consolemessage.md | 0 .../puppeteer.consolemessage.stacktrace.md | 0 .../api/puppeteer.consolemessage.text.md | 0 .../api/puppeteer.consolemessage.type.md | 0 ...eer.consolemessagelocation.columnnumber.md | 0 ...eteer.consolemessagelocation.linenumber.md | 0 .../api/puppeteer.consolemessagelocation.md | 0 .../puppeteer.consolemessagelocation.url.md | 0 .../api/puppeteer.consolemessagetype.md | 0 ...peteer.continuerequestoverrides.headers.md | 0 .../api/puppeteer.continuerequestoverrides.md | 0 ...ppeteer.continuerequestoverrides.method.md | 0 ...eteer.continuerequestoverrides.postdata.md | 0 .../puppeteer.continuerequestoverrides.url.md | 0 .../api/puppeteer.coverage._constructor_.md | 0 .../api/puppeteer.coverage.md | 0 .../puppeteer.coverage.startcsscoverage.md | 0 .../api/puppeteer.coverage.startjscoverage.md | 6 +- .../api/puppeteer.coverage.stopcsscoverage.md | 0 .../api/puppeteer.coverage.stopjscoverage.md | 0 .../api/puppeteer.coverageentry.md | 0 .../api/puppeteer.coverageentry.ranges.md | 0 .../api/puppeteer.coverageentry.text.md | 0 .../api/puppeteer.coverageentry.url.md | 0 .../api/puppeteer.createbrowserfetcher.md | 4 + .../api/puppeteer.credentials.md | 0 .../api/puppeteer.credentials.password.md | 0 .../api/puppeteer.credentials.username.md | 0 .../puppeteer.csscoverage._constructor_.md | 0 .../api/puppeteer.csscoverage.md | 0 .../api/puppeteer.csscoverage.start.md | 0 .../api/puppeteer.csscoverage.stop.md | 0 .../api/puppeteer.csscoverageoptions.md | 0 ...er.csscoverageoptions.resetonnavigation.md | 0 .../api/puppeteer.customerror.md | 21 + .../api/puppeteer.customqueryhandler.md | 0 .../puppeteer.customqueryhandler.queryall.md | 0 .../puppeteer.customqueryhandler.queryone.md | 0 .../api/puppeteer.customqueryhandlernames.md | 6 +- ...r.default_intercept_resolution_priority.md | 0 .../api/puppeteer.defaultargs.md | 0 .../version-19.0.0/api/puppeteer.device.md | 18 + .../api/puppeteer.device.useragent.md | 0 .../api/puppeteer.device.viewport.md | 13 + .../version-19.0.0/api/puppeteer.devices.md | 134 ++++++ .../api/puppeteer.dialog.accept.md | 0 .../api/puppeteer.dialog.defaultvalue.md | 0 .../api/puppeteer.dialog.dismiss.md | 0 .../api/puppeteer.dialog.md | 0 .../api/puppeteer.dialog.message.md | 0 .../api/puppeteer.dialog.type.md | 0 .../api/puppeteer.elementhandle._.md | 0 .../api/puppeteer.elementhandle.__.md | 0 .../api/puppeteer.elementhandle.__eval.md | 0 .../api/puppeteer.elementhandle._eval.md | 0 .../api/puppeteer.elementhandle._x.md | 0 .../api/puppeteer.elementhandle.aselement.md | 0 .../puppeteer.elementhandle.boundingbox.md | 0 .../api/puppeteer.elementhandle.boxmodel.md | 0 .../api/puppeteer.elementhandle.click.md | 0 .../puppeteer.elementhandle.clickablepoint.md | 0 .../puppeteer.elementhandle.contentframe.md | 0 .../api/puppeteer.elementhandle.drag.md | 0 .../puppeteer.elementhandle.draganddrop.md | 0 .../api/puppeteer.elementhandle.dragenter.md | 0 .../api/puppeteer.elementhandle.dragover.md | 0 .../api/puppeteer.elementhandle.drop.md | 0 .../api/puppeteer.elementhandle.focus.md | 0 .../api/puppeteer.elementhandle.frame.md | 0 .../api/puppeteer.elementhandle.hover.md | 0 ...er.elementhandle.isintersectingviewport.md | 0 .../api/puppeteer.elementhandle.md | 0 .../api/puppeteer.elementhandle.press.md | 0 .../api/puppeteer.elementhandle.screenshot.md | 0 .../api/puppeteer.elementhandle.select.md | 0 .../api/puppeteer.elementhandle.tap.md | 0 .../api/puppeteer.elementhandle.type.md | 0 .../api/puppeteer.elementhandle.uploadfile.md | 0 ...puppeteer.elementhandle.waitforselector.md | 0 .../puppeteer.elementhandle.waitforxpath.md | 0 .../api/puppeteer.errorcode.md | 0 .../version-19.0.0/api/puppeteer.errors.md | 33 ++ .../api/puppeteer.evaluatefunc.md | 0 .../api/puppeteer.evaluation_script_url.md | 0 .../api/puppeteer.eventemitter.addlistener.md | 0 .../api/puppeteer.eventemitter.emit.md | 0 .../puppeteer.eventemitter.listenercount.md | 0 .../api/puppeteer.eventemitter.md | 0 .../api/puppeteer.eventemitter.off.md | 0 .../api/puppeteer.eventemitter.on.md | 0 .../api/puppeteer.eventemitter.once.md | 0 ...ppeteer.eventemitter.removealllisteners.md | 0 .../puppeteer.eventemitter.removelistener.md | 0 .../api/puppeteer.eventtype.md | 0 .../api/puppeteer.executablepath.md | 0 .../api/puppeteer.filechooser.accept.md | 0 .../api/puppeteer.filechooser.cancel.md | 0 .../api/puppeteer.filechooser.ismultiple.md | 0 .../api/puppeteer.filechooser.md | 0 .../api/puppeteer.flattenhandle.md | 0 .../api/puppeteer.frame._.md | 0 .../api/puppeteer.frame.__.md | 0 .../api/puppeteer.frame.__eval.md | 0 .../api/puppeteer.frame._eval.md | 0 .../api/puppeteer.frame._x.md | 0 .../api/puppeteer.frame.addscripttag.md | 0 .../api/puppeteer.frame.addstyletag.md | 0 .../api/puppeteer.frame.addstyletag_1.md | 0 .../api/puppeteer.frame.childframes.md | 0 .../api/puppeteer.frame.click.md | 0 .../api/puppeteer.frame.content.md | 0 .../api/puppeteer.frame.evaluate.md | 0 .../api/puppeteer.frame.evaluatehandle.md | 0 .../api/puppeteer.frame.focus.md | 0 .../api/puppeteer.frame.goto.md | 0 .../api/puppeteer.frame.hover.md | 0 .../api/puppeteer.frame.isdetached.md | 0 .../api/puppeteer.frame.isoopframe.md | 0 .../api/puppeteer.frame.md | 0 .../api/puppeteer.frame.name.md | 0 .../api/puppeteer.frame.page.md | 0 .../api/puppeteer.frame.parentframe.md | 0 .../api/puppeteer.frame.select.md | 0 .../api/puppeteer.frame.setcontent.md | 0 .../api/puppeteer.frame.tap.md | 0 .../api/puppeteer.frame.title.md | 0 .../api/puppeteer.frame.type.md | 0 .../api/puppeteer.frame.url.md | 0 .../api/puppeteer.frame.waitforfunction.md | 0 .../api/puppeteer.frame.waitfornavigation.md | 0 .../api/puppeteer.frame.waitforselector.md | 0 .../api/puppeteer.frame.waitfortimeout.md | 0 .../api/puppeteer.frame.waitforxpath.md | 0 ...peteer.frameaddscripttagoptions.content.md | 0 .../puppeteer.frameaddscripttagoptions.id.md | 0 .../api/puppeteer.frameaddscripttagoptions.md | 0 ...puppeteer.frameaddscripttagoptions.path.md | 0 ...puppeteer.frameaddscripttagoptions.type.md | 0 .../puppeteer.frameaddscripttagoptions.url.md | 0 ...ppeteer.frameaddstyletagoptions.content.md | 0 .../api/puppeteer.frameaddstyletagoptions.md | 0 .../puppeteer.frameaddstyletagoptions.path.md | 0 .../puppeteer.frameaddstyletagoptions.url.md | 0 .../puppeteer.framewaitforfunctionoptions.md | 0 ...eer.framewaitforfunctionoptions.polling.md | 0 ...eer.framewaitforfunctionoptions.timeout.md | 0 .../puppeteer.geolocationoptions.accuracy.md | 0 .../puppeteer.geolocationoptions.latitude.md | 0 .../puppeteer.geolocationoptions.longitude.md | 0 .../api/puppeteer.geolocationoptions.md | 0 .../api/puppeteer.handlefor.md | 0 .../api/puppeteer.handleor.md | 0 .../api/puppeteer.handler.md | 0 .../api/puppeteer.httprequest.abort.md | 0 .../puppeteer.httprequest.aborterrorreason.md | 0 .../api/puppeteer.httprequest.client.md | 0 .../api/puppeteer.httprequest.continue.md | 0 ...er.httprequest.continuerequestoverrides.md | 0 ...teer.httprequest.enqueueinterceptaction.md | 0 .../api/puppeteer.httprequest.failure.md | 0 ...eteer.httprequest.finalizeinterceptions.md | 0 .../api/puppeteer.httprequest.frame.md | 0 .../api/puppeteer.httprequest.headers.md | 0 .../api/puppeteer.httprequest.initiator.md | 0 ...er.httprequest.interceptresolutionstate.md | 0 ...ttprequest.isinterceptresolutionhandled.md | 0 ...ppeteer.httprequest.isnavigationrequest.md | 0 .../api/puppeteer.httprequest.md | 0 .../api/puppeteer.httprequest.method.md | 0 .../api/puppeteer.httprequest.postdata.md | 0 .../puppeteer.httprequest.redirectchain.md | 0 .../api/puppeteer.httprequest.resourcetype.md | 0 .../api/puppeteer.httprequest.respond.md | 0 .../api/puppeteer.httprequest.response.md | 0 ...uppeteer.httprequest.responseforrequest.md | 0 .../api/puppeteer.httprequest.url.md | 0 .../api/puppeteer.httpresponse.buffer.md | 0 .../api/puppeteer.httpresponse.frame.md | 0 .../api/puppeteer.httpresponse.fromcache.md | 0 ...uppeteer.httpresponse.fromserviceworker.md | 0 .../api/puppeteer.httpresponse.headers.md | 0 .../api/puppeteer.httpresponse.json.md | 0 .../api/puppeteer.httpresponse.md | 0 .../api/puppeteer.httpresponse.ok.md | 0 .../puppeteer.httpresponse.remoteaddress.md | 0 .../api/puppeteer.httpresponse.request.md | 0 .../puppeteer.httpresponse.securitydetails.md | 0 .../api/puppeteer.httpresponse.status.md | 0 .../api/puppeteer.httpresponse.statustext.md | 0 .../api/puppeteer.httpresponse.text.md | 0 .../api/puppeteer.httpresponse.timing.md | 0 .../api/puppeteer.httpresponse.url.md | 0 .../api/puppeteer.innerparams.md | 0 .../puppeteer.interceptresolutionaction.md | 0 ...ppeteer.interceptresolutionstate.action.md | 0 .../api/puppeteer.interceptresolutionstate.md | 0 ...eteer.interceptresolutionstate.priority.md | 0 .../puppeteer.interceptresolutionstrategy.md | 0 .../puppeteer.internalnetworkconditions.md | 0 ...eteer.internalnetworkconditions.offline.md | 0 .../api/puppeteer.jscoverage._constructor_.md | 0 .../api/puppeteer.jscoverage.md | 0 .../api/puppeteer.jscoverage.start.md | 7 +- .../api/puppeteer.jscoverage.stop.md | 0 .../api/puppeteer.jscoverageentry.md | 0 ...eteer.jscoverageentry.rawscriptcoverage.md | 0 ...overageoptions.includerawscriptcoverage.md | 0 .../api/puppeteer.jscoverageoptions.md | 11 +- ...scoverageoptions.reportanonymousscripts.md | 0 ...eer.jscoverageoptions.resetonnavigation.md | 0 ...teer.jscoverageoptions.useblockcoverage.md | 15 + .../puppeteer.jshandle.___jshandlesymbol_.md | 0 .../api/puppeteer.jshandle.aselement.md | 0 .../api/puppeteer.jshandle.dispose.md | 0 .../api/puppeteer.jshandle.evaluate.md | 0 .../api/puppeteer.jshandle.evaluatehandle.md | 0 .../api/puppeteer.jshandle.getproperties.md | 0 .../api/puppeteer.jshandle.getproperty.md | 0 .../api/puppeteer.jshandle.getproperty_1.md | 0 .../api/puppeteer.jshandle.jsonvalue.md | 0 .../api/puppeteer.jshandle.md | 0 .../api/puppeteer.jshandle.remoteobject.md | 0 .../api/puppeteer.jshandle.tostring.md | 0 .../api/puppeteer.keyboard.down.md | 0 .../api/puppeteer.keyboard.md | 2 +- .../api/puppeteer.keyboard.press.md | 0 .../api/puppeteer.keyboard.sendcharacter.md | 0 .../api/puppeteer.keyboard.type.md | 0 .../api/puppeteer.keyboard.up.md | 0 .../api/puppeteer.keyinput.md | 0 .../api/puppeteer.knowndevices.md | 148 +++++++ .../api/puppeteer.launch.md | 0 .../api/puppeteer.launchoptions.channel.md | 0 .../api/puppeteer.launchoptions.dumpio.md | 0 .../api/puppeteer.launchoptions.env.md | 0 .../puppeteer.launchoptions.executablepath.md | 0 ...ppeteer.launchoptions.extraprefsfirefox.md | 0 .../puppeteer.launchoptions.handlesighup.md | 0 .../puppeteer.launchoptions.handlesigint.md | 0 .../puppeteer.launchoptions.handlesigterm.md | 0 ...ppeteer.launchoptions.ignoredefaultargs.md | 0 .../api/puppeteer.launchoptions.md | 0 .../api/puppeteer.launchoptions.pipe.md | 0 .../api/puppeteer.launchoptions.product.md | 0 .../api/puppeteer.launchoptions.timeout.md | 0 ...peteer.launchoptions.waitforinitialpage.md | 0 .../api/puppeteer.lowercasepaperformat.md | 0 .../api/puppeteer.mediafeature.md | 0 .../api/puppeteer.mediafeature.name.md | 0 .../api/puppeteer.mediafeature.value.md | 0 .../api/puppeteer.metrics.documents.md | 0 .../api/puppeteer.metrics.frames.md | 0 .../api/puppeteer.metrics.jseventlisteners.md | 0 .../api/puppeteer.metrics.jsheaptotalsize.md | 0 .../api/puppeteer.metrics.jsheapusedsize.md | 0 .../api/puppeteer.metrics.layoutcount.md | 0 .../api/puppeteer.metrics.layoutduration.md | 0 .../api/puppeteer.metrics.md | 0 .../api/puppeteer.metrics.nodes.md | 0 .../api/puppeteer.metrics.recalcstylecount.md | 0 .../puppeteer.metrics.recalcstyleduration.md | 0 .../api/puppeteer.metrics.scriptduration.md | 0 .../api/puppeteer.metrics.taskduration.md | 0 .../api/puppeteer.metrics.timestamp.md | 0 .../api/puppeteer.mouse.click.md | 0 .../api/puppeteer.mouse.down.md | 0 .../api/puppeteer.mouse.drag.md | 0 .../api/puppeteer.mouse.draganddrop.md | 0 .../api/puppeteer.mouse.dragenter.md | 0 .../api/puppeteer.mouse.dragover.md | 0 .../api/puppeteer.mouse.drop.md | 0 .../api/puppeteer.mouse.md | 0 .../api/puppeteer.mouse.move.md | 0 .../api/puppeteer.mouse.up.md | 0 .../api/puppeteer.mouse.wheel.md | 0 .../api/puppeteer.mousebutton.md | 0 .../api/puppeteer.mouseoptions.button.md | 0 .../api/puppeteer.mouseoptions.clickcount.md | 0 .../api/puppeteer.mouseoptions.md | 0 .../api/puppeteer.mousewheeloptions.deltax.md | 0 .../api/puppeteer.mousewheeloptions.deltay.md | 0 .../api/puppeteer.mousewheeloptions.md | 0 .../puppeteer.networkconditions.download.md | 0 .../puppeteer.networkconditions.latency.md | 0 .../api/puppeteer.networkconditions.md | 18 + .../api/puppeteer.networkconditions.upload.md | 0 .../api/puppeteer.nodefor.md | 0 .../api/puppeteer.offset.md | 0 .../api/puppeteer.offset.x.md | 0 .../api/puppeteer.offset.y.md | 0 .../api/puppeteer.page._.md | 0 .../api/puppeteer.page.__.md | 0 .../api/puppeteer.page.__eval.md | 0 .../api/puppeteer.page._eval.md | 0 .../api/puppeteer.page._x.md | 0 .../api/puppeteer.page.accessibility.md | 0 .../api/puppeteer.page.addscripttag.md | 0 .../api/puppeteer.page.addstyletag.md | 0 .../api/puppeteer.page.addstyletag_1.md | 0 .../api/puppeteer.page.addstyletag_2.md | 0 .../api/puppeteer.page.authenticate.md | 0 .../api/puppeteer.page.bringtofront.md | 0 .../api/puppeteer.page.browser.md | 0 .../api/puppeteer.page.browsercontext.md | 0 .../api/puppeteer.page.click.md | 0 .../api/puppeteer.page.close.md | 0 .../api/puppeteer.page.content.md | 0 .../api/puppeteer.page.cookies.md | 0 .../api/puppeteer.page.coverage.md | 0 .../api/puppeteer.page.createpdfstream.md | 0 .../api/puppeteer.page.deletecookie.md | 0 .../api/puppeteer.page.emulate.md | 47 ++ .../puppeteer.page.emulatecputhrottling.md | 0 .../api/puppeteer.page.emulateidlestate.md | 0 .../puppeteer.page.emulatemediafeatures.md | 0 .../api/puppeteer.page.emulatemediatype.md | 0 ...puppeteer.page.emulatenetworkconditions.md | 12 +- .../api/puppeteer.page.emulatetimezone.md | 0 .../puppeteer.page.emulatevisiondeficiency.md | 0 .../api/puppeteer.page.evaluate.md | 0 .../api/puppeteer.page.evaluatehandle.md | 0 .../puppeteer.page.evaluateonnewdocument.md | 0 .../api/puppeteer.page.exposefunction.md | 0 .../api/puppeteer.page.focus.md | 0 .../api/puppeteer.page.frames.md | 0 .../api/puppeteer.page.getdefaulttimeout.md | 0 .../api/puppeteer.page.goback.md | 0 .../api/puppeteer.page.goforward.md | 0 .../api/puppeteer.page.goto.md | 0 .../api/puppeteer.page.hover.md | 0 .../api/puppeteer.page.isclosed.md | 0 ...uppeteer.page.isdraginterceptionenabled.md | 0 .../api/puppeteer.page.isjavascriptenabled.md | 0 .../api/puppeteer.page.keyboard.md | 0 .../api/puppeteer.page.mainframe.md | 0 .../api/puppeteer.page.md | 6 +- .../api/puppeteer.page.metrics.md | 0 .../api/puppeteer.page.mouse.md | 0 .../api/puppeteer.page.off.md | 0 .../api/puppeteer.page.on.md | 0 .../api/puppeteer.page.once.md | 0 .../api/puppeteer.page.pdf.md | 0 .../api/puppeteer.page.queryobjects.md | 0 .../api/puppeteer.page.reload.md | 0 .../api/puppeteer.page.screenshot.md | 0 .../api/puppeteer.page.select.md | 0 .../api/puppeteer.page.setbypasscsp.md | 0 .../api/puppeteer.page.setcacheenabled.md | 0 .../api/puppeteer.page.setcontent.md | 0 .../api/puppeteer.page.setcookie.md | 0 ...peteer.page.setdefaultnavigationtimeout.md | 0 .../api/puppeteer.page.setdefaulttimeout.md | 0 .../api/puppeteer.page.setdraginterception.md | 0 .../api/puppeteer.page.setextrahttpheaders.md | 0 .../api/puppeteer.page.setgeolocation.md | 0 .../puppeteer.page.setjavascriptenabled.md | 0 .../api/puppeteer.page.setofflinemode.md | 8 +- .../puppeteer.page.setrequestinterception.md | 0 .../api/puppeteer.page.setuseragent.md | 0 .../api/puppeteer.page.setviewport.md | 0 .../api/puppeteer.page.tap.md | 0 .../api/puppeteer.page.target.md | 0 .../api/puppeteer.page.title.md | 0 .../api/puppeteer.page.touchscreen.md | 0 .../api/puppeteer.page.tracing.md | 0 .../api/puppeteer.page.type.md | 0 .../api/puppeteer.page.url.md | 0 .../api/puppeteer.page.viewport.md | 0 .../api/puppeteer.page.waitforfilechooser.md | 0 .../api/puppeteer.page.waitforframe.md | 0 .../api/puppeteer.page.waitforfunction.md | 0 .../api/puppeteer.page.waitfornavigation.md | 0 .../api/puppeteer.page.waitfornetworkidle.md | 0 .../api/puppeteer.page.waitforrequest.md | 0 .../api/puppeteer.page.waitforresponse.md | 0 .../api/puppeteer.page.waitforselector.md | 0 .../api/puppeteer.page.waitfortimeout.md | 0 .../api/puppeteer.page.waitforxpath.md | 0 .../api/puppeteer.page.workers.md | 0 .../api/puppeteer.pageemittedevents.md | 0 .../api/puppeteer.pageeventobject.close.md | 0 .../api/puppeteer.pageeventobject.console.md | 0 .../api/puppeteer.pageeventobject.dialog.md | 0 ...peteer.pageeventobject.domcontentloaded.md | 0 .../api/puppeteer.pageeventobject.error.md | 0 ...puppeteer.pageeventobject.frameattached.md | 0 ...puppeteer.pageeventobject.framedetached.md | 0 ...uppeteer.pageeventobject.framenavigated.md | 0 .../api/puppeteer.pageeventobject.load.md | 0 .../api/puppeteer.pageeventobject.md | 0 .../api/puppeteer.pageeventobject.metrics.md | 0 .../puppeteer.pageeventobject.pageerror.md | 0 .../api/puppeteer.pageeventobject.popup.md | 0 .../api/puppeteer.pageeventobject.request.md | 0 ...puppeteer.pageeventobject.requestfailed.md | 0 ...ppeteer.pageeventobject.requestfinished.md | 0 ....pageeventobject.requestservedfromcache.md | 0 .../api/puppeteer.pageeventobject.response.md | 0 ...puppeteer.pageeventobject.workercreated.md | 0 ...ppeteer.pageeventobject.workerdestroyed.md | 0 .../api/puppeteer.paperformat.md | 0 .../api/puppeteer.pdfmargin.bottom.md | 0 .../api/puppeteer.pdfmargin.left.md | 0 .../api/puppeteer.pdfmargin.md | 0 .../api/puppeteer.pdfmargin.right.md | 0 .../api/puppeteer.pdfmargin.top.md | 0 ...uppeteer.pdfoptions.displayheaderfooter.md | 0 .../puppeteer.pdfoptions.footertemplate.md | 0 .../api/puppeteer.pdfoptions.format.md | 0 .../puppeteer.pdfoptions.headertemplate.md | 0 .../api/puppeteer.pdfoptions.height.md | 0 .../api/puppeteer.pdfoptions.landscape.md | 0 .../api/puppeteer.pdfoptions.margin.md | 0 .../api/puppeteer.pdfoptions.md | 0 .../puppeteer.pdfoptions.omitbackground.md | 0 .../api/puppeteer.pdfoptions.pageranges.md | 0 .../api/puppeteer.pdfoptions.path.md | 0 .../puppeteer.pdfoptions.prefercsspagesize.md | 0 .../puppeteer.pdfoptions.printbackground.md | 0 .../api/puppeteer.pdfoptions.scale.md | 0 .../api/puppeteer.pdfoptions.timeout.md | 0 .../api/puppeteer.pdfoptions.width.md | 0 .../api/puppeteer.permission.md | 0 .../api/puppeteer.platform.md | 0 .../api/puppeteer.point.md | 0 .../api/puppeteer.point.x.md | 0 .../api/puppeteer.point.y.md | 0 .../puppeteer.predefinednetworkconditions.md | 32 ++ .../api/puppeteer.pressoptions.delay.md | 0 .../api/puppeteer.pressoptions.md | 0 .../api/puppeteer.pressoptions.text.md | 0 .../api/puppeteer.product.md | 0 .../puppeteer.productlauncher.defaultargs.md | 0 ...uppeteer.productlauncher.executablepath.md | 0 .../api/puppeteer.productlauncher.launch.md | 0 .../api/puppeteer.productlauncher.md | 0 .../api/puppeteer.productlauncher.product.md | 0 .../api/puppeteer.protocolerror.code.md | 2 +- .../api/puppeteer.protocolerror.md | 8 +- ...puppeteer.protocolerror.originalmessage.md | 2 +- .../api/puppeteer.protocollifecycleevent.md | 0 ...teer.puppeteer.clearcustomqueryhandlers.md | 12 +- .../api/puppeteer.puppeteer.connect.md | 0 ...eteer.puppeteer.customqueryhandlernames.md | 12 +- .../version-19.0.0/api/puppeteer.puppeteer.md | 29 ++ ...er.puppeteer.registercustomqueryhandler.md | 40 ++ ....puppeteer.unregistercustomqueryhandler.md | 12 +- .../api/puppeteer.puppeteererrors.md | 4 + ...puppeteer.puppeteererrors.protocolerror.md | 0 .../puppeteer.puppeteererrors.timeouterror.md | 0 ...uppeteerlaunchoptions.extraprefsfirefox.md | 0 .../api/puppeteer.puppeteerlaunchoptions.md | 0 ...uppeteer.puppeteerlaunchoptions.product.md | 0 .../api/puppeteer.puppeteerlifecycleevent.md | 0 .../api/puppeteer.puppeteernode.connect.md | 0 ...teer.puppeteernode.createbrowserfetcher.md | 4 + .../puppeteer.puppeteernode.defaultargs.md | 0 .../puppeteer.puppeteernode.executablepath.md | 0 .../api/puppeteer.puppeteernode.launch.md | 0 .../api/puppeteer.puppeteernode.md | 0 .../api/puppeteer.puppeteernode.product.md | 0 .../puppeteer.puppeteernodelaunchoptions.md | 0 .../puppeteer.registercustomqueryhandler.md | 29 ++ .../api/puppeteer.remoteaddress.ip.md | 0 .../api/puppeteer.remoteaddress.md | 0 .../api/puppeteer.remoteaddress.port.md | 0 .../api/puppeteer.resourcetype.md | 0 .../api/puppeteer.responseforrequest.body.md | 0 ...uppeteer.responseforrequest.contenttype.md | 0 .../puppeteer.responseforrequest.headers.md | 0 .../api/puppeteer.responseforrequest.md | 0 .../puppeteer.responseforrequest.status.md | 0 .../api/puppeteer.screenshotclip.height.md | 0 .../api/puppeteer.screenshotclip.md | 0 .../api/puppeteer.screenshotclip.scale.md | 0 .../api/puppeteer.screenshotclip.width.md | 0 .../api/puppeteer.screenshotclip.x.md | 0 .../api/puppeteer.screenshotclip.y.md | 0 ...screenshotoptions.capturebeyondviewport.md | 0 .../api/puppeteer.screenshotoptions.clip.md | 0 .../puppeteer.screenshotoptions.encoding.md | 0 ...puppeteer.screenshotoptions.fromsurface.md | 0 .../puppeteer.screenshotoptions.fullpage.md | 0 .../api/puppeteer.screenshotoptions.md | 0 ...peteer.screenshotoptions.omitbackground.md | 0 .../api/puppeteer.screenshotoptions.path.md | 0 .../puppeteer.screenshotoptions.quality.md | 0 .../api/puppeteer.screenshotoptions.type.md | 0 .../api/puppeteer.securitydetails.issuer.md | 0 .../api/puppeteer.securitydetails.md | 0 .../api/puppeteer.securitydetails.protocol.md | 0 ...securitydetails.subjectalternativenames.md | 0 .../puppeteer.securitydetails.subjectname.md | 0 .../puppeteer.securitydetails.validfrom.md | 0 .../api/puppeteer.securitydetails.validto.md | 0 ...puppeteer.serializedaxnode.autocomplete.md | 0 .../api/puppeteer.serializedaxnode.checked.md | 0 .../puppeteer.serializedaxnode.children.md | 0 .../puppeteer.serializedaxnode.description.md | 0 .../puppeteer.serializedaxnode.disabled.md | 0 .../puppeteer.serializedaxnode.expanded.md | 0 .../api/puppeteer.serializedaxnode.focused.md | 0 .../puppeteer.serializedaxnode.haspopup.md | 0 .../api/puppeteer.serializedaxnode.invalid.md | 0 ...puppeteer.serializedaxnode.keyshortcuts.md | 0 .../api/puppeteer.serializedaxnode.level.md | 0 .../api/puppeteer.serializedaxnode.md | 0 .../api/puppeteer.serializedaxnode.modal.md | 0 .../puppeteer.serializedaxnode.multiline.md | 0 ...peteer.serializedaxnode.multiselectable.md | 0 .../api/puppeteer.serializedaxnode.name.md | 0 .../puppeteer.serializedaxnode.orientation.md | 0 .../api/puppeteer.serializedaxnode.pressed.md | 0 .../puppeteer.serializedaxnode.readonly.md | 0 .../puppeteer.serializedaxnode.required.md | 0 .../api/puppeteer.serializedaxnode.role.md | 0 ...peteer.serializedaxnode.roledescription.md | 0 .../puppeteer.serializedaxnode.selected.md | 0 .../api/puppeteer.serializedaxnode.value.md | 0 .../puppeteer.serializedaxnode.valuemax.md | 0 .../puppeteer.serializedaxnode.valuemin.md | 0 .../puppeteer.serializedaxnode.valuetext.md | 0 ...ppeteer.snapshotoptions.interestingonly.md | 0 .../api/puppeteer.snapshotoptions.md | 0 .../api/puppeteer.snapshotoptions.root.md | 0 .../api/puppeteer.target.browser.md | 0 .../api/puppeteer.target.browsercontext.md | 0 .../api/puppeteer.target.createcdpsession.md | 0 .../api/puppeteer.target.md | 0 .../api/puppeteer.target.opener.md | 0 .../api/puppeteer.target.page.md | 0 .../api/puppeteer.target.type.md | 0 .../api/puppeteer.target.url.md | 0 .../api/puppeteer.target.worker.md | 0 .../api/puppeteer.targetfiltercallback.md | 0 .../api/puppeteer.timeouterror.md | 0 .../api/puppeteer.touchscreen.md | 0 .../api/puppeteer.touchscreen.tap.md | 0 .../api/puppeteer.tracing.md | 0 .../api/puppeteer.tracing.start.md | 0 .../api/puppeteer.tracing.stop.md | 0 .../puppeteer.tracingoptions.categories.md | 0 .../api/puppeteer.tracingoptions.md | 0 .../api/puppeteer.tracingoptions.path.md | 0 .../puppeteer.tracingoptions.screenshots.md | 0 .../puppeteer.unregistercustomqueryhandler.md | 25 ++ .../puppeteer.viewport.devicescalefactor.md | 0 .../api/puppeteer.viewport.hastouch.md | 0 .../api/puppeteer.viewport.height.md | 0 .../api/puppeteer.viewport.islandscape.md | 0 .../api/puppeteer.viewport.ismobile.md | 0 .../api/puppeteer.viewport.md | 0 .../api/puppeteer.viewport.width.md | 0 .../api/puppeteer.waitforoptions.md | 0 .../api/puppeteer.waitforoptions.timeout.md | 0 .../api/puppeteer.waitforoptions.waituntil.md | 0 ...puppeteer.waitforselectoroptions.hidden.md | 0 .../api/puppeteer.waitforselectoroptions.md | 0 ...uppeteer.waitforselectoroptions.timeout.md | 0 ...uppeteer.waitforselectoroptions.visible.md | 0 .../api/puppeteer.waitfortargetoptions.md | 0 .../puppeteer.waitfortargetoptions.timeout.md | 0 .../api/puppeteer.waittimeoutoptions.md | 0 .../puppeteer.waittimeoutoptions.timeout.md | 0 .../api/puppeteer.webworker.evaluate.md | 0 .../api/puppeteer.webworker.evaluatehandle.md | 0 .../api/puppeteer.webworker.md | 0 .../api/puppeteer.webworker.url.md | 0 .../assets/overview.png | Bin .../assets/overview.svg | 0 .../chromium-support.md | 0 .../contributing.md | 206 ++++----- .../{version-18.2.1 => version-19.0.0}/faq.md | 0 .../guides/chrome-extensions.md | 44 ++ .../version-19.0.0/guides/debugging.md | 122 +++++ .../version-19.0.0/guides/docker.md | 22 + .../guides/index.md | 0 .../guides/request-interception.md | 0 .../versioned_docs/version-19.0.0/index.md | 175 ++++++++ .../troubleshooting.md | 0 ...bars.json => version-19.0.0-sidebars.json} | 0 website/versions.json | 2 +- website/versionsArchived.json | 1 + 741 files changed, 1259 insertions(+), 1129 deletions(-) delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.clearcustomqueryhandlers.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.connect.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.customerror._constructor_.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.customerror.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.device.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.device.name.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.device.viewport.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.devices.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.devicesmap.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.errors.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.page.emulate.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.devices.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.errors.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.networkconditions.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.registercustomqueryhandler.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.registercustomqueryhandler.md delete mode 100644 website/versioned_docs/version-18.2.1/api/puppeteer.unregistercustomqueryhandler.md delete mode 100644 website/versioned_docs/version-18.2.1/index.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/index.md (92%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.accessibility.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.accessibility.snapshot.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.actionresult.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.awaitable.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boundingbox.height.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boundingbox.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boundingbox.width.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.border.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.content.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.height.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.margin.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.padding.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.boxmodel.width.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.browsercontexts.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.close.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.createincognitobrowsercontext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.defaultbrowsercontext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.disconnect.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.isconnected.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.newpage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.pages.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.process.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.target.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.targets.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.useragent.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.version.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.waitfortarget.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browser.wsendpoint.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserconnectoptions.defaultviewport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserconnectoptions.ignorehttpserrors.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserconnectoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserconnectoptions.slowmo.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserconnectoptions.targetfilter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.browser.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.clearpermissionoverrides.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.close.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.isincognito.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.newpage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.overridepermissions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.pages.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.targets.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontext.waitfortarget.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontextemittedevents.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontextoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontextoptions.proxybypasslist.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browsercontextoptions.proxyserver.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browseremittedevents.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher._constructor_.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.candownload.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.download.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.host.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.localrevisions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.md (75%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.platform.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.remove.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcher.revisioninfo.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcheroptions.host.md (75%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcheroptions.md (59%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcheroptions.path.md (79%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcheroptions.platform.md (76%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcheroptions.product.md (58%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.executablepath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.folderpath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.local.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.revision.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserfetcherrevisioninfo.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserlaunchargumentoptions.args.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserlaunchargumentoptions.debuggingport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserlaunchargumentoptions.devtools.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserlaunchargumentoptions.headless.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserlaunchargumentoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.browserlaunchargumentoptions.userdatadir.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsession.connection.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsession.detach.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsession.id.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsession.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsession.send.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsessiononmessageobject.error.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsessiononmessageobject.id.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsessiononmessageobject.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsessiononmessageobject.method.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsessiononmessageobject.params.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.cdpsessiononmessageobject.result.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.chromereleasechannel.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.clearcustomqueryhandlers.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.clickoptions.button.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.clickoptions.clickcount.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.clickoptions.delay.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.clickoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.clickoptions.offset.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.addlistener.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.emit.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.listenercount.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.off.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.on.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.once.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.removealllisteners.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.commoneventemitter.removelistener.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.connect.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection._constructor_.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.createsession.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.dispose.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.fromsession.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.send.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.session.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connection.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectioncallback.error.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectioncallback.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectioncallback.method.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectioncallback.reject.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectioncallback.resolve.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectiontransport.close.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectiontransport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectiontransport.onclose.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectiontransport.onmessage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectiontransport.send.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectoptions.browserurl.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectoptions.browserwsendpoint.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.connectoptions.transport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage._constructor_.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage.args.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage.location.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage.stacktrace.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage.text.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessage.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessagelocation.columnnumber.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessagelocation.linenumber.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessagelocation.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessagelocation.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.consolemessagetype.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.continuerequestoverrides.headers.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.continuerequestoverrides.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.continuerequestoverrides.method.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.continuerequestoverrides.postdata.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.continuerequestoverrides.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverage._constructor_.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverage.startcsscoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverage.startjscoverage.md (81%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverage.stopcsscoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverage.stopjscoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverageentry.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverageentry.ranges.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverageentry.text.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.coverageentry.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.createbrowserfetcher.md (69%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.credentials.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.credentials.password.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.credentials.username.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.csscoverage._constructor_.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.csscoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.csscoverage.start.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.csscoverage.stop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.csscoverageoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.csscoverageoptions.resetonnavigation.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.customerror.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.customqueryhandler.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.customqueryhandler.queryall.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.customqueryhandler.queryone.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.customqueryhandlernames.md (50%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.default_intercept_resolution_priority.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.defaultargs.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.device.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.device.useragent.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.device.viewport.md create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.devices.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.dialog.accept.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.dialog.defaultvalue.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.dialog.dismiss.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.dialog.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.dialog.message.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.dialog.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle._.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.__.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.__eval.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle._eval.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle._x.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.aselement.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.boundingbox.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.boxmodel.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.click.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.clickablepoint.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.contentframe.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.drag.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.draganddrop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.dragenter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.dragover.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.drop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.focus.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.frame.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.hover.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.isintersectingviewport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.press.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.screenshot.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.select.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.tap.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.uploadfile.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.waitforselector.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.elementhandle.waitforxpath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.errorcode.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.errors.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.evaluatefunc.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.evaluation_script_url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.addlistener.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.emit.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.listenercount.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.off.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.on.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.once.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.removealllisteners.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventemitter.removelistener.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.eventtype.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.executablepath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.filechooser.accept.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.filechooser.cancel.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.filechooser.ismultiple.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.filechooser.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.flattenhandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame._.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.__.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.__eval.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame._eval.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame._x.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.addscripttag.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.addstyletag.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.addstyletag_1.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.childframes.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.click.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.content.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.evaluate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.evaluatehandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.focus.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.goto.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.hover.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.isdetached.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.isoopframe.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.name.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.page.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.parentframe.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.select.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.setcontent.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.tap.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.title.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.waitforfunction.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.waitfornavigation.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.waitforselector.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.waitfortimeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frame.waitforxpath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddscripttagoptions.content.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddscripttagoptions.id.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddscripttagoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddscripttagoptions.path.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddscripttagoptions.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddscripttagoptions.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddstyletagoptions.content.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddstyletagoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddstyletagoptions.path.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.frameaddstyletagoptions.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.framewaitforfunctionoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.framewaitforfunctionoptions.polling.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.framewaitforfunctionoptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.geolocationoptions.accuracy.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.geolocationoptions.latitude.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.geolocationoptions.longitude.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.geolocationoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.handlefor.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.handleor.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.handler.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.abort.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.aborterrorreason.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.client.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.continue.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.continuerequestoverrides.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.enqueueinterceptaction.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.failure.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.finalizeinterceptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.frame.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.headers.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.initiator.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.interceptresolutionstate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.isinterceptresolutionhandled.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.isnavigationrequest.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.method.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.postdata.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.redirectchain.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.resourcetype.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.respond.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.response.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.responseforrequest.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httprequest.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.buffer.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.frame.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.fromcache.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.fromserviceworker.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.headers.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.json.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.ok.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.remoteaddress.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.request.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.securitydetails.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.status.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.statustext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.text.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.timing.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.httpresponse.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.innerparams.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.interceptresolutionaction.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.interceptresolutionstate.action.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.interceptresolutionstate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.interceptresolutionstate.priority.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.interceptresolutionstrategy.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.internalnetworkconditions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.internalnetworkconditions.offline.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverage._constructor_.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverage.start.md (60%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverage.stop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverageentry.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverageentry.rawscriptcoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverageoptions.includerawscriptcoverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverageoptions.md (53%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverageoptions.reportanonymousscripts.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jscoverageoptions.resetonnavigation.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.useblockcoverage.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.___jshandlesymbol_.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.aselement.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.dispose.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.evaluate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.evaluatehandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.getproperties.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.getproperty.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.getproperty_1.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.jsonvalue.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.remoteobject.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.jshandle.tostring.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyboard.down.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyboard.md (97%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyboard.press.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyboard.sendcharacter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyboard.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyboard.up.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.keyinput.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.knowndevices.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launch.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.channel.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.dumpio.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.env.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.executablepath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.extraprefsfirefox.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.handlesighup.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.handlesigint.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.handlesigterm.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.ignoredefaultargs.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.pipe.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.launchoptions.waitforinitialpage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.lowercasepaperformat.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mediafeature.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mediafeature.name.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mediafeature.value.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.documents.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.frames.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.jseventlisteners.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.jsheaptotalsize.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.jsheapusedsize.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.layoutcount.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.layoutduration.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.nodes.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.recalcstylecount.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.recalcstyleduration.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.scriptduration.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.taskduration.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.metrics.timestamp.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.click.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.down.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.drag.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.draganddrop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.dragenter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.dragover.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.drop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.move.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.up.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouse.wheel.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mousebutton.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouseoptions.button.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouseoptions.clickcount.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mouseoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mousewheeloptions.deltax.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mousewheeloptions.deltay.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.mousewheeloptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.networkconditions.download.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.networkconditions.latency.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.networkconditions.upload.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.nodefor.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.offset.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.offset.x.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.offset.y.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page._.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.__.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.__eval.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page._eval.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page._x.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.accessibility.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.addscripttag.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.addstyletag.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.addstyletag_1.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.addstyletag_2.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.authenticate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.bringtofront.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.browser.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.browsercontext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.click.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.close.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.content.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.cookies.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.coverage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.createpdfstream.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.deletecookie.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.page.emulate.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulatecputhrottling.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulateidlestate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulatemediafeatures.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulatemediatype.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulatenetworkconditions.md (69%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulatetimezone.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.emulatevisiondeficiency.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.evaluate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.evaluatehandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.evaluateonnewdocument.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.exposefunction.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.focus.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.frames.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.getdefaulttimeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.goback.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.goforward.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.goto.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.hover.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.isclosed.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.isdraginterceptionenabled.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.isjavascriptenabled.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.keyboard.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.mainframe.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.md (98%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.metrics.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.mouse.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.off.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.on.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.once.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.pdf.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.queryobjects.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.reload.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.screenshot.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.select.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setbypasscsp.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setcacheenabled.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setcontent.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setcookie.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setdefaultnavigationtimeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setdefaulttimeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setdraginterception.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setextrahttpheaders.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setgeolocation.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setjavascriptenabled.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setofflinemode.md (68%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setrequestinterception.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setuseragent.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.setviewport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.tap.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.target.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.title.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.touchscreen.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.tracing.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.viewport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforfilechooser.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforframe.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforfunction.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitfornavigation.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitfornetworkidle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforrequest.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforresponse.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforselector.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitfortimeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.waitforxpath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.page.workers.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageemittedevents.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.close.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.console.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.dialog.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.domcontentloaded.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.error.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.frameattached.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.framedetached.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.framenavigated.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.load.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.metrics.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.pageerror.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.popup.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.request.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.requestfailed.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.requestfinished.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.requestservedfromcache.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.response.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.workercreated.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pageeventobject.workerdestroyed.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.paperformat.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfmargin.bottom.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfmargin.left.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfmargin.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfmargin.right.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfmargin.top.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.displayheaderfooter.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.footertemplate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.format.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.headertemplate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.height.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.landscape.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.margin.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.omitbackground.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.pageranges.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.path.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.prefercsspagesize.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.printbackground.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.scale.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pdfoptions.width.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.permission.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.platform.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.point.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.point.x.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.point.y.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.predefinednetworkconditions.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pressoptions.delay.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pressoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.pressoptions.text.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.productlauncher.defaultargs.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.productlauncher.executablepath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.productlauncher.launch.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.productlauncher.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.productlauncher.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.protocolerror.code.md (77%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.protocolerror.md (64%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.protocolerror.originalmessage.md (76%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.protocollifecycleevent.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteer.clearcustomqueryhandlers.md (50%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteer.connect.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteer.customqueryhandlernames.md (50%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.md create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.registercustomqueryhandler.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteer.unregistercustomqueryhandler.md (61%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteererrors.md (93%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteererrors.protocolerror.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteererrors.timeouterror.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteerlaunchoptions.extraprefsfirefox.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteerlaunchoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteerlaunchoptions.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteerlifecycleevent.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.connect.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.createbrowserfetcher.md (86%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.defaultargs.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.executablepath.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.launch.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernode.product.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.puppeteernodelaunchoptions.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.registercustomqueryhandler.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.remoteaddress.ip.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.remoteaddress.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.remoteaddress.port.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.resourcetype.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.responseforrequest.body.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.responseforrequest.contenttype.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.responseforrequest.headers.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.responseforrequest.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.responseforrequest.status.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotclip.height.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotclip.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotclip.scale.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotclip.width.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotclip.x.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotclip.y.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.capturebeyondviewport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.clip.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.encoding.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.fromsurface.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.fullpage.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.omitbackground.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.path.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.quality.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.screenshotoptions.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.issuer.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.protocol.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.subjectalternativenames.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.subjectname.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.validfrom.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.securitydetails.validto.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.autocomplete.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.checked.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.children.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.description.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.disabled.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.expanded.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.focused.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.haspopup.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.invalid.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.keyshortcuts.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.level.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.modal.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.multiline.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.multiselectable.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.name.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.orientation.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.pressed.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.readonly.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.required.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.role.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.roledescription.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.selected.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.value.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.valuemax.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.valuemin.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.serializedaxnode.valuetext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.snapshotoptions.interestingonly.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.snapshotoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.snapshotoptions.root.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.browser.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.browsercontext.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.createcdpsession.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.opener.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.page.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.type.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.target.worker.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.targetfiltercallback.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.timeouterror.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.touchscreen.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.touchscreen.tap.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracing.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracing.start.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracing.stop.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracingoptions.categories.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracingoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracingoptions.path.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.tracingoptions.screenshots.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/api/puppeteer.unregistercustomqueryhandler.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.devicescalefactor.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.hastouch.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.height.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.islandscape.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.ismobile.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.viewport.width.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforoptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforoptions.waituntil.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforselectoroptions.hidden.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforselectoroptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforselectoroptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitforselectoroptions.visible.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitfortargetoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waitfortargetoptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waittimeoutoptions.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.waittimeoutoptions.timeout.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.webworker.evaluate.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.webworker.evaluatehandle.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.webworker.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/api/puppeteer.webworker.url.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/assets/overview.png (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/assets/overview.svg (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/chromium-support.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/contributing.md (57%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/faq.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/guides/chrome-extensions.md create mode 100644 website/versioned_docs/version-19.0.0/guides/debugging.md create mode 100644 website/versioned_docs/version-19.0.0/guides/docker.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/guides/index.md (100%) rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/guides/request-interception.md (100%) create mode 100644 website/versioned_docs/version-19.0.0/index.md rename website/versioned_docs/{version-18.2.1 => version-19.0.0}/troubleshooting.md (100%) rename website/versioned_sidebars/{version-18.2.1-sidebars.json => version-19.0.0-sidebars.json} (100%) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b62c6ebc..0150d072 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { - "packages/puppeteer": "18.2.1", - "packages/puppeteer-core": "18.2.1", + "packages/puppeteer": "19.0.0", + "packages/puppeteer-core": "19.0.0", "packages/testserver": "0.6.0" } diff --git a/package-lock.json b/package-lock.json index 9d61feda..d450345b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8488,21 +8488,21 @@ } }, "packages/puppeteer": { - "version": "18.2.1", + "version": "19.0.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "18.2.1" + "puppeteer-core": "19.0.0" }, "engines": { "node": ">=14.1.0" } }, "packages/puppeteer-core": { - "version": "18.2.1", + "version": "19.0.0", "license": "Apache-2.0", "dependencies": { "cross-fetch": "3.1.5", @@ -8542,9 +8542,6 @@ "dependencies": { "glob": "8.0.3", "mocha": "10.0.0" - }, - "devDependencies": { - "cross-env": "7.0.3" } } }, @@ -9555,7 +9552,6 @@ "@puppeteer-test/installation": { "version": "file:test/installation", "requires": { - "cross-env": "7.0.3", "glob": "8.0.3", "mocha": "10.0.0" } @@ -13350,7 +13346,7 @@ "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "18.2.1" + "puppeteer-core": "19.0.0" } }, "puppeteer-core": { diff --git a/packages/puppeteer-core/CHANGELOG.md b/packages/puppeteer-core/CHANGELOG.md index fd1cf912..88db38d5 100644 --- a/packages/puppeteer-core/CHANGELOG.md +++ b/packages/puppeteer-core/CHANGELOG.md @@ -2,6 +2,33 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [19.0.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v18.2.1...puppeteer-core-v19.0.0) (2022-10-14) + + +### ⚠ BREAKING CHANGES + +* use `~/.cache/puppeteer` for browser downloads (#9095) +* deprecate `createBrowserFetcher` in favor of `BrowserFetcher` (#9079) +* refactor custom query handler API (#9078) +* remove `puppeteer.devices` in favor of `KnownDevices` (#9075) +* deprecate indirect network condition imports (#9074) +* deprecate indirect error imports (#9072) + +### Features + +* add ability to collect JS code coverage at the function level ([#9027](https://github.com/puppeteer/puppeteer/issues/9027)) ([a032583](https://github.com/puppeteer/puppeteer/commit/a032583b6c9b469bda699bca200b180206d61247)) +* deprecate `createBrowserFetcher` in favor of `BrowserFetcher` ([#9079](https://github.com/puppeteer/puppeteer/issues/9079)) ([7294dfe](https://github.com/puppeteer/puppeteer/commit/7294dfe9c6c3b224f95ba6d59b5ef33d379fd09a)), closes [#8999](https://github.com/puppeteer/puppeteer/issues/8999) +* use `~/.cache/puppeteer` for browser downloads ([#9095](https://github.com/puppeteer/puppeteer/issues/9095)) ([3df375b](https://github.com/puppeteer/puppeteer/commit/3df375baedad64b8773bb1e1e6f81b604ed18989)) + + +### Bug Fixes + +* deprecate indirect error imports ([#9072](https://github.com/puppeteer/puppeteer/issues/9072)) ([9f4f43a](https://github.com/puppeteer/puppeteer/commit/9f4f43a28b06787a1cf97efe904ccfe7237dffdd)) +* deprecate indirect network condition imports ([#9074](https://github.com/puppeteer/puppeteer/issues/9074)) ([41d0122](https://github.com/puppeteer/puppeteer/commit/41d0122b94f41b308536c48ced345dec8c272a49)) +* refactor custom query handler API ([#9078](https://github.com/puppeteer/puppeteer/issues/9078)) ([1847704](https://github.com/puppeteer/puppeteer/commit/1847704789e2888c755de8c739d567364b8ad645)) +* remove `puppeteer.devices` in favor of `KnownDevices` ([#9075](https://github.com/puppeteer/puppeteer/issues/9075)) ([87c08fd](https://github.com/puppeteer/puppeteer/commit/87c08fd86a79b63308ad8d46c5f7acd1927505f8)) +* remove viewport conditions in `waitForSelector` ([#9087](https://github.com/puppeteer/puppeteer/issues/9087)) ([acbc599](https://github.com/puppeteer/puppeteer/commit/acbc59999bf800eeac75c4045b75a32b4357c79e)) + ## [18.2.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v18.2.0...puppeteer-core-v18.2.1) (2022-10-06) diff --git a/packages/puppeteer-core/package.json b/packages/puppeteer-core/package.json index 3e63d777..96c64e36 100644 --- a/packages/puppeteer-core/package.json +++ b/packages/puppeteer-core/package.json @@ -1,6 +1,6 @@ { "name": "puppeteer-core", - "version": "18.2.1", + "version": "19.0.0", "description": "A high-level API to control headless Chrome over the DevTools Protocol", "keywords": [ "puppeteer", diff --git a/packages/puppeteer/CHANGELOG.md b/packages/puppeteer/CHANGELOG.md index a590d335..22b0c10a 100644 --- a/packages/puppeteer/CHANGELOG.md +++ b/packages/puppeteer/CHANGELOG.md @@ -2,6 +2,36 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [19.0.0](https://github.com/puppeteer/puppeteer/compare/v18.2.1...v19.0.0) (2022-10-14) + + +### ⚠ BREAKING CHANGES + +* use `~/.cache/puppeteer` for browser downloads (#9095) +* deprecate `createBrowserFetcher` in favor of `BrowserFetcher` (#9079) +* refactor custom query handler API (#9078) +* remove `puppeteer.devices` in favor of `KnownDevices` (#9075) +* deprecate indirect network condition imports (#9074) + +### Features + +* deprecate `createBrowserFetcher` in favor of `BrowserFetcher` ([#9079](https://github.com/puppeteer/puppeteer/issues/9079)) ([7294dfe](https://github.com/puppeteer/puppeteer/commit/7294dfe9c6c3b224f95ba6d59b5ef33d379fd09a)), closes [#8999](https://github.com/puppeteer/puppeteer/issues/8999) +* use `~/.cache/puppeteer` for browser downloads ([#9095](https://github.com/puppeteer/puppeteer/issues/9095)) ([3df375b](https://github.com/puppeteer/puppeteer/commit/3df375baedad64b8773bb1e1e6f81b604ed18989)) + + +### Bug Fixes + +* deprecate indirect network condition imports ([#9074](https://github.com/puppeteer/puppeteer/issues/9074)) ([41d0122](https://github.com/puppeteer/puppeteer/commit/41d0122b94f41b308536c48ced345dec8c272a49)) +* refactor custom query handler API ([#9078](https://github.com/puppeteer/puppeteer/issues/9078)) ([1847704](https://github.com/puppeteer/puppeteer/commit/1847704789e2888c755de8c739d567364b8ad645)) +* remove `puppeteer.devices` in favor of `KnownDevices` ([#9075](https://github.com/puppeteer/puppeteer/issues/9075)) ([87c08fd](https://github.com/puppeteer/puppeteer/commit/87c08fd86a79b63308ad8d46c5f7acd1927505f8)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * puppeteer-core bumped from 18.2.1 to ^19.0.0 + ## [18.2.1](https://github.com/puppeteer/puppeteer/compare/v18.2.0...v18.2.1) (2022-10-06) diff --git a/packages/puppeteer/package.json b/packages/puppeteer/package.json index 392400c5..b8b7c2a8 100644 --- a/packages/puppeteer/package.json +++ b/packages/puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "puppeteer", - "version": "18.2.1", + "version": "19.0.0", "description": "A high-level API to control headless Chrome over the DevTools Protocol", "keywords": [ "puppeteer", @@ -138,6 +138,6 @@ "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "18.2.1" + "puppeteer-core": "19.0.0" } } diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.clearcustomqueryhandlers.md b/website/versioned_docs/version-18.2.1/api/puppeteer.clearcustomqueryhandlers.md deleted file mode 100644 index 8dcf2c26..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.clearcustomqueryhandlers.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -sidebar_label: clearCustomQueryHandlers ---- - -# clearCustomQueryHandlers() function - -Clears all registered handlers. - -**Signature:** - -```typescript -export declare function clearCustomQueryHandlers(): void; -``` - -**Returns:** - -void diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connect.md b/website/versioned_docs/version-18.2.1/api/puppeteer.connect.md deleted file mode 100644 index 29453b9c..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.connect.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -sidebar_label: connect ---- - -# connect variable - -**Signature:** - -```typescript -connect: (options: import('./types').ConnectOptions) => - Promise; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.customerror._constructor_.md b/website/versioned_docs/version-18.2.1/api/puppeteer.customerror._constructor_.md deleted file mode 100644 index 6283b96d..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.customerror._constructor_.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -sidebar_label: CustomError.(constructor) ---- - -# CustomError.(constructor) - -Constructs a new instance of the `CustomError` class - -**Signature:** - -```typescript -class CustomError { - constructor(message?: string); -} -``` - -## Parameters - -| Parameter | Type | Description | -| --------- | ------ | ----------------- | -| message | string | (Optional) | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.customerror.md b/website/versioned_docs/version-18.2.1/api/puppeteer.customerror.md deleted file mode 100644 index fd30b1ed..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.customerror.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -sidebar_label: CustomError ---- - -# CustomError class - -**Signature:** - -```typescript -export declare class CustomError extends Error -``` - -**Extends:** Error - -## Constructors - -| Constructor | Modifiers | Description | -| ------------------------------------------------------------------ | --------- | --------------------------------------------------------------- | -| [(constructor)(message)](./puppeteer.customerror._constructor_.md) | | Constructs a new instance of the CustomError class | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.device.md b/website/versioned_docs/version-18.2.1/api/puppeteer.device.md deleted file mode 100644 index f284e7b0..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.device.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -sidebar_label: Device ---- - -# Device interface - -**Signature:** - -```typescript -export interface Device -``` - -## Properties - -| Property | Modifiers | Type | Description | -| -------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------- | ----------- | -| [name](./puppeteer.device.name.md) | | string | | -| [userAgent](./puppeteer.device.useragent.md) | | string | | -| [viewport](./puppeteer.device.viewport.md) | | { width: number; height: number; deviceScaleFactor: number; isMobile: boolean; hasTouch: boolean; isLandscape: boolean; } | | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.device.name.md b/website/versioned_docs/version-18.2.1/api/puppeteer.device.name.md deleted file mode 100644 index 467a6bd1..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.device.name.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -sidebar_label: Device.name ---- - -# Device.name property - -**Signature:** - -```typescript -interface Device { - name: string; -} -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.device.viewport.md b/website/versioned_docs/version-18.2.1/api/puppeteer.device.viewport.md deleted file mode 100644 index 5b3e8bd0..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.device.viewport.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -sidebar_label: Device.viewport ---- - -# Device.viewport property - -**Signature:** - -```typescript -interface Device { - viewport: { - width: number; - height: number; - deviceScaleFactor: number; - isMobile: boolean; - hasTouch: boolean; - isLandscape: boolean; - }; -} -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.devices.md b/website/versioned_docs/version-18.2.1/api/puppeteer.devices.md deleted file mode 100644 index 8b688a4f..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.devices.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -sidebar_label: devices ---- - -# devices variable - -A list of devices to be used with `page.emulate(options)`. Actual list of devices can be found in [src/common/DeviceDescriptors.ts](https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts). - -**Signature:** - -```typescript -devices: DevicesMap; -``` - -## Example - -```ts -const puppeteer = require('puppeteer'); -const iPhone = puppeteer.devices['iPhone 6']; - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.emulate(iPhone); - await page.goto('https://www.google.com'); - // other actions... - await browser.close(); -})(); -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.devicesmap.md b/website/versioned_docs/version-18.2.1/api/puppeteer.devicesmap.md deleted file mode 100644 index ec2b4a3d..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.devicesmap.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -sidebar_label: DevicesMap ---- - -# DevicesMap type - -**Signature:** - -```typescript -export declare type DevicesMap = { - [name: string]: Device; -}; -``` - -**References:** [Device](./puppeteer.device.md) diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.errors.md b/website/versioned_docs/version-18.2.1/api/puppeteer.errors.md deleted file mode 100644 index 81ddf054..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.errors.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -sidebar_label: errors ---- - -# errors variable - -Puppeteer methods might throw errors if they are unable to fulfill a request. For example, `page.waitForSelector(selector[, options])` might fail if the selector doesn't match any nodes during the given timeframe. - -For certain types of errors Puppeteer uses specific error classes. These classes are available via `puppeteer.errors`. - -**Signature:** - -```typescript -errors: PuppeteerErrors; -``` - -## Example - -An example of handling a timeout error: - -```ts -try { - await page.waitForSelector('.foo'); -} catch (e) { - if (e instanceof puppeteer.errors.TimeoutError) { - // Do something if this is a timeout. - } -} -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.md b/website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.md deleted file mode 100644 index ec4630bd..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -sidebar_label: networkConditions ---- - -# networkConditions variable - -A list of network conditions to be used with `page.emulateNetworkConditions(networkConditions)`. Actual list of predefined conditions can be found in [src/common/NetworkConditions.ts](https://github.com/puppeteer/puppeteer/blob/main/src/common/NetworkConditions.ts). - -**Signature:** - -```typescript -networkConditions: Readonly<{ - 'Slow 3G': NetworkConditions; - 'Fast 3G': NetworkConditions; -}>; -``` - -## Example - -```ts -const puppeteer = require('puppeteer'); -const slow3G = puppeteer.networkConditions['Slow 3G']; - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.emulateNetworkConditions(slow3G); - await page.goto('https://www.google.com'); - // other actions... - await browser.close(); -})(); -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulate.md b/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulate.md deleted file mode 100644 index b365ff32..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulate.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -sidebar_label: Page.emulate ---- - -# Page.emulate() method - -Emulates given device metrics and user agent. - -**Signature:** - -```typescript -class Page { - emulate(options: {viewport: Viewport; userAgent: string}): Promise; -} -``` - -## Parameters - -| Parameter | Type | Description | -| --------- | --------------------------------------------------------------------- | ----------- | -| options | { viewport: [Viewport](./puppeteer.viewport.md); userAgent: string; } | | - -**Returns:** - -Promise<void> - -## Remarks - -List of all available devices is available in the source code: [src/common/DeviceDescriptors.ts](https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts). - -## Example - -```ts -const puppeteer = require('puppeteer'); -const iPhone = puppeteer.devices['iPhone 6']; -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.emulate(iPhone); - await page.goto('https://www.google.com'); - // other actions... - await browser.close(); -})(); -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.devices.md b/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.devices.md deleted file mode 100644 index 6301dc04..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.devices.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_label: Puppeteer.devices ---- - -# Puppeteer.devices property - -> Warning: This API is now obsolete. -> -> Import directly puppeteer. - -**Signature:** - -```typescript -class Puppeteer { - get devices(): typeof devices; -} -``` - -## Example - -```ts -import {devices} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.errors.md b/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.errors.md deleted file mode 100644 index 3995d28d..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.errors.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_label: Puppeteer.errors ---- - -# Puppeteer.errors property - -> Warning: This API is now obsolete. -> -> Import directly puppeteer. - -**Signature:** - -```typescript -class Puppeteer { - get errors(): typeof errors; -} -``` - -## Example - -```ts -import {errors} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.md b/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.md deleted file mode 100644 index 0968b799..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -sidebar_label: Puppeteer ---- - -# Puppeteer class - -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). - -**Signature:** - -```typescript -export declare class Puppeteer -``` - -## Remarks - -The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Puppeteer` class. - -## Properties - -| Property | Modifiers | Type | Description | -| --------------------------------------------------------------- | --------------------- | ------------------------------------------------------------ | ----------- | -| [devices](./puppeteer.puppeteer.devices.md) | readonly | typeof [devices](./puppeteer.devices.md) | | -| [errors](./puppeteer.puppeteer.errors.md) | readonly | typeof [errors](./puppeteer.errors.md) | | -| [networkConditions](./puppeteer.puppeteer.networkconditions.md) | readonly | typeof [networkConditions](./puppeteer.networkconditions.md) | | - -## Methods - -| Method | Modifiers | Description | -| ----------------------------------------------------------------------------------------------------- | --------- | --------------------------------------------------------------- | -| [clearCustomQueryHandlers()](./puppeteer.puppeteer.clearcustomqueryhandlers.md) | | | -| [connect(options)](./puppeteer.puppeteer.connect.md) | | This method attaches Puppeteer to an existing browser instance. | -| [customQueryHandlerNames()](./puppeteer.puppeteer.customqueryhandlernames.md) | | | -| [registerCustomQueryHandler(name, queryHandler)](./puppeteer.puppeteer.registercustomqueryhandler.md) | | | -| [unregisterCustomQueryHandler(name)](./puppeteer.puppeteer.unregistercustomqueryhandler.md) | | | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.networkconditions.md b/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.networkconditions.md deleted file mode 100644 index c79ba272..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.networkconditions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_label: Puppeteer.networkConditions ---- - -# Puppeteer.networkConditions property - -> Warning: This API is now obsolete. -> -> Import directly puppeteer. - -**Signature:** - -```typescript -class Puppeteer { - get networkConditions(): typeof networkConditions; -} -``` - -## Example - -```ts -import {networkConditions} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.registercustomqueryhandler.md b/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.registercustomqueryhandler.md deleted file mode 100644 index 03d0ae7a..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.registercustomqueryhandler.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -sidebar_label: Puppeteer.registerCustomQueryHandler ---- - -# Puppeteer.registerCustomQueryHandler() method - -> Warning: This API is now obsolete. -> -> Import directly puppeteer. - -**Signature:** - -```typescript -class Puppeteer { - registerCustomQueryHandler( - name: string, - queryHandler: CustomQueryHandler - ): void; -} -``` - -## Parameters - -| Parameter | Type | Description | -| ------------ | ------------------------------------------------------- | ----------- | -| name | string | | -| queryHandler | [CustomQueryHandler](./puppeteer.customqueryhandler.md) | | - -**Returns:** - -void - -## Example - -```ts -import {registerCustomQueryHandler} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.registercustomqueryhandler.md b/website/versioned_docs/version-18.2.1/api/puppeteer.registercustomqueryhandler.md deleted file mode 100644 index 50f8292e..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.registercustomqueryhandler.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -sidebar_label: registerCustomQueryHandler ---- - -# registerCustomQueryHandler() function - -Registers a [custom query handler](./puppeteer.customqueryhandler.md). - -**Signature:** - -```typescript -export declare function registerCustomQueryHandler( - name: string, - handler: CustomQueryHandler -): void; -``` - -## Parameters - -| Parameter | Type | Description | -| --------- | ------------------------------------------------------- | ---------------------------------------------------------------- | -| name | string | The name that the custom query handler will be registered under. | -| handler | [CustomQueryHandler](./puppeteer.customqueryhandler.md) | | - -**Returns:** - -void - -## Remarks - -After registration, the handler can be used everywhere where a selector is expected by prepending the selection string with `/`. The name is only allowed to consist of lower- and upper case latin letters. - -## Example - -``` -puppeteer.registerCustomQueryHandler('text', { … }); -const aHandle = await page.$('text/…'); -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.unregistercustomqueryhandler.md b/website/versioned_docs/version-18.2.1/api/puppeteer.unregistercustomqueryhandler.md deleted file mode 100644 index 908e2611..00000000 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.unregistercustomqueryhandler.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -sidebar_label: unregisterCustomQueryHandler ---- - -# unregisterCustomQueryHandler() function - -**Signature:** - -```typescript -export declare function unregisterCustomQueryHandler(name: string): void; -``` - -## Parameters - -| Parameter | Type | Description | -| --------- | ------ | ---------------------------------------------- | -| name | string | The name of the query handler to unregistered. | - -**Returns:** - -void diff --git a/website/versioned_docs/version-18.2.1/index.md b/website/versioned_docs/version-18.2.1/index.md deleted file mode 100644 index 9fa294ea..00000000 --- a/website/versioned_docs/version-18.2.1/index.md +++ /dev/null @@ -1,419 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Puppeteer - - - -[![Build status](https://github.com/puppeteer/puppeteer/workflows/CI/badge.svg)](https://github.com/puppeteer/puppeteer/actions?query=workflow%3ACI) [![npm puppeteer package](https://img.shields.io/npm/v/puppeteer.svg)](https://npmjs.org/package/puppeteer) - - - - - -###### [API](https://pptr.dev/api) | [FAQ](https://pptr.dev/faq) | [Contributing](https://pptr.dev/contributing) | [Troubleshooting](https://pptr.dev/troubleshooting) - -> Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the [DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/). Puppeteer runs [headless](https://developers.google.com/web/updates/2017/04/headless-chrome) by default, but can be configured to run full (non-headless) Chrome or Chromium. - - - -##### What can I do? - -Most things that you can do manually in the browser can be done using Puppeteer! Here are a few examples to get you started: - -- Generate screenshots and PDFs of pages. -- Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. "SSR" (Server-Side Rendering)). -- Automate form submission, UI testing, keyboard input, etc. -- Create an up-to-date, automated testing environment. Run your tests directly in the latest version of Chrome using the latest JavaScript and browser features. -- Capture a [timeline trace](https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference) of your site to help diagnose performance issues. -- Test Chrome Extensions. - - - - -## Getting Started - -### Installation - -To use Puppeteer in your project, run: - -```bash -npm i puppeteer -# or "yarn add puppeteer" -``` - -When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API (customizable through [Environment Variables](#environment-variables)). For a version of Puppeteer purely for connection, see [`puppeteer-core`](#puppeteer-core). - -#### Environment Variables - -Puppeteer looks for certain [environment variables](https://en.wikipedia.org/wiki/Environment_variable) to aid its operations. -If Puppeteer doesn't find them in the environment during the installation step, a lowercased variant of these variables will be used from the [npm config](https://docs.npmjs.com/cli/config). - -- `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` - defines HTTP proxy settings that are used to download and run the browser. -- `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` - do not download bundled Chromium during installation step. -- `PUPPETEER_TMP_DIR` - defines the directory to be used by Puppeteer for creating temporary files. Defaults to [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir). -- `PUPPETEER_DOWNLOAD_HOST` - overwrite URL prefix that is used to download Chromium. Note: this includes protocol and might even include path prefix. Defaults to `https://storage.googleapis.com`. -- `PUPPETEER_DOWNLOAD_PATH` - overwrite the path for the downloads folder. Defaults to `/.local-chromium`, where `` is Puppeteer's package root. -- `PUPPETEER_CHROMIUM_REVISION` - specify a certain version of Chromium you'd like Puppeteer to use. See [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) on how executable path is inferred. -- `PUPPETEER_EXECUTABLE_PATH` - specify an executable path to be used in [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch). -- `PUPPETEER_PRODUCT` - specify which browser you'd like Puppeteer to use. Must be one of `chrome` or `firefox`. This can also be used during installation to fetch the recommended browser binary. Setting `product` programmatically in [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) supersedes this environment variable. The product is exposed in [`puppeteer.product`](https://pptr.dev/api/puppeteer.product) -- `PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM` — specify Puppeteer download Chromium for Apple M1. On Apple M1 devices Puppeteer by default downloads the version for Intel's processor which runs via Rosetta. It works without any problems, however, with this option, you should get more efficient resource usage (CPU and RAM) that could lead to a faster execution time. - -:::danger - -Puppeteer is only [guaranteed to work](https://pptr.dev/faq#q-why-doesnt-puppeteer-vxxx-work-with-chromium-vyyy) with the bundled Chromium, use at your own risk. - -::: - -:::caution - -`PUPPETEER_*` env variables are not accounted for in [`puppeteer-core`](#puppeteer-core). - -::: - -#### puppeteer-core - -Every release since v1.7.0 we publish two packages: - -- [`puppeteer`](https://www.npmjs.com/package/puppeteer) -- [`puppeteer-core`](https://www.npmjs.com/package/puppeteer-core) - -`puppeteer` is a _product_ for browser automation. When installed, it downloads a version of -Chromium, which it then drives using `puppeteer-core`. Being an end-user product, `puppeteer` supports a bunch of convenient `PUPPETEER_*` env variables to tweak its behavior. - -`puppeteer-core` is a _library_ to help drive anything that supports DevTools protocol. `puppeteer-core` doesn't download Chromium when installed. Being a library, `puppeteer-core` is fully driven -through its programmatic interface and disregards all the `PUPPETEER_*` env variables. - -To sum up, the only differences between `puppeteer-core` and `puppeteer` are: - -- `puppeteer-core` doesn't automatically download Chromium when installed. -- `puppeteer-core` ignores all `PUPPETEER_*` env variables. - -In most cases, you'll be fine using the `puppeteer` package. - -However, you should use `puppeteer-core` if: - -- you're building another end-user product or library atop of DevTools protocol. For example, one might build a PDF generator using `puppeteer-core` and write a custom `install.js` script that downloads [`headless_shell`](https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md) instead of Chromium to save disk space. -- you're bundling Puppeteer to use in Chrome Extension / browser with the DevTools protocol where downloading an additional Chromium binary is unnecessary. -- you're building a set of tools where `puppeteer-core` is one of the ingredients and you want to postpone `install.js` script execution until Chromium is about to be used. - -When using `puppeteer-core`, remember to change the _include_ line: - -```ts -const puppeteer = require('puppeteer-core'); -``` - -You will then need to call [`puppeteer.connect`](https://pptr.dev/api/puppeteer.puppeteer.connect) or [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) with an explicit `executablePath` or `channel` option. - -### Usage - -Puppeteer follows the latest [maintenance LTS](https://github.com/nodejs/Release#release-schedule) version of Node. - -Puppeteer will be familiar to people using other browser testing frameworks. You create an instance -of `Browser`, open pages, and then manipulate them with [Puppeteer's API](https://pptr.dev/api). - -**Example** - navigating to https://example.com and saving a screenshot as _example.png_: - -Save file as **example.js** - -```ts -const puppeteer = require('puppeteer'); - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.goto('https://example.com'); - await page.screenshot({path: 'example.png'}); - - await browser.close(); -})(); -``` - -Execute script on the command line - -```bash -node example.js -``` - -Puppeteer sets an initial page size to 800×600px, which defines the screenshot size. The page size can be customized with [`Page.setViewport()`](https://pptr.dev/api/puppeteer.page.setviewport). - -**Example** - create a PDF. - -Save file as **hn.js** - -```ts -const puppeteer = require('puppeteer'); - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.goto('https://news.ycombinator.com', { - waitUntil: 'networkidle2', - }); - await page.pdf({path: 'hn.pdf', format: 'a4'}); - - await browser.close(); -})(); -``` - -Execute script on the command line - -```bash -node hn.js -``` - -See [`Page.pdf`](https://pptr.dev/api/puppeteer.page.pdf) for more information about creating pdfs. - -**Example** - evaluate script in the context of the page - -Save file as **get-dimensions.js** - -```ts -const puppeteer = require('puppeteer'); - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.goto('https://example.com'); - - // Get the "viewport" of the page, as reported by the page. - const dimensions = await page.evaluate(() => { - return { - width: document.documentElement.clientWidth, - height: document.documentElement.clientHeight, - deviceScaleFactor: window.devicePixelRatio, - }; - }); - - console.log('Dimensions:', dimensions); - - await browser.close(); -})(); -``` - -Execute script on the command line - -```bash -node get-dimensions.js -``` - -See [`Page.evaluate`](https://pptr.dev/api/puppeteer.page.evaluate) and related methods like [`Page.evaluateOnNewDocument`](https://pptr.dev/api/puppeteer.page.evaluateOnNewDocument) and [`Page.exposeFunction`](https://pptr.dev/api/puppeteer.page.exposeFunction). - - - -### Running in Docker - -Puppeteer offers a Docker image that includes Chromium along with the required dependencies and a pre-installed Puppeteer version. The image is available via the [GitHub Container Registry](https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer). The latest image is tagged as `latest` and other tags match Puppeteer versions. For example, - -```sh -docker pull ghcr.io/puppeteer/puppeteer:latest # pulls the latest -docker pull ghcr.io/puppeteer/puppeteer:16.1.0 # pulls the image that contains Puppeteer v16.1.0 -``` - -The image is meant for running the browser in the sandbox mode and therefore, running the image requires the `SYS_ADMIN` capability. For example, - -```sh -docker run -i --init --cap-add=SYS_ADMIN --rm ghcr.io/puppeteer/puppeteer:latest node -e "`cat docker/test/smoke-test.js`" -``` - -Replace the path to [`smoke-test.js`](https://raw.githubusercontent.com/puppeteer/puppeteer/main/docker/test/smoke-test.js) with a path to your script. -The script can import or require the `puppeteer` module because it's pre-installed inside the image. - -Currently, the image includes the LTS version of Node.js. If you need to build an image based on a different base image, you can use our [`Dockerfile`](https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile) as the starting point. - -### Working with Chrome Extensions - -Puppeteer can be used for testing Chrome Extensions. - -:::caution - -Extensions in Chrome / Chromium currently only work in non-headless mode and experimental Chrome headless mode. - -::: - -The following is code for getting a handle to the [background page](https://developer.chrome.com/extensions/background_pages) of an extension whose source is located in `./my-extension`: - -```ts -const puppeteer = require('puppeteer'); - -(async () => { - const pathToExtension = require('path').join(__dirname, 'my-extension'); - const browser = await puppeteer.launch({ - headless: 'chrome', - args: [ - `--disable-extensions-except=${pathToExtension}`, - `--load-extension=${pathToExtension}`, - ], - }); - const backgroundPageTarget = await browser.waitForTarget( - target => target.type() === 'background_page' - ); - const backgroundPage = await backgroundPageTarget.page(); - // Test the background page as you would any other page. - await browser.close(); -})(); -``` - -:::note - -Chrome Manifest V3 extensions have a background ServiceWorker of type 'service_worker', instead of a page of type 'background_page'. - -::: - -:::note - -It is not yet possible to test extension popups or content scripts. - -::: - - - -## Default runtime settings - -**1. Uses Headless mode** - -Puppeteer launches Chromium in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome). To launch a full version of Chromium, set the [`headless` option](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.headless) when launching a browser: - -```ts -const browser = await puppeteer.launch({headless: false}); // default is true -``` - -**2. Runs a bundled version of Chromium** - -By default, Puppeteer downloads and uses a specific version of Chromium so its API -is guaranteed to work out of the box. To use Puppeteer with a different version of Chrome or Chromium, -pass in the executable's path when creating a `Browser` instance: - -```ts -const browser = await puppeteer.launch({executablePath: '/path/to/Chrome'}); -``` - -You can also use Puppeteer with Firefox Nightly (experimental support). See [`Puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) for more information. - -See [`this article`](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for a description of the differences between Chromium and Chrome. [`This article`](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/chromium_browser_vs_google_chrome.md) describes some differences for Linux users. - -**3. Creates a fresh user profile** - -Puppeteer creates its own browser user profile which it **cleans up on every run**. - - - -## Resources - -- [API Documentation](https://pptr.dev/api) -- [Examples](https://github.com/puppeteer/puppeteer/tree/main/examples) -- [Community list of Puppeteer resources](https://github.com/transitive-bullshit/awesome-puppeteer) - - - -## Debugging tips - -1. Turn off headless mode - sometimes it's useful to see what the browser is - displaying. Instead of launching in headless mode, launch a full version of - the browser using `headless: false`: - - ```ts - const browser = await puppeteer.launch({headless: false}); - ``` - -2. Slow it down - the `slowMo` option slows down Puppeteer operations by the - specified amount of milliseconds. It's another way to help see what's going on. - - ```ts - const browser = await puppeteer.launch({ - headless: false, - slowMo: 250, // slow down by 250ms - }); - ``` - -3. Capture console output - You can listen for the `console` event. - This is also handy when debugging code in `page.evaluate()`: - - ```ts - page.on('console', msg => console.log('PAGE LOG:', msg.text())); - - await page.evaluate(() => console.log(`url is ${location.href}`)); - ``` - -4. Use debugger in application code browser - - There are two execution context: node.js that is running test code, and the browser - running application code being tested. This lets you debug code in the - application code browser; ie code inside `evaluate()`. - - - Use `{devtools: true}` when launching Puppeteer: - - ```ts - const browser = await puppeteer.launch({devtools: true}); - ``` - - - Change default test timeout: - - jest: `jest.setTimeout(100000);` - - jasmine: `jasmine.DEFAULT_TIMEOUT_INTERVAL = 100000;` - - mocha: `this.timeout(100000);` (don't forget to change test to use [function and not '=>'](https://stackoverflow.com/a/23492442)) - - - Add an evaluate statement with `debugger` inside / add `debugger` to an existing evaluate statement: - - ```ts - await page.evaluate(() => { - debugger; - }); - ``` - - The test will now stop executing in the above evaluate statement, and chromium will stop in debug mode. - -5. Use debugger in node.js - - This will let you debug test code. For example, you can step over `await page.click()` in the node.js script and see the click happen in the application code browser. - - Note that you won't be able to run `await page.click()` in - DevTools console due to this [Chromium bug](https://bugs.chromium.org/p/chromium/issues/detail?id=833928). So if - you want to try something out, you have to add it to your test file. - - - Add `debugger;` to your test, eg: - - ```ts - debugger; - await page.click('a[target=_blank]'); - ``` - - - Set `headless` to `false` - - Run `node --inspect-brk`, eg `node --inspect-brk node_modules/.bin/jest tests` - - In Chrome open `chrome://inspect/#devices` and click `inspect` - - In the newly opened test browser, type `F8` to resume test execution - - Now your `debugger` will be hit and you can debug in the test browser - -6. Enable verbose logging - internal DevTools protocol traffic - will be logged via the [`debug`](https://github.com/visionmedia/debug) module under the `puppeteer` namespace. - - # Basic verbose logging - env DEBUG="puppeteer:*" node script.js - - # Protocol traffic can be rather noisy. This example filters out all Network domain messages - env DEBUG="puppeteer:*" env DEBUG_COLORS=true node script.js 2>&1 | grep -v '"Network' - -7. Debug your Puppeteer (node) code easily, using [ndb](https://github.com/GoogleChromeLabs/ndb) - -- `npm install -g ndb` (or even better, use [npx](https://github.com/zkat/npx)!) - -- add a `debugger` to your Puppeteer (node) code - -- add `ndb` (or `npx ndb`) before your test command. For example: - - `ndb jest` or `ndb mocha` (or `npx ndb jest` / `npx ndb mocha`) - -- debug your test inside chromium like a boss! - - - -## Contributing - -Check out our [contributing guide](https://pptr.dev/contributing) to get an overview of Puppeteer development. - -## FAQ - -Our [FAQ](https://pptr.dev/faq) has migrated to [our site](https://pptr.dev/faq). diff --git a/website/versioned_docs/version-18.2.1/api/index.md b/website/versioned_docs/version-19.0.0/api/index.md similarity index 92% rename from website/versioned_docs/version-18.2.1/api/index.md rename to website/versioned_docs/version-19.0.0/api/index.md index 9eabae6b..2fa72657 100644 --- a/website/versioned_docs/version-18.2.1/api/index.md +++ b/website/versioned_docs/version-19.0.0/api/index.md @@ -51,12 +51,12 @@ sidebar_label: API ## Functions -| Function | Description | -| -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| [clearCustomQueryHandlers()](./puppeteer.clearcustomqueryhandlers.md) | Clears all registered handlers. | -| [customQueryHandlerNames()](./puppeteer.customqueryhandlernames.md) | | -| [registerCustomQueryHandler(name, handler)](./puppeteer.registercustomqueryhandler.md) | Registers a [custom query handler](./puppeteer.customqueryhandler.md). | -| [unregisterCustomQueryHandler(name)](./puppeteer.unregistercustomqueryhandler.md) | | +| Function | Description | +| -------------------------------------------------------------------------------------- | ----------- | +| [clearCustomQueryHandlers()](./puppeteer.clearcustomqueryhandlers.md) | | +| [customQueryHandlerNames()](./puppeteer.customqueryhandlernames.md) | | +| [registerCustomQueryHandler(name, handler)](./puppeteer.registercustomqueryhandler.md) | | +| [unregisterCustomQueryHandler(name)](./puppeteer.unregistercustomqueryhandler.md) | | ## Interfaces @@ -120,18 +120,20 @@ sidebar_label: API ## Variables -| Variable | Description | -| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [connect](./puppeteer.connect.md) | | -| [createBrowserFetcher](./puppeteer.createbrowserfetcher.md) | | -| [DEFAULT_INTERCEPT_RESOLUTION_PRIORITY](./puppeteer.default_intercept_resolution_priority.md) | The default cooperative request interception resolution priority | -| [defaultArgs](./puppeteer.defaultargs.md) | | -| [devices](./puppeteer.devices.md) | A list of devices to be used with page.emulate(options). Actual list of devices can be found in [src/common/DeviceDescriptors.ts](https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts). | -| [errors](./puppeteer.errors.md) |

Puppeteer methods might throw errors if they are unable to fulfill a request. For example, page.waitForSelector(selector[, options]) might fail if the selector doesn't match any nodes during the given timeframe.

For certain types of errors Puppeteer uses specific error classes. These classes are available via puppeteer.errors.

| -| [EVALUATION_SCRIPT_URL](./puppeteer.evaluation_script_url.md) | | -| [executablePath](./puppeteer.executablepath.md) | | -| [launch](./puppeteer.launch.md) | | -| [networkConditions](./puppeteer.networkconditions.md) | A list of network conditions to be used with page.emulateNetworkConditions(networkConditions). Actual list of predefined conditions can be found in [src/common/NetworkConditions.ts](https://github.com/puppeteer/puppeteer/blob/main/src/common/NetworkConditions.ts). | +| Variable | Description | +| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| [connect](./puppeteer.connect.md) | | +| [createBrowserFetcher](./puppeteer.createbrowserfetcher.md) | | +| [DEFAULT_INTERCEPT_RESOLUTION_PRIORITY](./puppeteer.default_intercept_resolution_priority.md) | The default cooperative request interception resolution priority | +| [defaultArgs](./puppeteer.defaultargs.md) | | +| [devices](./puppeteer.devices.md) | | +| [errors](./puppeteer.errors.md) | | +| [EVALUATION_SCRIPT_URL](./puppeteer.evaluation_script_url.md) | | +| [executablePath](./puppeteer.executablepath.md) | | +| [KnownDevices](./puppeteer.knowndevices.md) | A list of devices to be used with [Page.emulate()](./puppeteer.page.emulate.md). | +| [launch](./puppeteer.launch.md) | | +| [networkConditions](./puppeteer.networkconditions.md) | | +| [PredefinedNetworkConditions](./puppeteer.predefinednetworkconditions.md) | A list of network conditions to be used with [Page.emulateNetworkConditions()](./puppeteer.page.emulatenetworkconditions.md). | ## Type Aliases @@ -141,7 +143,6 @@ sidebar_label: API | [Awaitable](./puppeteer.awaitable.md) | | | [ChromeReleaseChannel](./puppeteer.chromereleasechannel.md) | | | [ConsoleMessageType](./puppeteer.consolemessagetype.md) | The supported types for console messages. | -| [DevicesMap](./puppeteer.devicesmap.md) | | | [ErrorCode](./puppeteer.errorcode.md) | | | [EvaluateFunc](./puppeteer.evaluatefunc.md) | | | [EventType](./puppeteer.eventtype.md) | | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.accessibility.md b/website/versioned_docs/version-19.0.0/api/puppeteer.accessibility.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.accessibility.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.accessibility.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.accessibility.snapshot.md b/website/versioned_docs/version-19.0.0/api/puppeteer.accessibility.snapshot.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.accessibility.snapshot.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.accessibility.snapshot.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.actionresult.md b/website/versioned_docs/version-19.0.0/api/puppeteer.actionresult.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.actionresult.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.actionresult.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.awaitable.md b/website/versioned_docs/version-19.0.0/api/puppeteer.awaitable.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.awaitable.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.awaitable.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boundingbox.height.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boundingbox.height.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boundingbox.height.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boundingbox.height.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boundingbox.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boundingbox.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boundingbox.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boundingbox.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boundingbox.width.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boundingbox.width.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boundingbox.width.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boundingbox.width.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.border.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.border.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.border.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.border.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.content.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.content.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.content.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.content.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.height.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.height.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.height.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.height.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.margin.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.margin.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.margin.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.margin.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.padding.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.padding.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.padding.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.padding.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.width.md b/website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.width.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.boxmodel.width.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.boxmodel.width.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.browsercontexts.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.browsercontexts.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.browsercontexts.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.browsercontexts.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.close.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.close.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.close.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.close.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.createincognitobrowsercontext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.createincognitobrowsercontext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.createincognitobrowsercontext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.createincognitobrowsercontext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.defaultbrowsercontext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.defaultbrowsercontext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.defaultbrowsercontext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.defaultbrowsercontext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.disconnect.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.disconnect.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.disconnect.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.disconnect.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.isconnected.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.isconnected.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.isconnected.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.isconnected.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.newpage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.newpage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.newpage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.newpage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.pages.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.pages.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.pages.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.pages.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.process.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.process.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.process.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.process.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.target.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.target.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.target.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.target.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.targets.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.targets.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.targets.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.targets.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.useragent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.useragent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.useragent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.useragent.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.version.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.version.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.version.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.version.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.waitfortarget.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.waitfortarget.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.waitfortarget.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.waitfortarget.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browser.wsendpoint.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browser.wsendpoint.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browser.wsendpoint.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browser.wsendpoint.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.defaultviewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.defaultviewport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.defaultviewport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.defaultviewport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.ignorehttpserrors.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.ignorehttpserrors.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.ignorehttpserrors.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.ignorehttpserrors.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.slowmo.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.slowmo.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.slowmo.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.slowmo.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.targetfilter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.targetfilter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserconnectoptions.targetfilter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserconnectoptions.targetfilter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.browser.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.browser.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.browser.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.browser.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.clearpermissionoverrides.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.clearpermissionoverrides.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.clearpermissionoverrides.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.clearpermissionoverrides.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.close.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.close.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.close.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.close.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.isincognito.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.isincognito.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.isincognito.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.isincognito.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.newpage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.newpage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.newpage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.newpage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.overridepermissions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.overridepermissions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.overridepermissions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.overridepermissions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.pages.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.pages.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.pages.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.pages.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.targets.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.targets.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.targets.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.targets.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.waitfortarget.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.waitfortarget.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontext.waitfortarget.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontext.waitfortarget.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextemittedevents.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextemittedevents.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextemittedevents.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextemittedevents.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextoptions.proxybypasslist.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextoptions.proxybypasslist.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextoptions.proxybypasslist.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextoptions.proxybypasslist.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextoptions.proxyserver.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextoptions.proxyserver.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browsercontextoptions.proxyserver.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browsercontextoptions.proxyserver.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browseremittedevents.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browseremittedevents.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browseremittedevents.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browseremittedevents.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher._constructor_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher._constructor_.md new file mode 100644 index 00000000..6dd5d0cc --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher._constructor_.md @@ -0,0 +1,21 @@ +--- +sidebar_label: BrowserFetcher.(constructor) +--- + +# BrowserFetcher.(constructor) + +Constructs a browser fetcher for the given options. + +**Signature:** + +```typescript +class BrowserFetcher { + constructor(options?: BrowserFetcherOptions); +} +``` + +## Parameters + +| Parameter | Type | Description | +| --------- | ------------------------------------------------------------- | ----------------- | +| options | [BrowserFetcherOptions](./puppeteer.browserfetcheroptions.md) | (Optional) | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.candownload.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.candownload.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.candownload.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.candownload.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.download.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.download.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.download.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.download.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.host.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.host.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.host.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.host.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.localrevisions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.localrevisions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.localrevisions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.localrevisions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.md similarity index 75% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.md index ac001994..84fd68f9 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.md @@ -14,23 +14,25 @@ export declare class BrowserFetcher ## Remarks -BrowserFetcher operates on revision strings that specify a precise version of Chromium, e.g. `"533271"`. Revision strings can be obtained from [omahaproxy.appspot.com](http://omahaproxy.appspot.com/). In the Firefox case, BrowserFetcher downloads Firefox Nightly and operates on version numbers such as `"75"`. - -The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `BrowserFetcher` class. +BrowserFetcher is not designed to work concurrently with other instances of BrowserFetcher that share the same downloads directory. ## Example An example of using BrowserFetcher to download a specific version of Chromium and running Puppeteer against it: ```ts -const browserFetcher = puppeteer.createBrowserFetcher(); +const browserFetcher = new BrowserFetcher(); const revisionInfo = await browserFetcher.download('533271'); const browser = await puppeteer.launch({ executablePath: revisionInfo.executablePath, }); ``` -**NOTE** BrowserFetcher is not designed to work concurrently with other instances of BrowserFetcher that share the same downloads directory. +## Constructors + +| Constructor | Modifiers | Description | +| --------------------------------------------------------------------- | --------- | --------------------------------------------------- | +| [(constructor)(options)](./puppeteer.browserfetcher._constructor_.md) | | Constructs a browser fetcher for the given options. | ## Methods diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.platform.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.platform.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.platform.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.platform.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.remove.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.remove.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.remove.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.remove.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.revisioninfo.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.revisioninfo.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcher.revisioninfo.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcher.revisioninfo.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.host.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.host.md similarity index 75% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.host.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.host.md index 7dd3a981..fee99ed3 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.host.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.host.md @@ -4,6 +4,8 @@ sidebar_label: BrowserFetcherOptions.host # BrowserFetcherOptions.host property +Determines the host that will be used for downloading. + **Signature:** ```typescript diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.md similarity index 59% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.md index af16c571..4817cedc 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.md @@ -12,9 +12,9 @@ export interface BrowserFetcherOptions ## Properties -| Property | Modifiers | Type | Description | -| ---------------------------------------------------------- | --------- | ----------------------------------- | ----------------- | -| [host?](./puppeteer.browserfetcheroptions.host.md) | | string | (Optional) | -| [path?](./puppeteer.browserfetcheroptions.path.md) | | string | (Optional) | -| [platform?](./puppeteer.browserfetcheroptions.platform.md) | | [Platform](./puppeteer.platform.md) | (Optional) | -| [product?](./puppeteer.browserfetcheroptions.product.md) | | string | (Optional) | +| Property | Modifiers | Type | Description | +| ---------------------------------------------------------- | --------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------ | +| [host?](./puppeteer.browserfetcheroptions.host.md) | | string | (Optional) Determines the host that will be used for downloading. | +| [path?](./puppeteer.browserfetcheroptions.path.md) | | string | (Optional) Determines the path to download browsers to. | +| [platform?](./puppeteer.browserfetcheroptions.platform.md) | | [Platform](./puppeteer.platform.md) | (Optional) Determines which platform the browser will be suited for. | +| [product?](./puppeteer.browserfetcheroptions.product.md) | | 'chrome' \| 'firefox' | (Optional) Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.path.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.path.md similarity index 79% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.path.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.path.md index 5c44969e..61e7ebfb 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.path.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.path.md @@ -4,6 +4,8 @@ sidebar_label: BrowserFetcherOptions.path # BrowserFetcherOptions.path property +Determines the path to download browsers to. + **Signature:** ```typescript diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.platform.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.platform.md similarity index 76% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.platform.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.platform.md index c2fc22a3..5a130ecd 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.platform.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.platform.md @@ -4,6 +4,8 @@ sidebar_label: BrowserFetcherOptions.platform # BrowserFetcherOptions.platform property +Determines which platform the browser will be suited for. + **Signature:** ```typescript diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.product.md similarity index 58% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.product.md index a009bae1..10d06012 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcheroptions.product.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcheroptions.product.md @@ -4,10 +4,12 @@ sidebar_label: BrowserFetcherOptions.product # BrowserFetcherOptions.product property +Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. + **Signature:** ```typescript interface BrowserFetcherOptions { - product?: string; + product?: 'chrome' | 'firefox'; } ``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.executablepath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.executablepath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.executablepath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.executablepath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.folderpath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.folderpath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.folderpath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.folderpath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.local.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.local.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.local.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.local.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.revision.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.revision.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.revision.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.revision.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserfetcherrevisioninfo.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserfetcherrevisioninfo.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.args.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.args.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.args.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.args.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.debuggingport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.debuggingport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.debuggingport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.debuggingport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.devtools.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.devtools.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.devtools.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.devtools.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.headless.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.headless.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.headless.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.headless.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.userdatadir.md b/website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.userdatadir.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.browserlaunchargumentoptions.userdatadir.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.browserlaunchargumentoptions.userdatadir.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.connection.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.connection.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.connection.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.connection.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.detach.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.detach.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.detach.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.detach.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.id.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.id.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.id.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.id.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.send.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.send.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsession.send.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsession.send.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.error.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.error.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.error.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.error.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.id.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.id.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.id.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.id.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.method.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.method.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.method.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.method.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.params.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.params.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.params.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.params.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.result.md b/website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.result.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.cdpsessiononmessageobject.result.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.cdpsessiononmessageobject.result.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.chromereleasechannel.md b/website/versioned_docs/version-19.0.0/api/puppeteer.chromereleasechannel.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.chromereleasechannel.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.chromereleasechannel.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.clearcustomqueryhandlers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.clearcustomqueryhandlers.md new file mode 100644 index 00000000..9c4d6c9c --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.clearcustomqueryhandlers.md @@ -0,0 +1,19 @@ +--- +sidebar_label: clearCustomQueryHandlers +--- + +# clearCustomQueryHandlers() function + +> Warning: This API is now obsolete. +> +> Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.clearCustomQueryHandlers()](./puppeteer.puppeteer.clearcustomqueryhandlers.md) + +**Signature:** + +```typescript +export declare function clearCustomQueryHandlers(): void; +``` + +**Returns:** + +void diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.button.md b/website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.button.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.button.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.button.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.clickcount.md b/website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.clickcount.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.clickcount.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.clickcount.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.delay.md b/website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.delay.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.delay.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.delay.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.offset.md b/website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.offset.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.clickoptions.offset.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.clickoptions.offset.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.addlistener.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.addlistener.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.addlistener.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.addlistener.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.emit.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.emit.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.emit.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.emit.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.listenercount.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.listenercount.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.listenercount.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.listenercount.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.off.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.off.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.off.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.off.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.on.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.on.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.on.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.on.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.once.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.once.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.once.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.once.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.removealllisteners.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.removealllisteners.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.removealllisteners.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.removealllisteners.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.removelistener.md b/website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.removelistener.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.commoneventemitter.removelistener.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.commoneventemitter.removelistener.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.connect.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connect.md new file mode 100644 index 00000000..8cda9ef1 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.connect.md @@ -0,0 +1,13 @@ +--- +sidebar_label: connect +--- + +# connect variable + +**Signature:** + +```typescript +connect: ( + options: import('puppeteer-core/internal/common/Puppeteer.js').ConnectOptions +) => Promise; +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection._constructor_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection._constructor_.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection._constructor_.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection._constructor_.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.createsession.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.createsession.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.createsession.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.createsession.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.dispose.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.dispose.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.dispose.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.dispose.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.fromsession.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.fromsession.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.fromsession.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.fromsession.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.send.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.send.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.send.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.send.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.session.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.session.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.session.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.session.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connection.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connection.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connection.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connection.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.error.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.error.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.error.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.error.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.method.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.method.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.method.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.method.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.reject.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.reject.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.reject.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.reject.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.resolve.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.resolve.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectioncallback.resolve.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectioncallback.resolve.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.close.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.close.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.close.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.close.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.onclose.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.onclose.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.onclose.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.onclose.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.onmessage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.onmessage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.onmessage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.onmessage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.send.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.send.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectiontransport.send.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectiontransport.send.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.browserurl.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.browserurl.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.browserurl.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.browserurl.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.browserwsendpoint.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.browserwsendpoint.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.browserwsendpoint.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.browserwsendpoint.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.transport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.transport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.connectoptions.transport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.connectoptions.transport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage._constructor_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage._constructor_.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage._constructor_.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage._constructor_.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.args.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.args.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.args.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.args.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.location.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.location.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.location.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.location.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.stacktrace.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.stacktrace.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.stacktrace.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.stacktrace.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.text.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.text.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.text.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.text.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessage.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.columnnumber.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.columnnumber.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.columnnumber.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.columnnumber.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.linenumber.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.linenumber.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.linenumber.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.linenumber.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagelocation.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagelocation.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagetype.md b/website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagetype.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.consolemessagetype.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.consolemessagetype.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.headers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.headers.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.headers.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.headers.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.md b/website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.method.md b/website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.method.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.method.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.method.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.postdata.md b/website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.postdata.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.postdata.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.postdata.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.continuerequestoverrides.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.continuerequestoverrides.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage._constructor_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage._constructor_.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverage._constructor_.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverage._constructor_.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage.startcsscoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage.startcsscoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverage.startcsscoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverage.startcsscoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage.startjscoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage.startjscoverage.md similarity index 81% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverage.startjscoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverage.startjscoverage.md index 1bb6a09e..b6ceb758 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage.startjscoverage.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage.startjscoverage.md @@ -14,9 +14,9 @@ class Coverage { ## Parameters -| Parameter | Type | Description | -| --------- | ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| options | [JSCoverageOptions](./puppeteer.jscoverageoptions.md) | (Optional) Set of configurable options for coverage defaults to resetOnNavigation : true, reportAnonymousScripts : false | +| Parameter | Type | Description | +| --------- | ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| options | [JSCoverageOptions](./puppeteer.jscoverageoptions.md) | (Optional) Set of configurable options for coverage defaults to resetOnNavigation : true, reportAnonymousScripts : false, includeRawScriptCoverage : false, useBlockCoverage : true | **Returns:** diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage.stopcsscoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage.stopcsscoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverage.stopcsscoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverage.stopcsscoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverage.stopjscoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverage.stopjscoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverage.stopjscoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverage.stopjscoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.ranges.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.ranges.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.ranges.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.ranges.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.text.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.text.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.text.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.text.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.coverageentry.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.coverageentry.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.createbrowserfetcher.md b/website/versioned_docs/version-19.0.0/api/puppeteer.createbrowserfetcher.md similarity index 69% rename from website/versioned_docs/version-18.2.1/api/puppeteer.createbrowserfetcher.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.createbrowserfetcher.md index 1af8a3b1..e9cd52da 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.createbrowserfetcher.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.createbrowserfetcher.md @@ -4,6 +4,10 @@ sidebar_label: createBrowserFetcher # createBrowserFetcher variable +> Warning: This API is now obsolete. +> +> Import [BrowserFetcher](./puppeteer.browserfetcher.md) directly and use the constructor. + **Signature:** ```typescript diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.credentials.md b/website/versioned_docs/version-19.0.0/api/puppeteer.credentials.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.credentials.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.credentials.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.credentials.password.md b/website/versioned_docs/version-19.0.0/api/puppeteer.credentials.password.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.credentials.password.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.credentials.password.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.credentials.username.md b/website/versioned_docs/version-19.0.0/api/puppeteer.credentials.username.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.credentials.username.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.credentials.username.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage._constructor_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage._constructor_.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage._constructor_.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage._constructor_.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage.start.md b/website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage.start.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage.start.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage.start.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage.stop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage.stop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.csscoverage.stop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.csscoverage.stop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.csscoverageoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.csscoverageoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.csscoverageoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.csscoverageoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.csscoverageoptions.resetonnavigation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.csscoverageoptions.resetonnavigation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.csscoverageoptions.resetonnavigation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.csscoverageoptions.resetonnavigation.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.customerror.md b/website/versioned_docs/version-19.0.0/api/puppeteer.customerror.md new file mode 100644 index 00000000..0fc5796e --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.customerror.md @@ -0,0 +1,21 @@ +--- +sidebar_label: CustomError +--- + +# CustomError class + +> Warning: This API is now obsolete. +> +> Do not use. + +**Signature:** + +```typescript +export declare class CustomError extends Error +``` + +**Extends:** Error + +## Remarks + +The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `CustomError` class. diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandler.md b/website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandler.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandler.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandler.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandler.queryall.md b/website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandler.queryall.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandler.queryall.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandler.queryall.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandler.queryone.md b/website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandler.queryone.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandler.queryone.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandler.queryone.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandlernames.md b/website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandlernames.md similarity index 50% rename from website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandlernames.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandlernames.md index 9774e6a2..bdf4bf26 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.customqueryhandlernames.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.customqueryhandlernames.md @@ -4,6 +4,10 @@ sidebar_label: customQueryHandlerNames # customQueryHandlerNames() function +> Warning: This API is now obsolete. +> +> Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.customQueryHandlerNames()](./puppeteer.puppeteer.customqueryhandlernames.md) + **Signature:** ```typescript @@ -13,5 +17,3 @@ export declare function customQueryHandlerNames(): string[]; **Returns:** string\[\] - -a list with the names of all registered custom query handlers. diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.default_intercept_resolution_priority.md b/website/versioned_docs/version-19.0.0/api/puppeteer.default_intercept_resolution_priority.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.default_intercept_resolution_priority.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.default_intercept_resolution_priority.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.defaultargs.md b/website/versioned_docs/version-19.0.0/api/puppeteer.defaultargs.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.defaultargs.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.defaultargs.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.device.md b/website/versioned_docs/version-19.0.0/api/puppeteer.device.md new file mode 100644 index 00000000..d2ccae14 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.device.md @@ -0,0 +1,18 @@ +--- +sidebar_label: Device +--- + +# Device interface + +**Signature:** + +```typescript +export interface Device +``` + +## Properties + +| Property | Modifiers | Type | Description | +| -------------------------------------------- | --------- | ----------------------------------- | ----------- | +| [userAgent](./puppeteer.device.useragent.md) | | string | | +| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.device.useragent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.device.useragent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.device.useragent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.device.useragent.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.device.viewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.device.viewport.md new file mode 100644 index 00000000..ba104813 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.device.viewport.md @@ -0,0 +1,13 @@ +--- +sidebar_label: Device.viewport +--- + +# Device.viewport property + +**Signature:** + +```typescript +interface Device { + viewport: Viewport; +} +``` diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.devices.md b/website/versioned_docs/version-19.0.0/api/puppeteer.devices.md new file mode 100644 index 00000000..72cc7667 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.devices.md @@ -0,0 +1,134 @@ +--- +sidebar_label: devices +--- + +# devices variable + +> Warning: This API is now obsolete. +> +> Import [KnownDevices](./puppeteer.knowndevices.md) + +**Signature:** + +```typescript +devices: Readonly< + Record< + | 'Blackberry PlayBook' + | 'Blackberry PlayBook landscape' + | 'BlackBerry Z30' + | 'BlackBerry Z30 landscape' + | 'Galaxy Note 3' + | 'Galaxy Note 3 landscape' + | 'Galaxy Note II' + | 'Galaxy Note II landscape' + | 'Galaxy S III' + | 'Galaxy S III landscape' + | 'Galaxy S5' + | 'Galaxy S5 landscape' + | 'Galaxy S8' + | 'Galaxy S8 landscape' + | 'Galaxy S9+' + | 'Galaxy S9+ landscape' + | 'Galaxy Tab S4' + | 'Galaxy Tab S4 landscape' + | 'iPad' + | 'iPad landscape' + | 'iPad (gen 6)' + | 'iPad (gen 6) landscape' + | 'iPad (gen 7)' + | 'iPad (gen 7) landscape' + | 'iPad Mini' + | 'iPad Mini landscape' + | 'iPad Pro' + | 'iPad Pro landscape' + | 'iPad Pro 11' + | 'iPad Pro 11 landscape' + | 'iPhone 4' + | 'iPhone 4 landscape' + | 'iPhone 5' + | 'iPhone 5 landscape' + | 'iPhone 6' + | 'iPhone 6 landscape' + | 'iPhone 6 Plus' + | 'iPhone 6 Plus landscape' + | 'iPhone 7' + | 'iPhone 7 landscape' + | 'iPhone 7 Plus' + | 'iPhone 7 Plus landscape' + | 'iPhone 8' + | 'iPhone 8 landscape' + | 'iPhone 8 Plus' + | 'iPhone 8 Plus landscape' + | 'iPhone SE' + | 'iPhone SE landscape' + | 'iPhone X' + | 'iPhone X landscape' + | 'iPhone XR' + | 'iPhone XR landscape' + | 'iPhone 11' + | 'iPhone 11 landscape' + | 'iPhone 11 Pro' + | 'iPhone 11 Pro landscape' + | 'iPhone 11 Pro Max' + | 'iPhone 11 Pro Max landscape' + | 'iPhone 12' + | 'iPhone 12 landscape' + | 'iPhone 12 Pro' + | 'iPhone 12 Pro landscape' + | 'iPhone 12 Pro Max' + | 'iPhone 12 Pro Max landscape' + | 'iPhone 12 Mini' + | 'iPhone 12 Mini landscape' + | 'iPhone 13' + | 'iPhone 13 landscape' + | 'iPhone 13 Pro' + | 'iPhone 13 Pro landscape' + | 'iPhone 13 Pro Max' + | 'iPhone 13 Pro Max landscape' + | 'iPhone 13 Mini' + | 'iPhone 13 Mini landscape' + | 'JioPhone 2' + | 'JioPhone 2 landscape' + | 'Kindle Fire HDX' + | 'Kindle Fire HDX landscape' + | 'LG Optimus L70' + | 'LG Optimus L70 landscape' + | 'Microsoft Lumia 550' + | 'Microsoft Lumia 950' + | 'Microsoft Lumia 950 landscape' + | 'Nexus 10' + | 'Nexus 10 landscape' + | 'Nexus 4' + | 'Nexus 4 landscape' + | 'Nexus 5' + | 'Nexus 5 landscape' + | 'Nexus 5X' + | 'Nexus 5X landscape' + | 'Nexus 6' + | 'Nexus 6 landscape' + | 'Nexus 6P' + | 'Nexus 6P landscape' + | 'Nexus 7' + | 'Nexus 7 landscape' + | 'Nokia Lumia 520' + | 'Nokia Lumia 520 landscape' + | 'Nokia N9' + | 'Nokia N9 landscape' + | 'Pixel 2' + | 'Pixel 2 landscape' + | 'Pixel 2 XL' + | 'Pixel 2 XL landscape' + | 'Pixel 3' + | 'Pixel 3 landscape' + | 'Pixel 4' + | 'Pixel 4 landscape' + | 'Pixel 4a (5G)' + | 'Pixel 4a (5G) landscape' + | 'Pixel 5' + | 'Pixel 5 landscape' + | 'Moto G4' + | 'Moto G4 landscape', + Device + > +>; +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.accept.md b/website/versioned_docs/version-19.0.0/api/puppeteer.dialog.accept.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.dialog.accept.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.dialog.accept.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.defaultvalue.md b/website/versioned_docs/version-19.0.0/api/puppeteer.dialog.defaultvalue.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.dialog.defaultvalue.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.dialog.defaultvalue.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.dismiss.md b/website/versioned_docs/version-19.0.0/api/puppeteer.dialog.dismiss.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.dialog.dismiss.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.dialog.dismiss.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.md b/website/versioned_docs/version-19.0.0/api/puppeteer.dialog.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.dialog.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.dialog.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.message.md b/website/versioned_docs/version-19.0.0/api/puppeteer.dialog.message.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.dialog.message.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.dialog.message.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.dialog.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.dialog.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.dialog.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle._.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle._.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle._.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle._.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.__.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.__.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.__.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.__.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.__eval.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.__eval.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.__eval.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.__eval.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle._eval.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle._eval.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle._eval.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle._eval.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle._x.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle._x.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle._x.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle._x.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.aselement.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.aselement.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.aselement.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.aselement.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.boundingbox.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.boundingbox.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.boundingbox.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.boundingbox.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.boxmodel.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.boxmodel.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.boxmodel.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.boxmodel.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.click.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.click.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.click.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.click.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.clickablepoint.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.clickablepoint.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.clickablepoint.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.clickablepoint.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.contentframe.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.contentframe.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.contentframe.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.contentframe.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.drag.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.drag.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.drag.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.drag.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.draganddrop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.draganddrop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.draganddrop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.draganddrop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.dragenter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.dragenter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.dragenter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.dragenter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.dragover.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.dragover.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.dragover.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.dragover.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.drop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.drop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.drop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.drop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.focus.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.focus.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.focus.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.focus.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.frame.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.frame.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.frame.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.frame.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.hover.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.hover.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.hover.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.hover.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.isintersectingviewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.isintersectingviewport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.isintersectingviewport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.isintersectingviewport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.press.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.press.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.press.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.press.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.screenshot.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.screenshot.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.screenshot.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.screenshot.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.select.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.select.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.select.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.select.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.tap.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.tap.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.tap.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.tap.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.uploadfile.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.uploadfile.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.uploadfile.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.uploadfile.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.waitforselector.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.waitforselector.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.waitforselector.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.waitforselector.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.waitforxpath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.waitforxpath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.elementhandle.waitforxpath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.elementhandle.waitforxpath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.errorcode.md b/website/versioned_docs/version-19.0.0/api/puppeteer.errorcode.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.errorcode.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.errorcode.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.errors.md b/website/versioned_docs/version-19.0.0/api/puppeteer.errors.md new file mode 100644 index 00000000..eeb7d75b --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.errors.md @@ -0,0 +1,33 @@ +--- +sidebar_label: errors +--- + +# errors variable + +> Warning: This API is now obsolete. +> +> Import error classes directly. +> +> Puppeteer methods might throw errors if they are unable to fulfill a request. For example, `page.waitForSelector(selector[, options])` might fail if the selector doesn't match any nodes during the given timeframe. +> +> For certain types of errors Puppeteer uses specific error classes. These classes are available via `puppeteer.errors`. + +**Signature:** + +```typescript +errors: PuppeteerErrors; +``` + +## Example + +An example of handling a timeout error: + +```ts +try { + await page.waitForSelector('.foo'); +} catch (e) { + if (e instanceof TimeoutError) { + // Do something if this is a timeout. + } +} +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.evaluatefunc.md b/website/versioned_docs/version-19.0.0/api/puppeteer.evaluatefunc.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.evaluatefunc.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.evaluatefunc.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.evaluation_script_url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.evaluation_script_url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.evaluation_script_url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.evaluation_script_url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.addlistener.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.addlistener.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.addlistener.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.addlistener.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.emit.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.emit.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.emit.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.emit.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.listenercount.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.listenercount.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.listenercount.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.listenercount.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.off.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.off.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.off.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.off.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.on.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.on.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.on.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.on.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.once.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.once.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.once.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.once.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.removealllisteners.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.removealllisteners.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.removealllisteners.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.removealllisteners.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.removelistener.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.removelistener.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventemitter.removelistener.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventemitter.removelistener.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.eventtype.md b/website/versioned_docs/version-19.0.0/api/puppeteer.eventtype.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.eventtype.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.eventtype.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.executablepath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.executablepath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.executablepath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.executablepath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.accept.md b/website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.accept.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.accept.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.accept.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.cancel.md b/website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.cancel.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.cancel.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.cancel.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.ismultiple.md b/website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.ismultiple.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.ismultiple.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.ismultiple.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.md b/website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.filechooser.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.filechooser.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.flattenhandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.flattenhandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.flattenhandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.flattenhandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame._.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame._.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame._.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame._.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.__.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.__.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.__.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.__.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.__eval.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.__eval.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.__eval.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.__eval.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame._eval.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame._eval.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame._eval.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame._eval.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame._x.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame._x.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame._x.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame._x.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.addscripttag.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.addscripttag.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.addscripttag.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.addscripttag.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.addstyletag.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.addstyletag.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.addstyletag.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.addstyletag.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.addstyletag_1.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.addstyletag_1.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.addstyletag_1.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.addstyletag_1.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.childframes.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.childframes.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.childframes.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.childframes.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.click.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.click.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.click.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.click.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.content.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.content.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.content.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.content.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.evaluate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.evaluate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.evaluate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.evaluate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.evaluatehandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.evaluatehandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.evaluatehandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.evaluatehandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.focus.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.focus.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.focus.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.focus.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.goto.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.goto.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.goto.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.goto.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.hover.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.hover.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.hover.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.hover.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.isdetached.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.isdetached.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.isdetached.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.isdetached.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.isoopframe.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.isoopframe.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.isoopframe.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.isoopframe.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.name.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.name.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.name.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.name.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.page.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.page.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.page.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.page.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.parentframe.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.parentframe.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.parentframe.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.parentframe.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.select.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.select.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.select.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.select.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.setcontent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.setcontent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.setcontent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.setcontent.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.tap.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.tap.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.tap.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.tap.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.title.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.title.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.title.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.title.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitforfunction.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitforfunction.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitforfunction.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitforfunction.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitfornavigation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitfornavigation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitfornavigation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitfornavigation.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitforselector.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitforselector.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitforselector.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitforselector.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitfortimeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitfortimeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitfortimeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitfortimeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitforxpath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitforxpath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frame.waitforxpath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frame.waitforxpath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.content.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.content.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.content.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.content.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.id.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.id.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.id.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.id.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.path.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.path.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.path.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.path.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddscripttagoptions.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddscripttagoptions.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.content.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.content.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.content.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.content.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.path.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.path.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.path.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.path.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.frameaddstyletagoptions.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.frameaddstyletagoptions.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.framewaitforfunctionoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.framewaitforfunctionoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.framewaitforfunctionoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.framewaitforfunctionoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.framewaitforfunctionoptions.polling.md b/website/versioned_docs/version-19.0.0/api/puppeteer.framewaitforfunctionoptions.polling.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.framewaitforfunctionoptions.polling.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.framewaitforfunctionoptions.polling.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.framewaitforfunctionoptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.framewaitforfunctionoptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.framewaitforfunctionoptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.framewaitforfunctionoptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.accuracy.md b/website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.accuracy.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.accuracy.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.accuracy.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.latitude.md b/website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.latitude.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.latitude.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.latitude.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.longitude.md b/website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.longitude.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.longitude.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.longitude.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.geolocationoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.geolocationoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.handlefor.md b/website/versioned_docs/version-19.0.0/api/puppeteer.handlefor.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.handlefor.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.handlefor.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.handleor.md b/website/versioned_docs/version-19.0.0/api/puppeteer.handleor.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.handleor.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.handleor.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.handler.md b/website/versioned_docs/version-19.0.0/api/puppeteer.handler.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.handler.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.handler.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.abort.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.abort.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.abort.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.abort.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.aborterrorreason.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.aborterrorreason.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.aborterrorreason.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.aborterrorreason.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.client.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.client.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.client.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.client.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.continue.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.continue.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.continue.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.continue.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.continuerequestoverrides.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.continuerequestoverrides.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.continuerequestoverrides.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.continuerequestoverrides.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.enqueueinterceptaction.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.enqueueinterceptaction.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.enqueueinterceptaction.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.enqueueinterceptaction.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.failure.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.failure.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.failure.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.failure.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.finalizeinterceptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.finalizeinterceptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.finalizeinterceptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.finalizeinterceptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.frame.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.frame.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.frame.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.frame.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.headers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.headers.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.headers.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.headers.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.initiator.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.initiator.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.initiator.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.initiator.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.interceptresolutionstate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.interceptresolutionstate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.interceptresolutionstate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.interceptresolutionstate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.isinterceptresolutionhandled.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.isinterceptresolutionhandled.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.isinterceptresolutionhandled.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.isinterceptresolutionhandled.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.isnavigationrequest.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.isnavigationrequest.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.isnavigationrequest.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.isnavigationrequest.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.method.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.method.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.method.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.method.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.postdata.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.postdata.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.postdata.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.postdata.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.redirectchain.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.redirectchain.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.redirectchain.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.redirectchain.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.resourcetype.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.resourcetype.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.resourcetype.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.resourcetype.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.respond.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.respond.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.respond.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.respond.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.response.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.response.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.response.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.response.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.responseforrequest.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.responseforrequest.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.responseforrequest.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.responseforrequest.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httprequest.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httprequest.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.buffer.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.buffer.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.buffer.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.buffer.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.frame.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.frame.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.frame.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.frame.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.fromcache.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.fromcache.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.fromcache.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.fromcache.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.fromserviceworker.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.fromserviceworker.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.fromserviceworker.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.fromserviceworker.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.headers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.headers.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.headers.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.headers.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.json.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.json.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.json.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.json.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.ok.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.ok.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.ok.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.ok.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.remoteaddress.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.remoteaddress.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.remoteaddress.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.remoteaddress.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.request.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.request.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.request.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.request.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.securitydetails.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.securitydetails.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.securitydetails.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.securitydetails.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.status.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.status.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.status.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.status.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.statustext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.statustext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.statustext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.statustext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.text.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.text.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.text.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.text.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.timing.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.timing.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.timing.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.timing.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.httpresponse.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.innerparams.md b/website/versioned_docs/version-19.0.0/api/puppeteer.innerparams.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.innerparams.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.innerparams.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionaction.md b/website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionaction.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionaction.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionaction.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstate.action.md b/website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstate.action.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstate.action.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstate.action.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstate.priority.md b/website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstate.priority.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstate.priority.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstate.priority.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstrategy.md b/website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstrategy.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.interceptresolutionstrategy.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.interceptresolutionstrategy.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.internalnetworkconditions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.internalnetworkconditions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.internalnetworkconditions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.internalnetworkconditions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.internalnetworkconditions.offline.md b/website/versioned_docs/version-19.0.0/api/puppeteer.internalnetworkconditions.offline.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.internalnetworkconditions.offline.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.internalnetworkconditions.offline.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage._constructor_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage._constructor_.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage._constructor_.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage._constructor_.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.start.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.start.md similarity index 60% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.start.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.start.md index 278bb446..3f2738a6 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.start.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.start.md @@ -12,15 +12,16 @@ class JSCoverage { resetOnNavigation?: boolean; reportAnonymousScripts?: boolean; includeRawScriptCoverage?: boolean; + useBlockCoverage?: boolean; }): Promise; } ``` ## Parameters -| Parameter | Type | Description | -| --------- | ------------------------------------------------------------------------------------------------------ | ----------------- | -| options | { resetOnNavigation?: boolean; reportAnonymousScripts?: boolean; includeRawScriptCoverage?: boolean; } | (Optional) | +| Parameter | Type | Description | +| --------- | ---------------------------------------------------------------------------------------------------------------------------------- | ----------------- | +| options | { resetOnNavigation?: boolean; reportAnonymousScripts?: boolean; includeRawScriptCoverage?: boolean; useBlockCoverage?: boolean; } | (Optional) | **Returns:** diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.stop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.stop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverage.stop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverage.stop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageentry.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageentry.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageentry.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageentry.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageentry.rawscriptcoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageentry.rawscriptcoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageentry.rawscriptcoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageentry.rawscriptcoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.includerawscriptcoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.includerawscriptcoverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.includerawscriptcoverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.includerawscriptcoverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.md similarity index 53% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.md index aa7108c1..c2d752d7 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.md @@ -14,8 +14,9 @@ export interface JSCoverageOptions ## Properties -| Property | Modifiers | Type | Description | -| -------------------------------------------------------------------------------------- | --------- | ------- | ------------------------------------------------------------------------------------- | -| [includeRawScriptCoverage?](./puppeteer.jscoverageoptions.includerawscriptcoverage.md) | | boolean | (Optional) Whether the result includes raw V8 script coverage entries. | -| [reportAnonymousScripts?](./puppeteer.jscoverageoptions.reportanonymousscripts.md) | | boolean | (Optional) Whether anonymous scripts generated by the page should be reported. | -| [resetOnNavigation?](./puppeteer.jscoverageoptions.resetonnavigation.md) | | boolean | (Optional) Whether to reset coverage on every navigation. | +| Property | Modifiers | Type | Description | +| -------------------------------------------------------------------------------------- | --------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [includeRawScriptCoverage?](./puppeteer.jscoverageoptions.includerawscriptcoverage.md) | | boolean | (Optional) Whether the result includes raw V8 script coverage entries. | +| [reportAnonymousScripts?](./puppeteer.jscoverageoptions.reportanonymousscripts.md) | | boolean | (Optional) Whether anonymous scripts generated by the page should be reported. | +| [resetOnNavigation?](./puppeteer.jscoverageoptions.resetonnavigation.md) | | boolean | (Optional) Whether to reset coverage on every navigation. | +| [useBlockCoverage?](./puppeteer.jscoverageoptions.useblockcoverage.md) | | boolean | (Optional) Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level. | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.reportanonymousscripts.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.reportanonymousscripts.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.reportanonymousscripts.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.reportanonymousscripts.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.resetonnavigation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.resetonnavigation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jscoverageoptions.resetonnavigation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.resetonnavigation.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.useblockcoverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.useblockcoverage.md new file mode 100644 index 00000000..fe68dac8 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.jscoverageoptions.useblockcoverage.md @@ -0,0 +1,15 @@ +--- +sidebar_label: JSCoverageOptions.useBlockCoverage +--- + +# JSCoverageOptions.useBlockCoverage property + +Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level. + +**Signature:** + +```typescript +interface JSCoverageOptions { + useBlockCoverage?: boolean; +} +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.___jshandlesymbol_.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.___jshandlesymbol_.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.___jshandlesymbol_.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.___jshandlesymbol_.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.aselement.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.aselement.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.aselement.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.aselement.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.dispose.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.dispose.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.dispose.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.dispose.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.evaluate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.evaluate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.evaluate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.evaluate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.evaluatehandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.evaluatehandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.evaluatehandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.evaluatehandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.getproperties.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.getproperties.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.getproperties.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.getproperties.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.getproperty.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.getproperty.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.getproperty.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.getproperty.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.getproperty_1.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.getproperty_1.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.getproperty_1.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.getproperty_1.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.jsonvalue.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.jsonvalue.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.jsonvalue.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.jsonvalue.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.remoteobject.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.remoteobject.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.remoteobject.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.remoteobject.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.tostring.md b/website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.tostring.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.jshandle.tostring.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.jshandle.tostring.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.down.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.down.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.down.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.down.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.md similarity index 97% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.md index 023a4f3e..13e21faf 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.md @@ -16,7 +16,7 @@ export declare class Keyboard For finer control, you can use [Keyboard.down()](./puppeteer.keyboard.down.md), [Keyboard.up()](./puppeteer.keyboard.up.md), and [Keyboard.sendCharacter()](./puppeteer.keyboard.sendcharacter.md) to manually fire events as if they were generated from a real keyboard. -On MacOS, keyboard shortcuts like `⌘ A` -> Select All do not work. See [\#1313](https://github.com/puppeteer/puppeteer/issues/1313). +On macOS, keyboard shortcuts like `⌘ A` -> Select All do not work. See [\#1313](https://github.com/puppeteer/puppeteer/issues/1313). The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Keyboard` class. diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.press.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.press.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.press.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.press.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.sendcharacter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.sendcharacter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.sendcharacter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.sendcharacter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.up.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.up.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyboard.up.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyboard.up.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.keyinput.md b/website/versioned_docs/version-19.0.0/api/puppeteer.keyinput.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.keyinput.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.keyinput.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.knowndevices.md b/website/versioned_docs/version-19.0.0/api/puppeteer.knowndevices.md new file mode 100644 index 00000000..018e0b84 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.knowndevices.md @@ -0,0 +1,148 @@ +--- +sidebar_label: KnownDevices +--- + +# KnownDevices variable + +A list of devices to be used with [Page.emulate()](./puppeteer.page.emulate.md). + +**Signature:** + +```typescript +KnownDevices: Readonly< + Record< + | 'Blackberry PlayBook' + | 'Blackberry PlayBook landscape' + | 'BlackBerry Z30' + | 'BlackBerry Z30 landscape' + | 'Galaxy Note 3' + | 'Galaxy Note 3 landscape' + | 'Galaxy Note II' + | 'Galaxy Note II landscape' + | 'Galaxy S III' + | 'Galaxy S III landscape' + | 'Galaxy S5' + | 'Galaxy S5 landscape' + | 'Galaxy S8' + | 'Galaxy S8 landscape' + | 'Galaxy S9+' + | 'Galaxy S9+ landscape' + | 'Galaxy Tab S4' + | 'Galaxy Tab S4 landscape' + | 'iPad' + | 'iPad landscape' + | 'iPad (gen 6)' + | 'iPad (gen 6) landscape' + | 'iPad (gen 7)' + | 'iPad (gen 7) landscape' + | 'iPad Mini' + | 'iPad Mini landscape' + | 'iPad Pro' + | 'iPad Pro landscape' + | 'iPad Pro 11' + | 'iPad Pro 11 landscape' + | 'iPhone 4' + | 'iPhone 4 landscape' + | 'iPhone 5' + | 'iPhone 5 landscape' + | 'iPhone 6' + | 'iPhone 6 landscape' + | 'iPhone 6 Plus' + | 'iPhone 6 Plus landscape' + | 'iPhone 7' + | 'iPhone 7 landscape' + | 'iPhone 7 Plus' + | 'iPhone 7 Plus landscape' + | 'iPhone 8' + | 'iPhone 8 landscape' + | 'iPhone 8 Plus' + | 'iPhone 8 Plus landscape' + | 'iPhone SE' + | 'iPhone SE landscape' + | 'iPhone X' + | 'iPhone X landscape' + | 'iPhone XR' + | 'iPhone XR landscape' + | 'iPhone 11' + | 'iPhone 11 landscape' + | 'iPhone 11 Pro' + | 'iPhone 11 Pro landscape' + | 'iPhone 11 Pro Max' + | 'iPhone 11 Pro Max landscape' + | 'iPhone 12' + | 'iPhone 12 landscape' + | 'iPhone 12 Pro' + | 'iPhone 12 Pro landscape' + | 'iPhone 12 Pro Max' + | 'iPhone 12 Pro Max landscape' + | 'iPhone 12 Mini' + | 'iPhone 12 Mini landscape' + | 'iPhone 13' + | 'iPhone 13 landscape' + | 'iPhone 13 Pro' + | 'iPhone 13 Pro landscape' + | 'iPhone 13 Pro Max' + | 'iPhone 13 Pro Max landscape' + | 'iPhone 13 Mini' + | 'iPhone 13 Mini landscape' + | 'JioPhone 2' + | 'JioPhone 2 landscape' + | 'Kindle Fire HDX' + | 'Kindle Fire HDX landscape' + | 'LG Optimus L70' + | 'LG Optimus L70 landscape' + | 'Microsoft Lumia 550' + | 'Microsoft Lumia 950' + | 'Microsoft Lumia 950 landscape' + | 'Nexus 10' + | 'Nexus 10 landscape' + | 'Nexus 4' + | 'Nexus 4 landscape' + | 'Nexus 5' + | 'Nexus 5 landscape' + | 'Nexus 5X' + | 'Nexus 5X landscape' + | 'Nexus 6' + | 'Nexus 6 landscape' + | 'Nexus 6P' + | 'Nexus 6P landscape' + | 'Nexus 7' + | 'Nexus 7 landscape' + | 'Nokia Lumia 520' + | 'Nokia Lumia 520 landscape' + | 'Nokia N9' + | 'Nokia N9 landscape' + | 'Pixel 2' + | 'Pixel 2 landscape' + | 'Pixel 2 XL' + | 'Pixel 2 XL landscape' + | 'Pixel 3' + | 'Pixel 3 landscape' + | 'Pixel 4' + | 'Pixel 4 landscape' + | 'Pixel 4a (5G)' + | 'Pixel 4a (5G) landscape' + | 'Pixel 5' + | 'Pixel 5 landscape' + | 'Moto G4' + | 'Moto G4 landscape', + Device + > +>; +``` + +## Example + +```ts +import {KnownDevices} from 'puppeteer'; +const iPhone = KnownDevices['iPhone 6']; + +(async () => { + const browser = await puppeteer.launch(); + const page = await browser.newPage(); + await page.emulate(iPhone); + await page.goto('https://www.google.com'); + // other actions... + await browser.close(); +})(); +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launch.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launch.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launch.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launch.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.channel.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.channel.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.channel.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.channel.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.dumpio.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.dumpio.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.dumpio.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.dumpio.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.env.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.env.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.env.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.env.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.executablepath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.executablepath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.executablepath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.executablepath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.extraprefsfirefox.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.extraprefsfirefox.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.extraprefsfirefox.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.handlesighup.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.handlesighup.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.handlesighup.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.handlesighup.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.handlesigint.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.handlesigint.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.handlesigint.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.handlesigint.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.handlesigterm.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.handlesigterm.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.handlesigterm.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.handlesigterm.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.ignoredefaultargs.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.ignoredefaultargs.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.ignoredefaultargs.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.ignoredefaultargs.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.pipe.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.pipe.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.pipe.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.pipe.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.waitforinitialpage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.waitforinitialpage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.launchoptions.waitforinitialpage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.launchoptions.waitforinitialpage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.lowercasepaperformat.md b/website/versioned_docs/version-19.0.0/api/puppeteer.lowercasepaperformat.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.lowercasepaperformat.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.lowercasepaperformat.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mediafeature.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mediafeature.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mediafeature.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mediafeature.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mediafeature.name.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mediafeature.name.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mediafeature.name.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mediafeature.name.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mediafeature.value.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mediafeature.value.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mediafeature.value.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mediafeature.value.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.documents.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.documents.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.documents.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.documents.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.frames.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.frames.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.frames.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.frames.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.jseventlisteners.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.jseventlisteners.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.jseventlisteners.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.jseventlisteners.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.jsheaptotalsize.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.jsheaptotalsize.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.jsheaptotalsize.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.jsheaptotalsize.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.jsheapusedsize.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.jsheapusedsize.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.jsheapusedsize.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.jsheapusedsize.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.layoutcount.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.layoutcount.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.layoutcount.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.layoutcount.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.layoutduration.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.layoutduration.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.layoutduration.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.layoutduration.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.nodes.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.nodes.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.nodes.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.nodes.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.recalcstylecount.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.recalcstylecount.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.recalcstylecount.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.recalcstylecount.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.recalcstyleduration.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.recalcstyleduration.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.recalcstyleduration.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.recalcstyleduration.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.scriptduration.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.scriptduration.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.scriptduration.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.scriptduration.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.taskduration.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.taskduration.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.taskduration.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.taskduration.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.metrics.timestamp.md b/website/versioned_docs/version-19.0.0/api/puppeteer.metrics.timestamp.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.metrics.timestamp.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.metrics.timestamp.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.click.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.click.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.click.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.click.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.down.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.down.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.down.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.down.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.drag.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.drag.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.drag.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.drag.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.draganddrop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.draganddrop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.draganddrop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.draganddrop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.dragenter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.dragenter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.dragenter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.dragenter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.dragover.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.dragover.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.dragover.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.dragover.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.drop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.drop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.drop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.drop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.move.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.move.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.move.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.move.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.up.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.up.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.up.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.up.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouse.wheel.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouse.wheel.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouse.wheel.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouse.wheel.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mousebutton.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mousebutton.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mousebutton.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mousebutton.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouseoptions.button.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouseoptions.button.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouseoptions.button.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouseoptions.button.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouseoptions.clickcount.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouseoptions.clickcount.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouseoptions.clickcount.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouseoptions.clickcount.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mouseoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mouseoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mouseoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mouseoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mousewheeloptions.deltax.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mousewheeloptions.deltax.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mousewheeloptions.deltax.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mousewheeloptions.deltax.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mousewheeloptions.deltay.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mousewheeloptions.deltay.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mousewheeloptions.deltay.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mousewheeloptions.deltay.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.mousewheeloptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.mousewheeloptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.mousewheeloptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.mousewheeloptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.download.md b/website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.download.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.download.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.download.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.latency.md b/website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.latency.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.latency.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.latency.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.md new file mode 100644 index 00000000..2ed13349 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.md @@ -0,0 +1,18 @@ +--- +sidebar_label: networkConditions +--- + +# networkConditions variable + +> Warning: This API is now obsolete. +> +> Import [PredefinedNetworkConditions](./puppeteer.predefinednetworkconditions.md). + +**Signature:** + +```typescript +networkConditions: Readonly<{ + 'Slow 3G': NetworkConditions; + 'Fast 3G': NetworkConditions; +}>; +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.upload.md b/website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.upload.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.networkconditions.upload.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.networkconditions.upload.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.nodefor.md b/website/versioned_docs/version-19.0.0/api/puppeteer.nodefor.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.nodefor.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.nodefor.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.offset.md b/website/versioned_docs/version-19.0.0/api/puppeteer.offset.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.offset.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.offset.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.offset.x.md b/website/versioned_docs/version-19.0.0/api/puppeteer.offset.x.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.offset.x.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.offset.x.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.offset.y.md b/website/versioned_docs/version-19.0.0/api/puppeteer.offset.y.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.offset.y.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.offset.y.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page._.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page._.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page._.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page._.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.__.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.__.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.__.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.__.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.__eval.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.__eval.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.__eval.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.__eval.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page._eval.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page._eval.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page._eval.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page._eval.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page._x.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page._x.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page._x.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page._x.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.accessibility.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.accessibility.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.accessibility.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.accessibility.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.addscripttag.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.addscripttag.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.addscripttag.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.addscripttag.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.addstyletag.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.addstyletag.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.addstyletag.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.addstyletag.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.addstyletag_1.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.addstyletag_1.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.addstyletag_1.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.addstyletag_1.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.addstyletag_2.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.addstyletag_2.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.addstyletag_2.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.addstyletag_2.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.authenticate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.authenticate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.authenticate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.authenticate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.bringtofront.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.bringtofront.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.bringtofront.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.bringtofront.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.browser.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.browser.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.browser.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.browser.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.browsercontext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.browsercontext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.browsercontext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.browsercontext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.click.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.click.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.click.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.click.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.close.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.close.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.close.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.close.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.content.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.content.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.content.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.content.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.cookies.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.cookies.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.cookies.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.cookies.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.coverage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.coverage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.coverage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.coverage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.createpdfstream.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.createpdfstream.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.createpdfstream.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.createpdfstream.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.deletecookie.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.deletecookie.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.deletecookie.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.deletecookie.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulate.md new file mode 100644 index 00000000..32bf0edd --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulate.md @@ -0,0 +1,47 @@ +--- +sidebar_label: Page.emulate +--- + +# Page.emulate() method + +Emulates a given device's metrics and user agent. + +To aid emulation, Puppeteer provides a list of known devices that can be via [KnownDevices](./puppeteer.knowndevices.md). + +**Signature:** + +```typescript +class Page { + emulate(device: Device): Promise; +} +``` + +## Parameters + +| Parameter | Type | Description | +| --------- | ------------------------------- | ----------- | +| device | [Device](./puppeteer.device.md) | | + +**Returns:** + +Promise<void> + +## Remarks + +This method will resize the page. A lot of websites don't expect phones to change size, so you should emulate before navigating to the page. + +## Example + +```ts +import {KnownDevices} from 'puppeteer'; +const iPhone = KnownDevices['iPhone 6']; + +(async () => { + const browser = await puppeteer.launch(); + const page = await browser.newPage(); + await page.emulate(iPhone); + await page.goto('https://www.google.com'); + // other actions... + await browser.close(); +})(); +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatecputhrottling.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatecputhrottling.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatecputhrottling.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatecputhrottling.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulateidlestate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulateidlestate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulateidlestate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulateidlestate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatemediafeatures.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatemediafeatures.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatemediafeatures.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatemediafeatures.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatemediatype.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatemediatype.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatemediatype.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatemediatype.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatenetworkconditions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatenetworkconditions.md similarity index 69% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatenetworkconditions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatenetworkconditions.md index 6729e570..dac0edf0 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatenetworkconditions.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatenetworkconditions.md @@ -4,6 +4,10 @@ sidebar_label: Page.emulateNetworkConditions # Page.emulateNetworkConditions() method +This does not affect WebSockets and WebRTC PeerConnections (see https://crbug.com/563644). To set the page offline, you can use [Page.setOfflineMode()](./puppeteer.page.setofflinemode.md). + +A list of predefined network conditions can be used by importing [PredefinedNetworkConditions](./puppeteer.predefinednetworkconditions.md). + **Signature:** ```typescript @@ -24,15 +28,11 @@ class Page { Promise<void> -## Remarks - -NOTE: This does not affect WebSockets and WebRTC PeerConnections (see https://crbug.com/563644). To set the page offline, you can use \[page.setOfflineMode(enabled)\](\#pagesetofflinemodeenabled). - ## Example ```ts -const puppeteer = require('puppeteer'); -const slow3G = puppeteer.networkConditions['Slow 3G']; +import {PredefinedNetworkConditions} from 'puppeteer'; +const slow3G = PredefinedNetworkConditions['Slow 3G']; (async () => { const browser = await puppeteer.launch(); diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatetimezone.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatetimezone.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatetimezone.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatetimezone.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatevisiondeficiency.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatevisiondeficiency.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.emulatevisiondeficiency.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.emulatevisiondeficiency.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.evaluate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.evaluate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.evaluate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.evaluate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.evaluatehandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.evaluatehandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.evaluatehandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.evaluatehandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.evaluateonnewdocument.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.evaluateonnewdocument.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.evaluateonnewdocument.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.evaluateonnewdocument.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.exposefunction.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.exposefunction.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.exposefunction.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.exposefunction.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.focus.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.focus.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.focus.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.focus.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.frames.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.frames.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.frames.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.frames.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.getdefaulttimeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.getdefaulttimeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.getdefaulttimeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.getdefaulttimeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.goback.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.goback.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.goback.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.goback.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.goforward.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.goforward.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.goforward.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.goforward.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.goto.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.goto.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.goto.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.goto.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.hover.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.hover.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.hover.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.hover.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.isclosed.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.isclosed.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.isclosed.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.isclosed.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.isdraginterceptionenabled.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.isdraginterceptionenabled.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.isdraginterceptionenabled.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.isdraginterceptionenabled.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.isjavascriptenabled.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.isjavascriptenabled.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.isjavascriptenabled.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.isjavascriptenabled.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.keyboard.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.keyboard.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.keyboard.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.keyboard.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.mainframe.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.mainframe.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.mainframe.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.mainframe.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.md similarity index 98% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.md index abfc4da5..132727b9 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.page.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.page.md @@ -95,12 +95,12 @@ page.off('request', logRequest); | [cookies(urls)](./puppeteer.page.cookies.md) | | If no URLs are specified, this method returns cookies for the current page URL. If URLs are specified, only cookies for those URLs are returned. | | [createPDFStream(options)](./puppeteer.page.createpdfstream.md) | | Generates a PDF of the page with the print CSS media type. | | [deleteCookie(cookies)](./puppeteer.page.deletecookie.md) | | | -| [emulate(options)](./puppeteer.page.emulate.md) | | Emulates given device metrics and user agent. | +| [emulate(device)](./puppeteer.page.emulate.md) | |

Emulates a given device's metrics and user agent.

To aid emulation, Puppeteer provides a list of known devices that can be via [KnownDevices](./puppeteer.knowndevices.md).

| | [emulateCPUThrottling(factor)](./puppeteer.page.emulatecputhrottling.md) | | Enables CPU throttling to emulate slow CPUs. | | [emulateIdleState(overrides)](./puppeteer.page.emulateidlestate.md) | | Emulates the idle state. If no arguments set, clears idle state emulation. | | [emulateMediaFeatures(features)](./puppeteer.page.emulatemediafeatures.md) | | | | [emulateMediaType(type)](./puppeteer.page.emulatemediatype.md) | | | -| [emulateNetworkConditions(networkConditions)](./puppeteer.page.emulatenetworkconditions.md) | | | +| [emulateNetworkConditions(networkConditions)](./puppeteer.page.emulatenetworkconditions.md) | |

This does not affect WebSockets and WebRTC PeerConnections (see https://crbug.com/563644). To set the page offline, you can use [Page.setOfflineMode()](./puppeteer.page.setofflinemode.md).

A list of predefined network conditions can be used by importing [PredefinedNetworkConditions](./puppeteer.predefinednetworkconditions.md).

| | [emulateTimezone(timezoneId)](./puppeteer.page.emulatetimezone.md) | | | | [emulateVisionDeficiency(type)](./puppeteer.page.emulatevisiondeficiency.md) | | Simulates the given vision deficiency on the page. | | [evaluate(pageFunction, args)](./puppeteer.page.evaluate.md) | |

Evaluates a function in the page's context and returns the result.

If the function passed to page.evaluteHandle returns a Promise, the function will wait for the promise to resolve and return its value.

| @@ -137,7 +137,7 @@ page.off('request', logRequest); | [setExtraHTTPHeaders(headers)](./puppeteer.page.setextrahttpheaders.md) | |

The extra HTTP headers will be sent with every request the page initiates.

:::tip

All HTTP header names are lowercased. (HTTP headers are case-insensitive, so this shouldn’t impact your server code.)

:::

:::note

page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing requests.

:::

| | [setGeolocation(options)](./puppeteer.page.setgeolocation.md) | | Sets the page's geolocation. | | [setJavaScriptEnabled(enabled)](./puppeteer.page.setjavascriptenabled.md) | | | -| [setOfflineMode(enabled)](./puppeteer.page.setofflinemode.md) | | | +| [setOfflineMode(enabled)](./puppeteer.page.setofflinemode.md) | |

Sets the network connection to offline.

It does not change the parameters used in [Page.emulateNetworkConditions()](./puppeteer.page.emulatenetworkconditions.md)

| | [setRequestInterception(value)](./puppeteer.page.setrequestinterception.md) | |

Activating request interception enables [HTTPRequest.abort()](./puppeteer.httprequest.abort.md), [HTTPRequest.continue()](./puppeteer.httprequest.continue.md) and [HTTPRequest.respond()](./puppeteer.httprequest.respond.md) methods. This provides the capability to modify network requests that are made by a page.

Once request interception is enabled, every request will stall unless it's continued, responded or aborted; or completed using the browser cache.

Enabling request interception disables page caching.

See the [Request interception guide](https://pptr.dev/next/guides/request-interception) for more details.

| | [setUserAgent(userAgent, userAgentMetadata)](./puppeteer.page.setuseragent.md) | | | | [setViewport(viewport)](./puppeteer.page.setviewport.md) | |

page.setViewport will resize the page. A lot of websites don't expect phones to change size, so you should set the viewport before navigating to the page.

In the case of multiple pages in a single browser, each page can have its own viewport size.

| diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.metrics.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.metrics.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.metrics.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.metrics.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.mouse.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.mouse.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.mouse.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.mouse.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.off.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.off.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.off.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.off.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.on.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.on.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.on.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.on.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.once.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.once.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.once.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.once.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.pdf.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.pdf.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.pdf.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.pdf.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.queryobjects.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.queryobjects.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.queryobjects.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.queryobjects.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.reload.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.reload.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.reload.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.reload.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.screenshot.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.screenshot.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.screenshot.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.screenshot.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.select.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.select.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.select.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.select.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setbypasscsp.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setbypasscsp.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setbypasscsp.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setbypasscsp.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setcacheenabled.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setcacheenabled.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setcacheenabled.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setcacheenabled.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setcontent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setcontent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setcontent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setcontent.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setcookie.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setcookie.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setcookie.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setcookie.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setdefaultnavigationtimeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setdefaultnavigationtimeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setdefaultnavigationtimeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setdefaultnavigationtimeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setdefaulttimeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setdefaulttimeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setdefaulttimeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setdefaulttimeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setdraginterception.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setdraginterception.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setdraginterception.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setdraginterception.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setextrahttpheaders.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setextrahttpheaders.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setextrahttpheaders.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setextrahttpheaders.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setgeolocation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setgeolocation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setgeolocation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setgeolocation.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setjavascriptenabled.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setjavascriptenabled.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setjavascriptenabled.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setjavascriptenabled.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setofflinemode.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setofflinemode.md similarity index 68% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setofflinemode.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setofflinemode.md index d706b8de..0a1fd7f9 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setofflinemode.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setofflinemode.md @@ -4,6 +4,10 @@ sidebar_label: Page.setOfflineMode # Page.setOfflineMode() method +Sets the network connection to offline. + +It does not change the parameters used in [Page.emulateNetworkConditions()](./puppeteer.page.emulatenetworkconditions.md) + **Signature:** ```typescript @@ -21,7 +25,3 @@ class Page { **Returns:** Promise<void> - -## Remarks - -NOTE: while this method sets the network connection to offline, it does not change the parameters used in \[page.emulateNetworkConditions(networkConditions)\] (\#pageemulatenetworkconditionsnetworkconditions) diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setrequestinterception.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setrequestinterception.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setrequestinterception.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setrequestinterception.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setuseragent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setuseragent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setuseragent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setuseragent.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.setviewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.setviewport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.setviewport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.setviewport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.tap.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.tap.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.tap.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.tap.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.target.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.target.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.target.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.target.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.title.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.title.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.title.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.title.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.touchscreen.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.touchscreen.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.touchscreen.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.touchscreen.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.tracing.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.tracing.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.tracing.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.tracing.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.viewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.viewport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.viewport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.viewport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforfilechooser.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforfilechooser.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforfilechooser.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforfilechooser.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforframe.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforframe.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforframe.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforframe.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforfunction.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforfunction.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforfunction.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforfunction.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfornavigation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitfornavigation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfornavigation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitfornavigation.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfornetworkidle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitfornetworkidle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfornetworkidle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitfornetworkidle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforrequest.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforrequest.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforrequest.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforrequest.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforresponse.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforresponse.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforresponse.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforresponse.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforselector.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforselector.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforselector.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforselector.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfortimeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitfortimeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfortimeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitfortimeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforxpath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforxpath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.waitforxpath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.waitforxpath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.page.workers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.page.workers.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.page.workers.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.page.workers.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageemittedevents.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageemittedevents.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageemittedevents.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageemittedevents.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.close.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.close.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.close.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.close.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.console.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.console.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.console.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.console.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.dialog.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.dialog.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.dialog.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.dialog.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.domcontentloaded.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.domcontentloaded.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.domcontentloaded.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.domcontentloaded.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.error.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.error.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.error.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.error.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.frameattached.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.frameattached.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.frameattached.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.frameattached.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.framedetached.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.framedetached.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.framedetached.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.framedetached.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.framenavigated.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.framenavigated.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.framenavigated.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.framenavigated.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.load.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.load.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.load.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.load.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.metrics.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.metrics.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.metrics.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.metrics.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.pageerror.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.pageerror.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.pageerror.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.pageerror.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.popup.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.popup.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.popup.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.popup.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.request.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.request.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.request.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.request.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.requestfailed.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.requestfailed.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.requestfailed.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.requestfailed.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.requestfinished.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.requestfinished.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.requestfinished.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.requestfinished.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.requestservedfromcache.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.requestservedfromcache.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.requestservedfromcache.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.requestservedfromcache.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.response.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.response.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.response.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.response.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.workercreated.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.workercreated.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.workercreated.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.workercreated.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.workerdestroyed.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.workerdestroyed.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pageeventobject.workerdestroyed.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pageeventobject.workerdestroyed.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.paperformat.md b/website/versioned_docs/version-19.0.0/api/puppeteer.paperformat.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.paperformat.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.paperformat.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.bottom.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.bottom.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.bottom.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.bottom.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.left.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.left.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.left.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.left.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.right.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.right.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.right.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.right.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.top.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.top.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfmargin.top.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfmargin.top.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.displayheaderfooter.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.displayheaderfooter.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.displayheaderfooter.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.displayheaderfooter.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.footertemplate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.footertemplate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.footertemplate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.footertemplate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.format.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.format.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.format.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.format.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.headertemplate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.headertemplate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.headertemplate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.headertemplate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.height.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.height.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.height.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.height.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.landscape.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.landscape.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.landscape.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.landscape.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.margin.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.margin.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.margin.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.margin.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.omitbackground.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.omitbackground.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.omitbackground.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.omitbackground.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.pageranges.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.pageranges.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.pageranges.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.pageranges.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.path.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.path.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.path.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.path.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.prefercsspagesize.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.prefercsspagesize.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.prefercsspagesize.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.prefercsspagesize.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.printbackground.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.printbackground.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.printbackground.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.printbackground.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.scale.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.scale.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.scale.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.scale.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.width.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.width.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.width.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pdfoptions.width.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.permission.md b/website/versioned_docs/version-19.0.0/api/puppeteer.permission.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.permission.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.permission.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.platform.md b/website/versioned_docs/version-19.0.0/api/puppeteer.platform.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.platform.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.platform.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.point.md b/website/versioned_docs/version-19.0.0/api/puppeteer.point.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.point.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.point.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.point.x.md b/website/versioned_docs/version-19.0.0/api/puppeteer.point.x.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.point.x.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.point.x.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.point.y.md b/website/versioned_docs/version-19.0.0/api/puppeteer.point.y.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.point.y.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.point.y.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.predefinednetworkconditions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.predefinednetworkconditions.md new file mode 100644 index 00000000..ec88b6c0 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.predefinednetworkconditions.md @@ -0,0 +1,32 @@ +--- +sidebar_label: PredefinedNetworkConditions +--- + +# PredefinedNetworkConditions variable + +A list of network conditions to be used with [Page.emulateNetworkConditions()](./puppeteer.page.emulatenetworkconditions.md). + +**Signature:** + +```typescript +PredefinedNetworkConditions: Readonly<{ + 'Slow 3G': NetworkConditions; + 'Fast 3G': NetworkConditions; +}>; +``` + +## Example + +```ts +import {PredefinedNetworkConditions} from 'puppeteer'; +const slow3G = PredefinedNetworkConditions['Slow 3G']; + +(async () => { + const browser = await puppeteer.launch(); + const page = await browser.newPage(); + await page.emulateNetworkConditions(slow3G); + await page.goto('https://www.google.com'); + // other actions... + await browser.close(); +})(); +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.delay.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pressoptions.delay.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.delay.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pressoptions.delay.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pressoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pressoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.text.md b/website/versioned_docs/version-19.0.0/api/puppeteer.pressoptions.text.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.text.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.pressoptions.text.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.defaultargs.md b/website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.defaultargs.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.defaultargs.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.defaultargs.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.executablepath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.executablepath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.executablepath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.executablepath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.launch.md b/website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.launch.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.launch.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.launch.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.md b/website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.productlauncher.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.productlauncher.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.code.md b/website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.code.md similarity index 77% rename from website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.code.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.code.md index a6e01b17..20c09541 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.code.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.code.md @@ -8,6 +8,6 @@ sidebar_label: ProtocolError.code ```typescript class ProtocolError { - code?: number; + set code(code: number | undefined); } ``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.md b/website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.md similarity index 64% rename from website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.md index a9492d53..180e7f30 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.md @@ -16,7 +16,7 @@ export declare class ProtocolError extends CustomError ## Properties -| Property | Modifiers | Type | Description | -| --------------------------------------------------------------- | --------- | ------ | ----------------- | -| [code?](./puppeteer.protocolerror.code.md) | | number | (Optional) | -| [originalMessage](./puppeteer.protocolerror.originalmessage.md) | | string | | +| Property | Modifiers | Type | Description | +| --------------------------------------------------------------- | --------- | ------------------- | ----------- | +| [code](./puppeteer.protocolerror.code.md) | | number \| undefined | | +| [originalMessage](./puppeteer.protocolerror.originalmessage.md) | | string | | diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.originalmessage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.originalmessage.md similarity index 76% rename from website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.originalmessage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.originalmessage.md index 5dd13b88..440af0b2 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.protocolerror.originalmessage.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.protocolerror.originalmessage.md @@ -8,6 +8,6 @@ sidebar_label: ProtocolError.originalMessage ```typescript class ProtocolError { - originalMessage: string; + set originalMessage(originalMessage: string); } ``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.protocollifecycleevent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.protocollifecycleevent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.protocollifecycleevent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.protocollifecycleevent.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.clearcustomqueryhandlers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.clearcustomqueryhandlers.md similarity index 50% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.clearcustomqueryhandlers.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.clearcustomqueryhandlers.md index 650614c8..d0bebcfd 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.clearcustomqueryhandlers.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.clearcustomqueryhandlers.md @@ -4,24 +4,16 @@ sidebar_label: Puppeteer.clearCustomQueryHandlers # Puppeteer.clearCustomQueryHandlers() method -> Warning: This API is now obsolete. -> -> Import directly puppeteer. +Unregisters all custom query handlers. **Signature:** ```typescript class Puppeteer { - clearCustomQueryHandlers(): void; + static clearCustomQueryHandlers(): void; } ``` **Returns:** void - -## Example - -```ts -import {clearCustomQueryHandlers} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.connect.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.connect.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.connect.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.connect.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.customqueryhandlernames.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.customqueryhandlernames.md similarity index 50% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.customqueryhandlernames.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.customqueryhandlernames.md index 5fe78a4f..09e3352d 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.customqueryhandlernames.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.customqueryhandlernames.md @@ -4,24 +4,16 @@ sidebar_label: Puppeteer.customQueryHandlerNames # Puppeteer.customQueryHandlerNames() method -> Warning: This API is now obsolete. -> -> Import directly puppeteer. +Gets the names of all custom query handlers. **Signature:** ```typescript class Puppeteer { - customQueryHandlerNames(): string[]; + static customQueryHandlerNames(): string[]; } ``` **Returns:** string\[\] - -## Example - -```ts -import {customQueryHandlerNames} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.md new file mode 100644 index 00000000..cd237575 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.md @@ -0,0 +1,29 @@ +--- +sidebar_label: Puppeteer +--- + +# Puppeteer class + +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). + +**Signature:** + +```typescript +export declare class Puppeteer +``` + +## Remarks + +The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Puppeteer` class. + +## Methods + +| Method | Modifiers | Description | +| ----------------------------------------------------------------------------------------------------- | ------------------- | ---------------------------------------------------------------------- | +| [clearCustomQueryHandlers()](./puppeteer.puppeteer.clearcustomqueryhandlers.md) | static | Unregisters all custom query handlers. | +| [connect(options)](./puppeteer.puppeteer.connect.md) | | This method attaches Puppeteer to an existing browser instance. | +| [customQueryHandlerNames()](./puppeteer.puppeteer.customqueryhandlernames.md) | static | Gets the names of all custom query handlers. | +| [registerCustomQueryHandler(name, queryHandler)](./puppeteer.puppeteer.registercustomqueryhandler.md) | static | Registers a [custom query handler](./puppeteer.customqueryhandler.md). | +| [unregisterCustomQueryHandler(name)](./puppeteer.puppeteer.unregistercustomqueryhandler.md) | static | Unregisters a custom query handler for a given name. | diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.registercustomqueryhandler.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.registercustomqueryhandler.md new file mode 100644 index 00000000..03afea75 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.registercustomqueryhandler.md @@ -0,0 +1,40 @@ +--- +sidebar_label: Puppeteer.registerCustomQueryHandler +--- + +# Puppeteer.registerCustomQueryHandler() method + +Registers a [custom query handler](./puppeteer.customqueryhandler.md). + +**Signature:** + +```typescript +class Puppeteer { + static registerCustomQueryHandler( + name: string, + queryHandler: CustomQueryHandler + ): void; +} +``` + +## Parameters + +| Parameter | Type | Description | +| ------------ | ------------------------------------------------------- | -------------------------------------------------------------------------- | +| name | string | The name that the custom query handler will be registered under. | +| queryHandler | [CustomQueryHandler](./puppeteer.customqueryhandler.md) | The [custom query handler](./puppeteer.customqueryhandler.md) to register. | + +**Returns:** + +void + +## Remarks + +After registration, the handler can be used everywhere where a selector is expected by prepending the selection string with `/`. The name is only allowed to consist of lower- and upper case latin letters. + +## Example + +``` +puppeteer.registerCustomQueryHandler('text', { … }); +const aHandle = await page.$('text/…'); +``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.unregistercustomqueryhandler.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.unregistercustomqueryhandler.md similarity index 61% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.unregistercustomqueryhandler.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.unregistercustomqueryhandler.md index e15682fc..85333198 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteer.unregistercustomqueryhandler.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteer.unregistercustomqueryhandler.md @@ -4,15 +4,13 @@ sidebar_label: Puppeteer.unregisterCustomQueryHandler # Puppeteer.unregisterCustomQueryHandler() method -> Warning: This API is now obsolete. -> -> Import directly puppeteer. +Unregisters a custom query handler for a given name. **Signature:** ```typescript class Puppeteer { - unregisterCustomQueryHandler(name: string): void; + static unregisterCustomQueryHandler(name: string): void; } ``` @@ -25,9 +23,3 @@ class Puppeteer { **Returns:** void - -## Example - -```ts -import {unregisterCustomQueryHandler} from 'puppeteer'; -``` diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.md similarity index 93% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.md index e0bdd7a1..c52ef868 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.md @@ -4,6 +4,10 @@ sidebar_label: PuppeteerErrors # PuppeteerErrors interface +> Warning: This API is now obsolete. +> +> Do not use. + **Signature:** ```typescript diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.protocolerror.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.protocolerror.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.protocolerror.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.protocolerror.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.timeouterror.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.timeouterror.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteererrors.timeouterror.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteererrors.timeouterror.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlaunchoptions.extraprefsfirefox.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlaunchoptions.extraprefsfirefox.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlaunchoptions.extraprefsfirefox.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlaunchoptions.extraprefsfirefox.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlaunchoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlaunchoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlaunchoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlaunchoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlaunchoptions.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlaunchoptions.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlaunchoptions.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlaunchoptions.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlifecycleevent.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlifecycleevent.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteerlifecycleevent.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteerlifecycleevent.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.connect.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.connect.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.connect.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.connect.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.createbrowserfetcher.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.createbrowserfetcher.md similarity index 86% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.createbrowserfetcher.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.createbrowserfetcher.md index beaf98a0..26739dfb 100644 --- a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.createbrowserfetcher.md +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.createbrowserfetcher.md @@ -4,6 +4,10 @@ sidebar_label: PuppeteerNode.createBrowserFetcher # PuppeteerNode.createBrowserFetcher() method +> Warning: This API is now obsolete. +> +> Import [BrowserFetcher](./puppeteer.browserfetcher.md) directly and use the constructor. + **Signature:** ```typescript diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.defaultargs.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.defaultargs.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.defaultargs.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.defaultargs.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.executablepath.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.executablepath.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.executablepath.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.executablepath.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.launch.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.launch.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.launch.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.launch.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.product.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.product.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernode.product.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernode.product.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernodelaunchoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernodelaunchoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.puppeteernodelaunchoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.puppeteernodelaunchoptions.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.registercustomqueryhandler.md b/website/versioned_docs/version-19.0.0/api/puppeteer.registercustomqueryhandler.md new file mode 100644 index 00000000..f0591dad --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.registercustomqueryhandler.md @@ -0,0 +1,29 @@ +--- +sidebar_label: registerCustomQueryHandler +--- + +# registerCustomQueryHandler() function + +> Warning: This API is now obsolete. +> +> Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.registerCustomQueryHandler()](./puppeteer.puppeteer.registercustomqueryhandler.md) + +**Signature:** + +```typescript +export declare function registerCustomQueryHandler( + name: string, + handler: CustomQueryHandler +): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --------- | ------------------------------------------------------- | ----------- | +| name | string | | +| handler | [CustomQueryHandler](./puppeteer.customqueryhandler.md) | | + +**Returns:** + +void diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.remoteaddress.ip.md b/website/versioned_docs/version-19.0.0/api/puppeteer.remoteaddress.ip.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.remoteaddress.ip.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.remoteaddress.ip.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.remoteaddress.md b/website/versioned_docs/version-19.0.0/api/puppeteer.remoteaddress.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.remoteaddress.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.remoteaddress.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.remoteaddress.port.md b/website/versioned_docs/version-19.0.0/api/puppeteer.remoteaddress.port.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.remoteaddress.port.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.remoteaddress.port.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.resourcetype.md b/website/versioned_docs/version-19.0.0/api/puppeteer.resourcetype.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.resourcetype.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.resourcetype.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.body.md b/website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.body.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.body.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.body.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.contenttype.md b/website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.contenttype.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.contenttype.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.contenttype.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.headers.md b/website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.headers.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.headers.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.headers.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.md b/website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.status.md b/website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.status.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.responseforrequest.status.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.responseforrequest.status.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.height.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.height.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.height.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.height.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.scale.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.scale.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.scale.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.scale.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.width.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.width.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.width.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.width.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.x.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.x.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.x.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.x.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.y.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.y.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotclip.y.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotclip.y.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.capturebeyondviewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.capturebeyondviewport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.capturebeyondviewport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.capturebeyondviewport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.clip.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.clip.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.clip.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.clip.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.encoding.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.encoding.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.encoding.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.encoding.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.fromsurface.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.fromsurface.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.fromsurface.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.fromsurface.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.fullpage.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.fullpage.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.fullpage.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.fullpage.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.omitbackground.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.omitbackground.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.omitbackground.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.omitbackground.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.path.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.path.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.path.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.path.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.quality.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.quality.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.quality.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.quality.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.screenshotoptions.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.screenshotoptions.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.issuer.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.issuer.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.issuer.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.issuer.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.protocol.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.protocol.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.protocol.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.protocol.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.subjectalternativenames.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.subjectalternativenames.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.subjectalternativenames.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.subjectalternativenames.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.subjectname.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.subjectname.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.subjectname.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.subjectname.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.validfrom.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.validfrom.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.validfrom.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.validfrom.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.validto.md b/website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.validto.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.securitydetails.validto.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.securitydetails.validto.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.autocomplete.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.autocomplete.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.autocomplete.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.autocomplete.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.checked.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.checked.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.checked.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.checked.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.children.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.children.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.children.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.children.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.description.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.description.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.description.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.description.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.disabled.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.disabled.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.disabled.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.disabled.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.expanded.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.expanded.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.expanded.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.expanded.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.focused.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.focused.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.focused.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.focused.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.haspopup.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.haspopup.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.haspopup.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.haspopup.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.invalid.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.invalid.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.invalid.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.invalid.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.keyshortcuts.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.keyshortcuts.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.keyshortcuts.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.keyshortcuts.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.level.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.level.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.level.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.level.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.modal.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.modal.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.modal.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.modal.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.multiline.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.multiline.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.multiline.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.multiline.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.multiselectable.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.multiselectable.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.multiselectable.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.multiselectable.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.name.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.name.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.name.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.name.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.orientation.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.orientation.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.orientation.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.orientation.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.pressed.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.pressed.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.pressed.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.pressed.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.readonly.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.readonly.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.readonly.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.readonly.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.required.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.required.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.required.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.required.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.role.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.role.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.role.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.role.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.roledescription.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.roledescription.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.roledescription.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.roledescription.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.selected.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.selected.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.selected.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.selected.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.value.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.value.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.value.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.value.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.valuemax.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.valuemax.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.valuemax.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.valuemax.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.valuemin.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.valuemin.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.valuemin.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.valuemin.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.valuetext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.valuetext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.serializedaxnode.valuetext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.serializedaxnode.valuetext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.snapshotoptions.interestingonly.md b/website/versioned_docs/version-19.0.0/api/puppeteer.snapshotoptions.interestingonly.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.snapshotoptions.interestingonly.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.snapshotoptions.interestingonly.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.snapshotoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.snapshotoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.snapshotoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.snapshotoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.snapshotoptions.root.md b/website/versioned_docs/version-19.0.0/api/puppeteer.snapshotoptions.root.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.snapshotoptions.root.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.snapshotoptions.root.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.browser.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.browser.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.browser.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.browser.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.browsercontext.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.browsercontext.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.browsercontext.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.browsercontext.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.createcdpsession.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.createcdpsession.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.createcdpsession.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.createcdpsession.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.opener.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.opener.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.opener.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.opener.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.page.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.page.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.page.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.page.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.type.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.type.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.type.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.type.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.url.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.target.worker.md b/website/versioned_docs/version-19.0.0/api/puppeteer.target.worker.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.target.worker.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.target.worker.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.targetfiltercallback.md b/website/versioned_docs/version-19.0.0/api/puppeteer.targetfiltercallback.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.targetfiltercallback.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.targetfiltercallback.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.timeouterror.md b/website/versioned_docs/version-19.0.0/api/puppeteer.timeouterror.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.timeouterror.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.timeouterror.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.touchscreen.md b/website/versioned_docs/version-19.0.0/api/puppeteer.touchscreen.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.touchscreen.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.touchscreen.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.touchscreen.tap.md b/website/versioned_docs/version-19.0.0/api/puppeteer.touchscreen.tap.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.touchscreen.tap.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.touchscreen.tap.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracing.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracing.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracing.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracing.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracing.start.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracing.start.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracing.start.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracing.start.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracing.stop.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracing.stop.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracing.stop.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracing.stop.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.categories.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.categories.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.categories.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.categories.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.path.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.path.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.path.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.path.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.screenshots.md b/website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.screenshots.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.tracingoptions.screenshots.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.tracingoptions.screenshots.md diff --git a/website/versioned_docs/version-19.0.0/api/puppeteer.unregistercustomqueryhandler.md b/website/versioned_docs/version-19.0.0/api/puppeteer.unregistercustomqueryhandler.md new file mode 100644 index 00000000..ff220088 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/api/puppeteer.unregistercustomqueryhandler.md @@ -0,0 +1,25 @@ +--- +sidebar_label: unregisterCustomQueryHandler +--- + +# unregisterCustomQueryHandler() function + +> Warning: This API is now obsolete. +> +> Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.unregisterCustomQueryHandler()](./puppeteer.puppeteer.unregistercustomqueryhandler.md) + +**Signature:** + +```typescript +export declare function unregisterCustomQueryHandler(name: string): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --------- | ------ | ----------- | +| name | string | | + +**Returns:** + +void diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.devicescalefactor.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.devicescalefactor.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.devicescalefactor.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.devicescalefactor.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.hastouch.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.hastouch.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.hastouch.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.hastouch.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.height.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.height.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.height.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.height.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.islandscape.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.islandscape.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.islandscape.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.islandscape.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.ismobile.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.ismobile.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.ismobile.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.ismobile.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.width.md b/website/versioned_docs/version-19.0.0/api/puppeteer.viewport.width.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.viewport.width.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.viewport.width.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforoptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforoptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforoptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforoptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforoptions.waituntil.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforoptions.waituntil.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforoptions.waituntil.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforoptions.waituntil.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.hidden.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.hidden.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.hidden.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.hidden.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.visible.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.visible.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitforselectoroptions.visible.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitforselectoroptions.visible.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitfortargetoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitfortargetoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitfortargetoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitfortargetoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waitfortargetoptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waitfortargetoptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waitfortargetoptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waitfortargetoptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waittimeoutoptions.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waittimeoutoptions.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waittimeoutoptions.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waittimeoutoptions.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.waittimeoutoptions.timeout.md b/website/versioned_docs/version-19.0.0/api/puppeteer.waittimeoutoptions.timeout.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.waittimeoutoptions.timeout.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.waittimeoutoptions.timeout.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.webworker.evaluate.md b/website/versioned_docs/version-19.0.0/api/puppeteer.webworker.evaluate.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.webworker.evaluate.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.webworker.evaluate.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.webworker.evaluatehandle.md b/website/versioned_docs/version-19.0.0/api/puppeteer.webworker.evaluatehandle.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.webworker.evaluatehandle.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.webworker.evaluatehandle.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.webworker.md b/website/versioned_docs/version-19.0.0/api/puppeteer.webworker.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.webworker.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.webworker.md diff --git a/website/versioned_docs/version-18.2.1/api/puppeteer.webworker.url.md b/website/versioned_docs/version-19.0.0/api/puppeteer.webworker.url.md similarity index 100% rename from website/versioned_docs/version-18.2.1/api/puppeteer.webworker.url.md rename to website/versioned_docs/version-19.0.0/api/puppeteer.webworker.url.md diff --git a/website/versioned_docs/version-18.2.1/assets/overview.png b/website/versioned_docs/version-19.0.0/assets/overview.png similarity index 100% rename from website/versioned_docs/version-18.2.1/assets/overview.png rename to website/versioned_docs/version-19.0.0/assets/overview.png diff --git a/website/versioned_docs/version-18.2.1/assets/overview.svg b/website/versioned_docs/version-19.0.0/assets/overview.svg similarity index 100% rename from website/versioned_docs/version-18.2.1/assets/overview.svg rename to website/versioned_docs/version-19.0.0/assets/overview.svg diff --git a/website/versioned_docs/version-18.2.1/chromium-support.md b/website/versioned_docs/version-19.0.0/chromium-support.md similarity index 100% rename from website/versioned_docs/version-18.2.1/chromium-support.md rename to website/versioned_docs/version-19.0.0/chromium-support.md diff --git a/website/versioned_docs/version-18.2.1/contributing.md b/website/versioned_docs/version-19.0.0/contributing.md similarity index 57% rename from website/versioned_docs/version-18.2.1/contributing.md rename to website/versioned_docs/version-19.0.0/contributing.md index bb2b7604..2060ce00 100644 --- a/website/versioned_docs/version-18.2.1/contributing.md +++ b/website/versioned_docs/version-19.0.0/contributing.md @@ -19,45 +19,78 @@ You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again. -## Getting Code +## Getting started 1. Clone this repository -```bash -git clone https://github.com/puppeteer/puppeteer -cd puppeteer -``` + ```sh + git clone https://github.com/puppeteer/puppeteer + cd puppeteer + ``` 2. Install the dependencies -```bash -npm install -# Downloads the Firefox binary for Firefox tests -PUPPETEER_PRODUCT=firefox npm install + ```sh + npm install # or PUPPETEER_PRODUCT=firefox npm install + ``` + +3. Build all packages + + ```sh + npm run build + ``` + +4. Run all tests + + ```sh + npm test + ``` + +### macOS ARM and custom executables. + +- To run experimental Chromium macOS ARM tests, firstly ensure you have correct Chromium version installed locally (you only need to do this once, not on every test run) and then you can run the tests: + + ```bash + PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM=1 npm install + PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM=1 npm run test + ``` + +- To run tests with custom browser executable: + + ```bash + BINARY= npm run test:chrome # Or npm run test:firefox + ``` + +## Building a single package + +To build a single package, you can run + +```sh +npm run build --workspace # e.g. puppeteer ``` -## Building Puppeteer +This will build all dependent packages automatically, so specifying a single packages is sufficient. This is all possible due to [wireit](https://github.com/google/wireit) which behaves similar to [GNU Make](https://www.gnu.org/software/make/). -Puppeteer has two configurations for building: +## Removing stale artifacts -- `npm run build` (or `npm run build:prod`) - Builds Puppeteer and artifacts - used in production. -- `npm run build:test` - Builds Puppeteer, test runner, tests, and artifacts used in - production. +It's possible some generated artifacts (such as `packages/puppeteer-core/src/types.ts`) can become stale since these artifacts rely on complex conditions (such as names of distinct files) that cannot be captured by the build system. To clean artifacts, you can run -## Testing Puppeteer - -For browser testing, you can run - -```bash -npm run build:test && npm run test +```sh +npm run clean # or npm run clean --workspace ``` -We also have other tests such as `test-types` that tests types and -`test-install` which tests installation. See the `package.json` for more tests -(all prefixed with `test`). +## Comprehensive testing -Puppeteer is using a custom test runner on top of Mocha that consults +Outside of `npm test`, there are several other [`npm` scripts](https://docs.npmjs.com/cli/v8/using-npm/scripts) that are usually check through CI: + +- `test-install` - Tests whether `puppeteer` and `puppeteer-core` install properly and are functional. +- `test-types` - Tests the TypeScript types in `puppeteer` using [`tsd`](https://github.com/SamVerschueren/tsd). +- `test:chrome:**` - Tests `puppeteer` on Chromium. +- `test:firefox:**` - Tests `puppeteer` on Firefox. + +The default `npm test` runs `test:{chrome,firefox}:headless` which is generally sufficient. + +Puppeteer uses a custom test runner on top of Mocha that consults the [TestExpectations.json](https://github.com/puppeteer/puppeteer/blob/main/test/TestExpectations.json) to see if a given test result is expected or not. See more info about the test runner in [`tools/mochaRunner`](https://github.com/puppeteer/puppeteer/tree/main/tools/mochaRunner). @@ -94,38 +127,11 @@ npm run format The following is a description of the primary folders in Puppeteer: -- `src` - contains the source code for Puppeteer. -- `test/src` - contains the source code for Puppeteer tests. -- `utils`/`scripts` - contains various scripts. -- `tools/testserver` - contains the source code for our test servers in testing. -- `tools/mochaRunner` - contains the source code for our test runner. -- `compat` - contains code separated by module import type. See [`compat/README.md`](https://github.com/puppeteer/puppeteer/blob/main/compat/README.md) for details. +- `packages` contains all public source code. +- `test` contains all test source code. - `test-d` contains type tests using [`tsd`](https://github.com/SamVerschueren/tsd). -- `third_party` contains all dependencies that we vendor into the final build. See the [`third_party/README.md`](https://github.com/puppeteer/puppeteer/blob/main/third_party/README.md) for details. - -### Shipping CJS and ESM bundles - -Puppeteer ships both CommonJS and ES modules, therefore we maintain two `tsconfig` files for each project: `tsconfig.esm.json` and `tsconfig.cjs.json`. At build time we compile twice, once for CommonJS and once for ES modules. - -We compile into the `lib` directory which is what we publish on the npm repository and it's structured like so: - -``` -lib -- cjs - - puppeteer <== the output of compiling `src/tsconfig.cjs.json` - - third_party <== the output of compiling `third_party/tsconfig.cjs.json` -- esm - - puppeteer <== the output of compiling `src/tsconfig.esm.json` - - third_party <== the output of compiling `third_party/tsconfig.json` -``` - -### `tsconfig.json` for the tests - -We also maintain `test/tsconfig.json`. This is used to incrementally compile the unit test `*.spec.ts` files. Tests are run against the compiled code we ship to users so it gives us more confidence in our compiled output being correct. - -### Root `tsconfig.json` - -The root `tsconfig.json` exists for the API Extractor; it has to find a `tsconfig.json` in the project's root directory. +- `tools` contains miscellaneous scripts that are used in building and etc. +- `tools/mochaRunner` - contains the source code for our test runner. ## API guidelines @@ -135,7 +141,7 @@ When authoring new API methods, consider the following: - Methods are used in favor of getters/setters. - The only exception is namespaces, e.g. `page.keyboard` and `page.coverage` - All string literals must be small case. This includes event names and option values. -- Avoid adding "sugar" API (API that is trivially implementable in user-space) unless they're **very** demanded. +- Avoid adding "sugar" API (API that is trivially implementable in user-space) unless they're **extremely** demanded. ## Commit messages @@ -168,7 +174,7 @@ Each change to Puppeteer should be thoroughly documented using TSDoc comments. R ## Running the documentation site locally -1. At root, install all dependencies with `npm i`. +1. At root, install all dependencies with `npm i --ignore-scripts`. 2. run `npm run docs` which will generate all the `.md` files on `puppeteer/docs/api`. 3. run `npm i` in `puppeteer/website`. 4. run `npm start` in `puppeteer/website`. @@ -186,70 +192,13 @@ A barrier for introducing new installation dependencies is especially high: There are additional considerations for dependencies that are environment agonistic. See the [`third_party/README.md`](https://github.com/puppeteer/puppeteer/blob/main/third_party/README.md) for details. -## Running & Writing Tests +## Testing tips - Every feature should be accompanied by a test. - Every public api event/method should be accompanied by a test. - Tests should not depend on external services. - Tests should work on all three platforms: Mac, Linux and Win. This is especially important for screenshot tests. -Puppeteer tests are located in [the `test` directory](https://github.com/puppeteer/puppeteer/blob/main/test/) and are written using Mocha. See [`test/README.md`](https://github.com/puppeteer/puppeteer/blob/main/test/README.md) for more details. - -The tests are making sure public API methods and events work as expected. - -- To run all tests: - -```bash -npm run test -``` - -- To run a specific test, substitute the `it` with `it.only`: - -```ts - ... - it.only('should work', async function({server, page}) { - const response = await page.goto(server.EMPTY_PAGE); - expect(response.ok).toBe(true); - }); -``` - -- To disable a specific test, substitute the `it` with `it.skip`: - -```ts - ... - // Using "it.skip" to skip specific test - it.skip('should work', async function({server, page}) { - const response = await page.goto(server.EMPTY_PAGE); - expect(response.ok).toBe(true); - }); -``` - -- To run Chrome tests in non-headless mode: - -```bash -npm run test:chrome:headful -``` - -- To run Firefox tests, firstly ensure you have Firefox installed locally (you only need to do this once, not on every test run) and then you can run the tests: - -```bash -PUPPETEER_PRODUCT=firefox npm install -npm run test:firefox -``` - -- To run experimental Chromium MacOS ARM tests, firstly ensure you have correct Chromium version installed locally (you only need to do this once, not on every test run) and then you can run the tests: - -```bash -PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM=1 npm install -PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM=1 npm run test:chrome:headless -``` - -- To run tests with custom browser executable: - -```bash -BINARY= npm run test:chrome:headless # Or npm run test:firefox -``` - If a test is expected to fail on certain configurations or became flaky, update [TestExpectations.json](https://github.com/puppeteer/puppeteer/blob/main/test/TestExpectations.json) to reflect that. See more info about TestExpectations.json in [`tools/mochaRunner`](https://github.com/puppeteer/puppeteer/tree/main/tools/mochaRunner). @@ -267,28 +216,25 @@ See [Debugging Tips](https://github.com/puppeteer/puppeteer/blob/main/README.md# The following steps are needed to update the Chromium version. -1. Find a suitable Chromium revision - Not all revisions have builds for all platforms, so we need to find one that does. - To do so, run `tools/check_availability.js -rd` to find the latest suitable `dev` Chromium revision (see `tools/check_availability.js -help` for more options). -1. Update `src/revisions.ts` with the found revision number. -1. Update `versions.js` with the new Chromium-to-Puppeteer version mapping and update `lastMaintainedChromiumVersion` with the latest stable Chrome version. -1. Run `npm run check:protocol-revision`. - If it fails, update `package.json` with the expected `devtools-protocol` version. -1. Run `npm run build && npm run build:test` and `npm install`. -1. Run `npm test` and ensure that all tests pass. If a test fails, [bisect](#bisecting-upstream-changes) the upstream cause of the failure, and either update the test expectations accordingly (if it was an intended change) or work around the changes in Puppeteer (if it’s not desirable to change Puppeteer’s observable behavior). -1. Commit and push your changes and open a pull request. +1. Find a suitable Chromium revision. Not all revisions have builds for all platforms, so we need to find one that does. The easiest way is to run `tools/check_availability.js -rd` to find the latest suitable `dev` Chromium revision (see `tools/check_availability.js -help` for more options). +2. Update `packages/puppeteer-core/src/revisions.ts` with the found revision number. +3. Update `versions.js` with the new Chromium-to-Puppeteer version mapping and update `lastMaintainedChromiumVersion` with the latest stable Chrome version. +4. Run `npm run check:protocol-revision`. If it fails, update `package.json` with the expected `devtools-protocol` version. +5. Run `npm run build` and `npm install`. +6. Run `npm test` and ensure that all tests pass. If a test fails, [bisect](#bisecting-upstream-changes) the upstream cause of the failure, and either update the test expectations accordingly (if it was an intended change) or work around the changes in Puppeteer (if it’s not desirable to change Puppeteer’s observable behavior). +7. Commit and push your changes and open a pull request. The commit message must contain the version in `Chromium ()` format to ensure that [pptr.dev](https://pptr.dev/) can parse it correctly, e.g. `'feat(chromium): roll to Chromium 90.0.4427.0 (r856583)'`. ### Bisecting upstream changes -Sometimes, performing a Chromium roll causes tests to fail. To figure out the cause, you need to bisect Chromium revisions to figure out the earliest possible revision that changed the behavior. The script in `tools/bisect.js` can be helpful here. Given a pattern for one or more unit tests, it will automatically bisect the current range: +Sometimes, performing a Chromium roll causes tests to fail. To figure out the cause, you need to bisect Chromium revisions to figure out the earliest possible revision that changed the behavior. The `bisect` script can be helpful here. Given a pattern for one or more unit tests, it will automatically bisect the current range: ```sh -node tools/bisect.js --good 686378 --bad 706915 script.js -node tools/bisect.js --unit-test Response.fromCache +npm run bisect -- --good 686378 --bad 706915 script.js +npm run bisect -- --unit-test Response.fromCache ``` -By default, it will use the Chromium revision in `src/revisions.ts` from the `main` branch and from the working tree to determine the range to bisect. +By default, it will use the Chromium revision in `packages/puppeteer-core/src/revisions.ts` from the `main` branch and from the working tree to determine the range to bisect. ## Releasing to npm diff --git a/website/versioned_docs/version-18.2.1/faq.md b/website/versioned_docs/version-19.0.0/faq.md similarity index 100% rename from website/versioned_docs/version-18.2.1/faq.md rename to website/versioned_docs/version-19.0.0/faq.md diff --git a/website/versioned_docs/version-19.0.0/guides/chrome-extensions.md b/website/versioned_docs/version-19.0.0/guides/chrome-extensions.md new file mode 100644 index 00000000..35b9bec6 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/guides/chrome-extensions.md @@ -0,0 +1,44 @@ +# Chrome Extensions + +Puppeteer can be used for testing Chrome Extensions. + +:::caution + +Extensions in Chrome/Chromium currently only work in non-headless mode and experimental Chrome headless mode. + +::: + +The following is code for getting a handle to the [background page](https://developer.chrome.com/extensions/background_pages) of an extension whose source is located in `./my-extension`: + +```ts +const puppeteer = require('puppeteer'); + +(async () => { + const pathToExtension = require('path').join(__dirname, 'my-extension'); + const browser = await puppeteer.launch({ + headless: 'chrome', + args: [ + `--disable-extensions-except=${pathToExtension}`, + `--load-extension=${pathToExtension}`, + ], + }); + const backgroundPageTarget = await browser.waitForTarget( + target => target.type() === 'background_page' + ); + const backgroundPage = await backgroundPageTarget.page(); + // Test the background page as you would any other page. + await browser.close(); +})(); +``` + +:::note + +Chrome Manifest V3 extensions have a background ServiceWorker of type 'service_worker', instead of a page of type 'background_page'. + +::: + +:::note + +It is not yet possible to test extension popups or content scripts. + +::: diff --git a/website/versioned_docs/version-19.0.0/guides/debugging.md b/website/versioned_docs/version-19.0.0/guides/debugging.md new file mode 100644 index 00000000..9378fed0 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/guides/debugging.md @@ -0,0 +1,122 @@ +# Debugging + +Debugging with Puppeteer can be an arduous task. There is no _single_ method for debugging all possible issues since Puppeteer touches many distinct components of a browser such as network requests and Web APIs. On a high note, Puppeteer provides _several_ methods for debugging which hopefully does cover all possible issues. + +## Background + +In general, there are two possible sources of an issue: Code running on Node.js (which we call _server code_), and [code running in the browser](<[`Page.evaluate()`](https://pptr.dev/api/puppeteer.page.evaluate)>) (which we call _client code_). There is also a third possible source being the browser itself (which we call _internal code_), but if you suspect this is the source **after attempting the methods below**, we suggest [searching existing issues](https://github.com/puppeteer/puppeteer/issues) before [filing an issue](https://github.com/puppeteer/puppeteer/issues/new/choose). + +## Debugging methods for all situations + +These methods can be used to debug any situation. These should be used as a quick sanity check before diving into more complex methods. + +### Turn off [`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.headless) + +Sometimes it's useful to see what the browser is displaying. Instead of launching in [`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.headless) mode, launch a full version of the browser with [`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.headless) set to `false`: + +```ts +const browser = await puppeteer.launch({headless: false}); +``` + +### Puppeteer "slow-mo" + +The [`slowMo`](https://pptr.dev/api/puppeteer.browserconnectoptions.slowmo) option slows down Puppeteer operations by a specified amount of milliseconds. It's another way to help see what's going on. + +```ts +const browser = await puppeteer.launch({ + headless: false, + slowMo: 250, // slow down by 250ms +}); +``` + +## Debugging methods for client code + +### Capture `console.*` output + +Since client code runs in the browser, doing `console.*` in client code will not directly log to Node.js. However, you can [listen](https://pptr.dev/api/puppeteer.page.on) for the [`console`](https://pptr.dev/api/puppeteer.pageeventobject.console) event which returns a payload with the logged text. + +```ts +page.on('console', msg => console.log('PAGE LOG:', msg.text())); + +await page.evaluate(() => console.log(`url is ${location.href}`)); +``` + +### Use the debugger in the browser + +1. Set [`devtools`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.devtools) to `true` when launching Puppeteer: + + ```ts + const browser = await puppeteer.launch({devtools: true}); + ``` + +2. Add `debugger` inside any client code you want debugged. For example, + + ```ts + await page.evaluate(() => { + debugger; + }); + ``` + + The Browser will now stop in the location the `debugger` word is found in debug mode. + +## Debugging methods for server code + +### Use the debugger in Node.js (Chrome/Chromium-only) + +Since server code intermingles with client code, this method of debugging is closely tied with the browser. For example, you can step over `await page.click()` in the server script and see the click happen in the browser. + +Note that you won't be able to run `await page.click()` in DevTools console due to this [Chromium bug](https://bugs.chromium.org/p/chromium/issues/detail?id=833928), so if +you want to try something out, you have to add it to your test file. + +1. Set [`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.headless) to `false`. +2. Add `debugger` to any server code you want debugged. For example, + + ```ts + debugger; + await page.click('a[target=_blank]'); + ``` + +3. Run your server code with `--inspect-brk`. For example, + + ```sh + node --inspect-brk path/to/script.js + ``` + +4. In the opened Chrome/Chromium browser, open `chrome://inspect/#devices` and click `inspect`. +5. In the newly opened test browser, press `F8` to resume test execution. +6. Now your `debugger` statement will be hit and you can debug in the test browser. + +### Use [ndb](https://github.com/GoogleChromeLabs/ndb) + +1. Install `ndb`: + + ```sh + npm install -g ndb + ``` + +2. Add `debugger` to any server code you want debugged. For example, + + ```ts + debugger; + await page.click('a[target=_blank]'); + ``` + +3. Add `ndb` before your test command. For example, + + ```sh + ndb node path/to/script.js + ``` + +4. Debug your test inside chromium like a boss! + +### Log DevTools protocol traffic + +If all else fails, it's possible there may be an issue between Puppeteer and the DevTools protocol. You can debug this by setting the `DEBUG` environment variable before running your script. This will log internal traffic via [`debug`](https://github.com/visionmedia/debug) under the `puppeteer` namespace. + +```sh +# Basic verbose logging +env DEBUG="puppeteer:*" node script.js + +# Protocol traffic can be rather noisy. This example filters out all Network domain messages +env DEBUG="puppeteer:*" env DEBUG_COLORS=true node script.js 2>&1 | grep -v '"Network' +``` diff --git a/website/versioned_docs/version-19.0.0/guides/docker.md b/website/versioned_docs/version-19.0.0/guides/docker.md new file mode 100644 index 00000000..446d2b94 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/guides/docker.md @@ -0,0 +1,22 @@ +# Docker + +Puppeteer offers a Docker image that includes Chromium along with the required dependencies and a pre-installed Puppeteer version. The image is available via the [GitHub Container Registry](https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer). The latest image is tagged as `latest` and other tags match Puppeteer versions. For example, + +```sh +docker pull ghcr.io/puppeteer/puppeteer:latest # pulls the latest +docker pull ghcr.io/puppeteer/puppeteer:16.1.0 # pulls the image that contains Puppeteer v16.1.0 +``` + +The image is meant for running the browser in sandbox mode and therefore, running the image requires the `SYS_ADMIN` capability. + +## Usage + +To use the docker image directly, run: + +```sh +docker run -i --init --cap-add=SYS_ADMIN --rm ghcr.io/puppeteer/puppeteer:latest node -e "$(cat path/to/script.js)" +``` + +where `path/to/script.js` is the path relative to your working directory. Note the image requires the `SYS_ADMIN` capability since the browser runs in sandbox mode. + +If you need to build an image based on a different base image, you can use our [`Dockerfile`](https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile) as the starting point. diff --git a/website/versioned_docs/version-18.2.1/guides/index.md b/website/versioned_docs/version-19.0.0/guides/index.md similarity index 100% rename from website/versioned_docs/version-18.2.1/guides/index.md rename to website/versioned_docs/version-19.0.0/guides/index.md diff --git a/website/versioned_docs/version-18.2.1/guides/request-interception.md b/website/versioned_docs/version-19.0.0/guides/request-interception.md similarity index 100% rename from website/versioned_docs/version-18.2.1/guides/request-interception.md rename to website/versioned_docs/version-19.0.0/guides/request-interception.md diff --git a/website/versioned_docs/version-19.0.0/index.md b/website/versioned_docs/version-19.0.0/index.md new file mode 100644 index 00000000..ba221d72 --- /dev/null +++ b/website/versioned_docs/version-19.0.0/index.md @@ -0,0 +1,175 @@ +--- +sidebar_position: 1 +--- + +# Puppeteer + +[![Build status](https://github.com/puppeteer/puppeteer/workflows/CI/badge.svg)](https://github.com/puppeteer/puppeteer/actions?query=workflow%3ACI) [![npm puppeteer package](https://img.shields.io/npm/v/puppeteer.svg)](https://npmjs.org/package/puppeteer) + + + +#### [API](https://pptr.dev/api) | [FAQ](https://pptr.dev/faq) | [Contributing](https://pptr.dev/contributing) | [Troubleshooting](https://pptr.dev/troubleshooting) + +> Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the [DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/). Puppeteer runs in [headless](https://developers.google.com/web/updates/2017/04/headless-chrome) mode by default, but can be configured to run in full (non-headless) Chrome/Chromium. + +#### What can I do? + +Most things that you can do manually in the browser can be done using Puppeteer! Here are a few examples to get you started: + +- Generate screenshots and PDFs of pages. +- Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. "SSR" (Server-Side Rendering)). +- Automate form submission, UI testing, keyboard input, etc. +- Create an automated testing environment using the latest JavaScript and browser features. +- Capture a [timeline trace](https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference) of your site to help diagnose performance issues. +- Test Chrome Extensions. + +## Getting Started + +### Installation + +To use Puppeteer in your project, run: + +```bash +npm i puppeteer +# or `yarn add puppeteer` +# or `pnpm i puppeteer` +``` + +When you install Puppeteer, it automatically downloads a recent version of Chromium (~170MB macOS, ~282MB Linux, ~280MB Windows) that is [guaranteed to work](https://pptr.dev/faq#q-why-doesnt-puppeteer-vxxx-work-with-chromium-vyyy) with Puppeteer. For a version of Puppeteer without installation, see [`puppeteer-core`](#puppeteer-core). + +#### Environment Variables + +Puppeteer looks for certain [environment variables](https://en.wikipedia.org/wiki/Environment_variable) for customizing behavior. +If Puppeteer doesn't find them in the environment during the installation step, a lowercased variant of these variables will be used from the [npm config](https://docs.npmjs.com/cli/config). + +- `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` - defines HTTP proxy settings that are used to download and run the browser. +- `PUPPETEER_CACHE_DIR` - defines the directory to be used by Puppeteer for caching. Defaults to [`os.homedir()/.cache/puppeteer`](https://nodejs.org/api/os.html#os_os_homedir). +- `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` - do not download bundled Chromium during installation step. +- `PUPPETEER_TMP_DIR` - defines the directory to be used by Puppeteer for creating temporary files. Defaults to [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir). +- `PUPPETEER_DOWNLOAD_HOST` - specifies the URL prefix that is used to download Chromium. Note: this includes protocol and might even include path prefix. Defaults to `https://storage.googleapis.com`. +- `PUPPETEER_DOWNLOAD_PATH` - specifies the path for the downloads folder. Defaults to `/chromium`, where `` is Puppeteer's cache directory. +- `PUPPETEER_BROWSER_REVISION` - specifies a certain version of the browser you'd like Puppeteer to use. See [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) on how executable path is inferred. +- `PUPPETEER_EXECUTABLE_PATH` - specifies an executable path to be used in [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch). +- `PUPPETEER_PRODUCT` - specifies which browser you'd like Puppeteer to use. Must be either `chrome` or `firefox`. This can also be used during installation to fetch the recommended browser binary. Setting `product` programmatically in [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) supersedes this environment variable. +- `PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM` — specify Puppeteer download Chromium for Apple M1. On Apple M1 devices Puppeteer by default downloads the version for Intel's processor which runs via Rosetta. It works without any problems, however, with this option, you should get more efficient resource usage (CPU and RAM) that could lead to a faster execution time. + +Environment variables except for `PUPPETEER_CACHE_DIR` are not used for [`puppeteer-core`](#puppeteer-core) since core does not automatically handle browser downloading. + +#### `puppeteer-core` + +Every release since v1.7.0 we publish two packages: + +- [`puppeteer`](https://www.npmjs.com/package/puppeteer) +- [`puppeteer-core`](https://www.npmjs.com/package/puppeteer-core) + +`puppeteer` is a _product_ for browser automation. When installed, it downloads a version of +Chromium, which it then drives using `puppeteer-core`. Being an end-user product, `puppeteer` supports a bunch of convenient `PUPPETEER_*` env variables to tweak its behavior. + +`puppeteer-core` is a _library_ to help drive anything that supports DevTools protocol. `puppeteer-core` doesn't download Chromium when installed. Being a library, `puppeteer-core` is fully driven through its programmatic interface. + +You should only use `puppeteer-core` if you are [connecting to a remote browser](https://pptr.dev/api/puppeteer.puppeteer.connect) or [managing browsers yourself](https://pptr.dev/api/puppeteer.browserfetcher). If you are managing browsers yourself, you will need to call [`puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) with an explicit [`executablePath`](https://pptr.dev/api/puppeteer.launchoptions.executablepath) or [`channel`](https://pptr.dev/api/puppeteer.launchoptions.channel). + +When using `puppeteer-core`, remember to change the import: + +```ts +import puppeteer from 'puppeteer-core'; +``` + +### Usage + +Puppeteer follows the latest [maintenance LTS](https://github.com/nodejs/Release#release-schedule) version of Node. + +Puppeteer will be familiar to people using other browser testing frameworks. You [launch](https://pptr.dev/api/puppeteer.puppeteernode.launch)/[connect](https://pptr.dev/api/puppeteer.puppeteernode.connect) a [browser](https://pptr.dev/api/puppeteer.browser), [create](https://pptr.dev/api/puppeteer.browser.newpage) some [pages](https://pptr.dev/api/puppeteer.page), and then manipulate them with [Puppeteer's API](https://pptr.dev/api). + +For more in-depth usage, check our [guides](https://pptr.dev/guides) and [examples](https://github.com/puppeteer/puppeteer/tree/main/examples). + +#### Example + +The following example searches [developers.google.com/web](https://developers.google.com/web) for articles tagged "Headless Chrome" and scrape results from the results page. + +```ts +import puppeteer from 'puppeteer'; + +(async () => { + const browser = await puppeteer.launch(); + const page = await browser.newPage(); + + await page.goto('https://developers.google.com/web/'); + + // Type into search box. + await page.type('.devsite-search-field', 'Headless Chrome'); + + // Wait for suggest overlay to appear and click "show all results". + const allResultsSelector = '.devsite-suggest-all-results'; + await page.waitForSelector(allResultsSelector); + await page.click(allResultsSelector); + + // Wait for the results page to load and display the results. + const resultsSelector = '.gsc-results .gs-title'; + await page.waitForSelector(resultsSelector); + + // Extract the results from the page. + const links = await page.evaluate(resultsSelector => { + return [...document.querySelectorAll(resultsSelector)].map(anchor => { + const title = anchor.textContent.split('|')[0].trim(); + return `${title} - ${anchor.href}`; + }); + }, resultsSelector); + + // Print all the files. + console.log(links.join('\n')); + + await browser.close(); +})(); +``` + +### Default runtime settings + +**1. Uses Headless mode** + +Puppeteer launches Chromium in [headless mode](https://developers.google.com/web/updates/2017/04/headless-chrome). To launch a full version of Chromium, set the [`headless`](https://pptr.dev/api/puppeteer.browserlaunchargumentoptions.headless) option when launching a browser: + +```ts +const browser = await puppeteer.launch({headless: false}); // default is true +``` + +**2. Runs a bundled version of Chromium** + +By default, Puppeteer downloads and uses a specific version of Chromium so its API +is guaranteed to work out of the box. To use Puppeteer with a different version of Chrome or Chromium, +pass in the executable's path when creating a `Browser` instance: + +```ts +const browser = await puppeteer.launch({executablePath: '/path/to/Chrome'}); +``` + +You can also use Puppeteer with Firefox Nightly (experimental support). See [`Puppeteer.launch`](https://pptr.dev/api/puppeteer.puppeteernode.launch) for more information. + +See [`this article`](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for a description of the differences between Chromium and Chrome. [`This article`](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/chromium_browser_vs_google_chrome.md) describes some differences for Linux users. + +**3. Creates a fresh user profile** + +Puppeteer creates its own browser user profile which it **cleans up on every run**. + +#### Using Docker + +See our [guide on using Docker](https://pptr.dev/guides/docker). + +#### Using Chrome Extensions + +See our [guide on using Chrome extensions](https://pptr.dev/guides/chrome-extensions). + +## Resources + +- [API Documentation](https://pptr.dev/api) +- [Guides](https://pptr.dev/guides) +- [Examples](https://github.com/puppeteer/puppeteer/tree/main/examples) +- [Community list of Puppeteer resources](https://github.com/transitive-bullshit/awesome-puppeteer) + +## Contributing + +Check out our [contributing guide](https://pptr.dev/contributing) to get an overview of Puppeteer development. + +## FAQ + +Our [FAQ](https://pptr.dev/faq) has migrated to [our site](https://pptr.dev/faq). diff --git a/website/versioned_docs/version-18.2.1/troubleshooting.md b/website/versioned_docs/version-19.0.0/troubleshooting.md similarity index 100% rename from website/versioned_docs/version-18.2.1/troubleshooting.md rename to website/versioned_docs/version-19.0.0/troubleshooting.md diff --git a/website/versioned_sidebars/version-18.2.1-sidebars.json b/website/versioned_sidebars/version-19.0.0-sidebars.json similarity index 100% rename from website/versioned_sidebars/version-18.2.1-sidebars.json rename to website/versioned_sidebars/version-19.0.0-sidebars.json diff --git a/website/versions.json b/website/versions.json index f674e4cc..426d749b 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1 +1 @@ -["18.2.1"] +["19.0.0"] diff --git a/website/versionsArchived.json b/website/versionsArchived.json index 0f161bab..173db9f6 100644 --- a/website/versionsArchived.json +++ b/website/versionsArchived.json @@ -1,4 +1,5 @@ [ + "18.2.1", "18.2.0", "18.1.0", "18.0.5",