From e89e264a16ff403925896104dbd3d34ff97dac86 Mon Sep 17 00:00:00 2001 From: Johan Bay Date: Mon, 20 Jul 2020 17:17:06 +0200 Subject: [PATCH] feat(chromium): roll Chromium to r782078 (#6250) This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151. --- .../puppeteer.protocol.animation.animation.md | 2 +- ...eteer.protocol.animation.animation.type.md | 2 +- ...peteer.protocol.animation.animationtype.md | 20 ++++++++++ new-docs/puppeteer.protocol.animation.md | 6 +++ ...its.blockedbyresponseissuedetails.frame.md | 11 +++++ ...ol.audits.blockedbyresponseissuedetails.md | 22 ++++++++++ ...ts.blockedbyresponseissuedetails.reason.md | 11 +++++ ...s.blockedbyresponseissuedetails.request.md | 11 +++++ ...protocol.audits.blockedbyresponsereason.md | 13 ++++++ ...dits.getencodedresponserequest.encoding.md | 2 +- ...otocol.audits.getencodedresponserequest.md | 2 +- ...udits.getencodedresponserequestencoding.md | 20 ++++++++++ ...otocol.audits.heavyadissuedetails.frame.md | 13 ++++++ ...eer.protocol.audits.heavyadissuedetails.md | 20 ++++++++++ ...tocol.audits.heavyadissuedetails.reason.md | 13 ++++++ ...l.audits.heavyadissuedetails.resolution.md | 13 ++++++ ...puppeteer.protocol.audits.heavyadreason.md | 11 +++++ ...protocol.audits.heavyadresolutionstatus.md | 11 +++++ ...teer.protocol.audits.inspectorissuecode.md | 2 +- ...uedetails.blockedbyresponseissuedetails.md | 11 +++++ ...spectorissuedetails.heavyadissuedetails.md | 11 +++++ ...r.protocol.audits.inspectorissuedetails.md | 2 + new-docs/puppeteer.protocol.audits.md | 11 +++++ new-docs/puppeteer.protocol.browser.md | 6 +++ ...ser.setdownloadbehaviorrequest.behavior.md | 2 +- ...ocol.browser.setdownloadbehaviorrequest.md | 2 +- ...wser.setdownloadbehaviorrequestbehavior.md | 21 ++++++++++ ...r.protocol.console.consolemessage.level.md | 2 +- ...ppeteer.protocol.console.consolemessage.md | 4 +- ....protocol.console.consolemessage.source.md | 2 +- ...er.protocol.console.consolemessagelevel.md | 22 ++++++++++ ...r.protocol.console.consolemessagesource.md | 28 +++++++++++++ new-docs/puppeteer.protocol.console.md | 7 ++++ new-docs/puppeteer.protocol.css.cssmedia.md | 2 +- .../puppeteer.protocol.css.cssmedia.source.md | 2 +- .../puppeteer.protocol.css.cssmediasource.md | 21 ++++++++++ ...tocol.css.cssstylesheetheader.ismutable.md | 13 ++++++ ...peteer.protocol.css.cssstylesheetheader.md | 1 + new-docs/puppeteer.protocol.css.md | 6 +++ ...ppeteer.protocol.debugger.breaklocation.md | 2 +- ...er.protocol.debugger.breaklocation.type.md | 2 + ...eer.protocol.debugger.breaklocationtype.md | 20 ++++++++++ ...ocol.debugger.continuetolocationrequest.md | 2 +- ...tinuetolocationrequest.targetcallframes.md | 2 + ...ntinuetolocationrequesttargetcallframes.md | 19 +++++++++ ...uppeteer.protocol.debugger.debugsymbols.md | 2 +- ...eer.protocol.debugger.debugsymbols.type.md | 2 +- ...teer.protocol.debugger.debugsymbolstype.md | 21 ++++++++++ new-docs/puppeteer.protocol.debugger.md | 12 ++++++ ...puppeteer.protocol.debugger.pausedevent.md | 2 +- ...er.protocol.debugger.pausedevent.reason.md | 2 +- ...eer.protocol.debugger.pausedeventreason.md | 28 +++++++++++++ new-docs/puppeteer.protocol.debugger.scope.md | 2 +- .../puppeteer.protocol.debugger.scope.type.md | 2 +- .../puppeteer.protocol.debugger.scopetype.md | 27 +++++++++++++ ...tationbreakpointrequest.instrumentation.md | 2 +- ...ger.setinstrumentationbreakpointrequest.md | 2 +- ...ntationbreakpointrequestinstrumentation.md | 19 +++++++++ ...ol.debugger.setpauseonexceptionsrequest.md | 2 +- ...ugger.setpauseonexceptionsrequest.state.md | 2 +- ...bugger.setpauseonexceptionsrequeststate.md | 20 ++++++++++ new-docs/puppeteer.protocol.emulation.md | 8 ++++ ...er.protocol.emulation.screenorientation.md | 2 +- ...otocol.emulation.screenorientation.type.md | 2 +- ...rotocol.emulation.screenorientationtype.md | 21 ++++++++++ ...oucheventsformouserequest.configuration.md | 2 +- ...ation.setemittoucheventsformouserequest.md | 2 +- ...toucheventsformouserequestconfiguration.md | 19 +++++++++ ...tion.setemulatedvisiondeficiencyrequest.md | 2 +- ...setemulatedvisiondeficiencyrequest.type.md | 2 +- ....setemulatedvisiondeficiencyrequesttype.md | 23 +++++++++++ .../puppeteer.protocol.fetch.authchallenge.md | 2 +- ...eer.protocol.fetch.authchallenge.source.md | 2 +- ...er.protocol.fetch.authchallengeresponse.md | 2 +- ...ol.fetch.authchallengeresponse.response.md | 2 +- ...col.fetch.authchallengeresponseresponse.md | 20 ++++++++++ ...teer.protocol.fetch.authchallengesource.md | 19 +++++++++ new-docs/puppeteer.protocol.fetch.md | 7 ++++ ...puppeteer.protocol.headlessexperimental.md | 6 +++ ...essexperimental.screenshotparams.format.md | 2 +- ...l.headlessexperimental.screenshotparams.md | 2 +- ...lessexperimental.screenshotparamsformat.md | 19 +++++++++ new-docs/puppeteer.protocol.indexeddb.key.md | 2 +- .../puppeteer.protocol.indexeddb.key.type.md | 2 +- .../puppeteer.protocol.indexeddb.keypath.md | 2 +- ...ppeteer.protocol.indexeddb.keypath.type.md | 2 +- ...uppeteer.protocol.indexeddb.keypathtype.md | 20 ++++++++++ .../puppeteer.protocol.indexeddb.keytype.md | 21 ++++++++++ new-docs/puppeteer.protocol.indexeddb.md | 7 ++++ ....input.dispatchkeyeventrequest.commands.md | 13 ++++++ ....protocol.input.dispatchkeyeventrequest.md | 3 +- ...ocol.input.dispatchkeyeventrequest.type.md | 2 +- ...tocol.input.dispatchkeyeventrequesttype.md | 21 ++++++++++ ...rotocol.input.dispatchmouseeventrequest.md | 4 +- ...t.dispatchmouseeventrequest.pointertype.md | 2 +- ...ol.input.dispatchmouseeventrequest.type.md | 2 +- ...ut.dispatchmouseeventrequestpointertype.md | 19 +++++++++ ...col.input.dispatchmouseeventrequesttype.md | 21 ++++++++++ ...rotocol.input.dispatchtoucheventrequest.md | 2 +- ...ol.input.dispatchtoucheventrequest.type.md | 2 +- ...col.input.dispatchtoucheventrequesttype.md | 21 ++++++++++ ...input.emulatetouchfrommouseeventrequest.md | 2 +- ....emulatetouchfrommouseeventrequest.type.md | 2 +- ...t.emulatetouchfrommouseeventrequesttype.md | 21 ++++++++++ new-docs/puppeteer.protocol.input.md | 10 +++++ new-docs/puppeteer.protocol.layertree.md | 6 +++ ...puppeteer.protocol.layertree.scrollrect.md | 2 +- ...teer.protocol.layertree.scrollrect.type.md | 2 +- ...eteer.protocol.layertree.scrollrecttype.md | 20 ++++++++++ .../puppeteer.protocol.log.logentry.level.md | 2 +- new-docs/puppeteer.protocol.log.logentry.md | 4 +- .../puppeteer.protocol.log.logentry.source.md | 2 +- .../puppeteer.protocol.log.logentrylevel.md | 21 ++++++++++ .../puppeteer.protocol.log.logentrysource.md | 30 ++++++++++++++ new-docs/puppeteer.protocol.log.md | 8 ++++ ...puppeteer.protocol.log.violationsetting.md | 2 +- ...teer.protocol.log.violationsetting.name.md | 2 +- ...eteer.protocol.log.violationsettingname.md | 24 +++++++++++ new-docs/puppeteer.protocol.media.md | 7 ++++ .../puppeteer.protocol.media.playererror.md | 2 +- ...ppeteer.protocol.media.playererror.type.md | 2 + ...uppeteer.protocol.media.playererrortype.md | 19 +++++++++ ...teer.protocol.media.playermessage.level.md | 2 +- .../puppeteer.protocol.media.playermessage.md | 2 +- ...eteer.protocol.media.playermessagelevel.md | 21 ++++++++++ ...uppeteer.protocol.network.authchallenge.md | 2 +- ...r.protocol.network.authchallenge.source.md | 2 +- ....protocol.network.authchallengeresponse.md | 2 +- ....network.authchallengeresponse.response.md | 2 +- ...l.network.authchallengeresponseresponse.md | 20 ++++++++++ ...er.protocol.network.authchallengesource.md | 19 +++++++++ .../puppeteer.protocol.network.initiator.md | 2 +- ...ppeteer.protocol.network.initiator.type.md | 2 +- ...uppeteer.protocol.network.initiatortype.md | 22 ++++++++++ new-docs/puppeteer.protocol.network.md | 10 +++++ .../puppeteer.protocol.network.request.md | 2 +- ...protocol.network.request.referrerpolicy.md | 2 +- ....protocol.network.requestreferrerpolicy.md | 25 ++++++++++++ ...ppeteer.protocol.network.resourcetiming.md | 2 + ...network.resourcetiming.workerfetchstart.md | 13 ++++++ ...resourcetiming.workerrespondwithsettled.md | 13 ++++++ ....network.response.cachestoragecachename.md | 13 ++++++ .../puppeteer.protocol.network.response.md | 3 ++ ....protocol.network.response.responsetime.md | 13 ++++++ ...rk.response.serviceworkerresponsesource.md | 13 ++++++ ...col.network.serviceworkerresponsesource.md | 13 ++++++ ...ghlightobjectfortestrequest.colorformat.md | 2 +- ...verlay.gethighlightobjectfortestrequest.md | 3 +- ...ectfortestrequest.showaccessibilityinfo.md | 13 ++++++ ...er.protocol.overlay.gridhighlightconfig.md | 2 + ...highlightconfig.shownegativelinenumbers.md | 13 ++++++ ...highlightconfig.showpositivelinenumbers.md | 13 ++++++ ...peteer.protocol.overlay.highlightconfig.md | 1 + ...y.highlightconfig.showaccessibilityinfo.md | 13 ++++++ ...ol.page.capturescreenshotrequest.format.md | 2 +- ....protocol.page.capturescreenshotrequest.md | 2 +- ...col.page.capturescreenshotrequestformat.md | 19 +++++++++ ...ocol.page.capturesnapshotrequest.format.md | 2 +- ...er.protocol.page.capturesnapshotrequest.md | 2 +- ...tocol.page.capturesnapshotrequestformat.md | 18 +++++++++ ...eer.protocol.page.downloadprogressevent.md | 2 +- ...otocol.page.downloadprogressevent.state.md | 2 +- ...rotocol.page.downloadprogresseventstate.md | 20 ++++++++++ ...er.protocol.page.filechooseropenedevent.md | 2 +- ...otocol.page.filechooseropenedevent.mode.md | 2 +- ...rotocol.page.filechooseropenedeventmode.md | 19 +++++++++ new-docs/puppeteer.protocol.page.md | 14 +++++++ ...ppeteer.protocol.page.printtopdfrequest.md | 2 +- ...col.page.printtopdfrequest.transfermode.md | 2 +- ...ocol.page.printtopdfrequesttransfermode.md | 19 +++++++++ ...age.setdownloadbehaviorrequest.behavior.md | 2 +- ...rotocol.page.setdownloadbehaviorrequest.md | 2 +- ...page.setdownloadbehaviorrequestbehavior.md | 20 ++++++++++ ...chemulationenabledrequest.configuration.md | 2 +- ...ol.page.settouchemulationenabledrequest.md | 2 +- ...uchemulationenabledrequestconfiguration.md | 19 +++++++++ ...otocol.page.setweblifecyclestaterequest.md | 2 +- ....page.setweblifecyclestaterequest.state.md | 2 +- ...l.page.setweblifecyclestaterequeststate.md | 19 +++++++++ ...ocol.page.startscreencastrequest.format.md | 2 +- ...er.protocol.page.startscreencastrequest.md | 2 +- ...tocol.page.startscreencastrequestformat.md | 19 +++++++++ ...teer.protocol.performance.enablerequest.md | 2 +- ...ol.performance.enablerequest.timedomain.md | 2 +- ...col.performance.enablerequesttimedomain.md | 19 +++++++++ new-docs/puppeteer.protocol.performance.md | 7 ++++ ...otocol.performance.settimedomainrequest.md | 2 +- ...ormance.settimedomainrequest.timedomain.md | 2 +- ...formance.settimedomainrequesttimedomain.md | 19 +++++++++ ....protocol.runtime.consoleapicalledevent.md | 2 +- ...ocol.runtime.consoleapicalledevent.type.md | 2 +- ...tocol.runtime.consoleapicalledeventtype.md | 35 ++++++++++++++++ ...uaterequest.allowunsafeevalblockedbycsp.md | 13 ++++++ ...peteer.protocol.runtime.evaluaterequest.md | 1 + new-docs/puppeteer.protocol.runtime.md | 12 ++++++ ...uppeteer.protocol.runtime.objectpreview.md | 4 +- ....protocol.runtime.objectpreview.subtype.md | 2 +- ...eer.protocol.runtime.objectpreview.type.md | 2 +- ...r.protocol.runtime.objectpreviewsubtype.md | 29 ++++++++++++++ ...teer.protocol.runtime.objectpreviewtype.md | 25 ++++++++++++ ...peteer.protocol.runtime.propertypreview.md | 4 +- ...rotocol.runtime.propertypreview.subtype.md | 2 +- ...r.protocol.runtime.propertypreview.type.md | 2 +- ...protocol.runtime.propertypreviewsubtype.md | 29 ++++++++++++++ ...er.protocol.runtime.propertypreviewtype.md | 26 ++++++++++++ ...puppeteer.protocol.runtime.remoteobject.md | 4 +- ...r.protocol.runtime.remoteobject.subtype.md | 4 +- ...teer.protocol.runtime.remoteobject.type.md | 2 +- ...er.protocol.runtime.remoteobjectsubtype.md | 40 +++++++++++++++++++ ...eteer.protocol.runtime.remoteobjecttype.md | 26 ++++++++++++ ...ocol.target.createbrowsercontextrequest.md | 2 + ...tebrowsercontextrequest.proxybypasslist.md | 13 ++++++ ...createbrowsercontextrequest.proxyserver.md | 13 ++++++ new-docs/puppeteer.protocol.tracing.md | 7 ++++ ...puppeteer.protocol.tracing.startrequest.md | 2 +- ...tocol.tracing.startrequest.transfermode.md | 2 +- ...otocol.tracing.startrequesttransfermode.md | 19 +++++++++ .../puppeteer.protocol.tracing.traceconfig.md | 2 +- ...protocol.tracing.traceconfig.recordmode.md | 2 +- ....protocol.tracing.traceconfigrecordmode.md | 21 ++++++++++ package.json | 2 +- src/revisions.ts | 2 +- test/cookies.spec.ts | 4 +- test/elementhandle.spec.ts | 2 +- utils/check_availability.js | 5 ++- 225 files changed, 1897 insertions(+), 121 deletions(-) create mode 100644 new-docs/puppeteer.protocol.animation.animationtype.md create mode 100644 new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md create mode 100644 new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.md create mode 100644 new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md create mode 100644 new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md create mode 100644 new-docs/puppeteer.protocol.audits.blockedbyresponsereason.md create mode 100644 new-docs/puppeteer.protocol.audits.getencodedresponserequestencoding.md create mode 100644 new-docs/puppeteer.protocol.audits.heavyadissuedetails.frame.md create mode 100644 new-docs/puppeteer.protocol.audits.heavyadissuedetails.md create mode 100644 new-docs/puppeteer.protocol.audits.heavyadissuedetails.reason.md create mode 100644 new-docs/puppeteer.protocol.audits.heavyadissuedetails.resolution.md create mode 100644 new-docs/puppeteer.protocol.audits.heavyadreason.md create mode 100644 new-docs/puppeteer.protocol.audits.heavyadresolutionstatus.md create mode 100644 new-docs/puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md create mode 100644 new-docs/puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md create mode 100644 new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md create mode 100644 new-docs/puppeteer.protocol.console.consolemessagelevel.md create mode 100644 new-docs/puppeteer.protocol.console.consolemessagesource.md create mode 100644 new-docs/puppeteer.protocol.css.cssmediasource.md create mode 100644 new-docs/puppeteer.protocol.css.cssstylesheetheader.ismutable.md create mode 100644 new-docs/puppeteer.protocol.debugger.breaklocationtype.md create mode 100644 new-docs/puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md create mode 100644 new-docs/puppeteer.protocol.debugger.debugsymbolstype.md create mode 100644 new-docs/puppeteer.protocol.debugger.pausedeventreason.md create mode 100644 new-docs/puppeteer.protocol.debugger.scopetype.md create mode 100644 new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md create mode 100644 new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md create mode 100644 new-docs/puppeteer.protocol.emulation.screenorientationtype.md create mode 100644 new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md create mode 100644 new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md create mode 100644 new-docs/puppeteer.protocol.fetch.authchallengeresponseresponse.md create mode 100644 new-docs/puppeteer.protocol.fetch.authchallengesource.md create mode 100644 new-docs/puppeteer.protocol.headlessexperimental.screenshotparamsformat.md create mode 100644 new-docs/puppeteer.protocol.indexeddb.keypathtype.md create mode 100644 new-docs/puppeteer.protocol.indexeddb.keytype.md create mode 100644 new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.commands.md create mode 100644 new-docs/puppeteer.protocol.input.dispatchkeyeventrequesttype.md create mode 100644 new-docs/puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md create mode 100644 new-docs/puppeteer.protocol.input.dispatchmouseeventrequesttype.md create mode 100644 new-docs/puppeteer.protocol.input.dispatchtoucheventrequesttype.md create mode 100644 new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequesttype.md create mode 100644 new-docs/puppeteer.protocol.layertree.scrollrecttype.md create mode 100644 new-docs/puppeteer.protocol.log.logentrylevel.md create mode 100644 new-docs/puppeteer.protocol.log.logentrysource.md create mode 100644 new-docs/puppeteer.protocol.log.violationsettingname.md create mode 100644 new-docs/puppeteer.protocol.media.playererrortype.md create mode 100644 new-docs/puppeteer.protocol.media.playermessagelevel.md create mode 100644 new-docs/puppeteer.protocol.network.authchallengeresponseresponse.md create mode 100644 new-docs/puppeteer.protocol.network.authchallengesource.md create mode 100644 new-docs/puppeteer.protocol.network.initiatortype.md create mode 100644 new-docs/puppeteer.protocol.network.requestreferrerpolicy.md create mode 100644 new-docs/puppeteer.protocol.network.resourcetiming.workerfetchstart.md create mode 100644 new-docs/puppeteer.protocol.network.resourcetiming.workerrespondwithsettled.md create mode 100644 new-docs/puppeteer.protocol.network.response.cachestoragecachename.md create mode 100644 new-docs/puppeteer.protocol.network.response.responsetime.md create mode 100644 new-docs/puppeteer.protocol.network.response.serviceworkerresponsesource.md create mode 100644 new-docs/puppeteer.protocol.network.serviceworkerresponsesource.md create mode 100644 new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.showaccessibilityinfo.md create mode 100644 new-docs/puppeteer.protocol.overlay.gridhighlightconfig.shownegativelinenumbers.md create mode 100644 new-docs/puppeteer.protocol.overlay.gridhighlightconfig.showpositivelinenumbers.md create mode 100644 new-docs/puppeteer.protocol.overlay.highlightconfig.showaccessibilityinfo.md create mode 100644 new-docs/puppeteer.protocol.page.capturescreenshotrequestformat.md create mode 100644 new-docs/puppeteer.protocol.page.capturesnapshotrequestformat.md create mode 100644 new-docs/puppeteer.protocol.page.downloadprogresseventstate.md create mode 100644 new-docs/puppeteer.protocol.page.filechooseropenedeventmode.md create mode 100644 new-docs/puppeteer.protocol.page.printtopdfrequesttransfermode.md create mode 100644 new-docs/puppeteer.protocol.page.setdownloadbehaviorrequestbehavior.md create mode 100644 new-docs/puppeteer.protocol.page.settouchemulationenabledrequestconfiguration.md create mode 100644 new-docs/puppeteer.protocol.page.setweblifecyclestaterequeststate.md create mode 100644 new-docs/puppeteer.protocol.page.startscreencastrequestformat.md create mode 100644 new-docs/puppeteer.protocol.performance.enablerequesttimedomain.md create mode 100644 new-docs/puppeteer.protocol.performance.settimedomainrequesttimedomain.md create mode 100644 new-docs/puppeteer.protocol.runtime.consoleapicalledeventtype.md create mode 100644 new-docs/puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md create mode 100644 new-docs/puppeteer.protocol.runtime.objectpreviewsubtype.md create mode 100644 new-docs/puppeteer.protocol.runtime.objectpreviewtype.md create mode 100644 new-docs/puppeteer.protocol.runtime.propertypreviewsubtype.md create mode 100644 new-docs/puppeteer.protocol.runtime.propertypreviewtype.md create mode 100644 new-docs/puppeteer.protocol.runtime.remoteobjectsubtype.md create mode 100644 new-docs/puppeteer.protocol.runtime.remoteobjecttype.md create mode 100644 new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxybypasslist.md create mode 100644 new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxyserver.md create mode 100644 new-docs/puppeteer.protocol.tracing.startrequesttransfermode.md create mode 100644 new-docs/puppeteer.protocol.tracing.traceconfigrecordmode.md diff --git a/new-docs/puppeteer.protocol.animation.animation.md b/new-docs/puppeteer.protocol.animation.animation.md index 296077e5960bb..dccebd3d48007 100644 --- a/new-docs/puppeteer.protocol.animation.animation.md +++ b/new-docs/puppeteer.protocol.animation.animation.md @@ -25,5 +25,5 @@ export interface Animation | [playState](./puppeteer.protocol.animation.animation.playstate.md) | string | Animation's play state. | | [source](./puppeteer.protocol.animation.animation.source.md) | [AnimationEffect](./puppeteer.protocol.animation.animationeffect.md) | Animation's source animation node. | | [startTime](./puppeteer.protocol.animation.animation.starttime.md) | number | Animation's start time. | -| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of Animation. | +| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of Animation. (AnimationType enum) | diff --git a/new-docs/puppeteer.protocol.animation.animation.type.md b/new-docs/puppeteer.protocol.animation.animation.type.md index 4a867feb5ccd3..aa68ca34ca073 100644 --- a/new-docs/puppeteer.protocol.animation.animation.type.md +++ b/new-docs/puppeteer.protocol.animation.animation.type.md @@ -4,7 +4,7 @@ ## Protocol.Animation.Animation.type property -Animation type of `Animation`. +Animation type of `Animation`. (AnimationType enum) Signature: diff --git a/new-docs/puppeteer.protocol.animation.animationtype.md b/new-docs/puppeteer.protocol.animation.animationtype.md new file mode 100644 index 0000000000000..357e11e87ac4c --- /dev/null +++ b/new-docs/puppeteer.protocol.animation.animationtype.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Animation](./puppeteer.protocol.animation.md) > [AnimationType](./puppeteer.protocol.animation.animationtype.md) + +## Protocol.Animation.AnimationType enum + +Signature: + +```typescript +export const enum AnimationType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| CSSAnimation | 'CSSAnimation' | | +| CSSTransition | 'CSSTransition' | | +| WebAnimation | 'WebAnimation' | | + diff --git a/new-docs/puppeteer.protocol.animation.md b/new-docs/puppeteer.protocol.animation.md index 0b0f49a801cd8..b4d4afb270c2e 100644 --- a/new-docs/puppeteer.protocol.animation.md +++ b/new-docs/puppeteer.protocol.animation.md @@ -10,6 +10,12 @@ export namespace Animation ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [AnimationType](./puppeteer.protocol.animation.animationtype.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md new file mode 100644 index 0000000000000..8cba5e459665e --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) > [frame](./puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md) + +## Protocol.Audits.BlockedByResponseIssueDetails.frame property + +Signature: + +```typescript +frame?: AffectedFrame; +``` diff --git a/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.md b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.md new file mode 100644 index 0000000000000..24ed2372d3542 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) + +## Protocol.Audits.BlockedByResponseIssueDetails interface + +Details for a request that has been blocked with the BLOCKED\_BY\_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future. + +Signature: + +```typescript +export interface BlockedByResponseIssueDetails +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [frame](./puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md) | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | | +| [reason](./puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md) | [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) | | +| [request](./puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md) | [AffectedRequest](./puppeteer.protocol.audits.affectedrequest.md) | | + diff --git a/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md new file mode 100644 index 0000000000000..740594ff97537 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) > [reason](./puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md) + +## Protocol.Audits.BlockedByResponseIssueDetails.reason property + +Signature: + +```typescript +reason: BlockedByResponseReason; +``` diff --git a/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md new file mode 100644 index 0000000000000..e529ff8236a21 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) > [request](./puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md) + +## Protocol.Audits.BlockedByResponseIssueDetails.request property + +Signature: + +```typescript +request: AffectedRequest; +``` diff --git a/new-docs/puppeteer.protocol.audits.blockedbyresponsereason.md b/new-docs/puppeteer.protocol.audits.blockedbyresponsereason.md new file mode 100644 index 0000000000000..d37a441286fe6 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.blockedbyresponsereason.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) + +## Protocol.Audits.BlockedByResponseReason type + +Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED\_BY\_RESPONSE. + +Signature: + +```typescript +export type BlockedByResponseReason = ('CoepFrameResourceNeedsCoepHeader' | 'CoopSandboxedIFrameCannotNavigateToCoopPage' | 'CorpNotSameOrigin' | 'CorpNotSameOriginAfterDefaultedToSameOriginByCoep' | 'CorpNotSameSite'); +``` diff --git a/new-docs/puppeteer.protocol.audits.getencodedresponserequest.encoding.md b/new-docs/puppeteer.protocol.audits.getencodedresponserequest.encoding.md index ad6dc455eb4d2..af75b5adc27b6 100644 --- a/new-docs/puppeteer.protocol.audits.getencodedresponserequest.encoding.md +++ b/new-docs/puppeteer.protocol.audits.getencodedresponserequest.encoding.md @@ -4,7 +4,7 @@ ## Protocol.Audits.GetEncodedResponseRequest.encoding property -The encoding to use. +The encoding to use. (GetEncodedResponseRequestEncoding enum) Signature: diff --git a/new-docs/puppeteer.protocol.audits.getencodedresponserequest.md b/new-docs/puppeteer.protocol.audits.getencodedresponserequest.md index dd6d9426ad8e5..3bf3012e5c426 100644 --- a/new-docs/puppeteer.protocol.audits.getencodedresponserequest.md +++ b/new-docs/puppeteer.protocol.audits.getencodedresponserequest.md @@ -14,7 +14,7 @@ export interface GetEncodedResponseRequest | Property | Type | Description | | --- | --- | --- | -| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. | +| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. (GetEncodedResponseRequestEncoding enum) | | [quality](./puppeteer.protocol.audits.getencodedresponserequest.quality.md) | number | The quality of the encoding (0-1). (defaults to 1) | | [requestId](./puppeteer.protocol.audits.getencodedresponserequest.requestid.md) | [Network.RequestId](./puppeteer.protocol.network.requestid.md) | Identifier of the network request to get content for. | | [sizeOnly](./puppeteer.protocol.audits.getencodedresponserequest.sizeonly.md) | boolean | Whether to only return the size information (defaults to false). | diff --git a/new-docs/puppeteer.protocol.audits.getencodedresponserequestencoding.md b/new-docs/puppeteer.protocol.audits.getencodedresponserequestencoding.md new file mode 100644 index 0000000000000..c8eff2692dc07 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.getencodedresponserequestencoding.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [GetEncodedResponseRequestEncoding](./puppeteer.protocol.audits.getencodedresponserequestencoding.md) + +## Protocol.Audits.GetEncodedResponseRequestEncoding enum + +Signature: + +```typescript +export const enum GetEncodedResponseRequestEncoding +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Jpeg | 'jpeg' | | +| Png | 'png' | | +| Webp | 'webp' | | + diff --git a/new-docs/puppeteer.protocol.audits.heavyadissuedetails.frame.md b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.frame.md new file mode 100644 index 0000000000000..cf2e89b4c7fea --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.frame.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) > [frame](./puppeteer.protocol.audits.heavyadissuedetails.frame.md) + +## Protocol.Audits.HeavyAdIssueDetails.frame property + +The frame that was blocked. + +Signature: + +```typescript +frame: AffectedFrame; +``` diff --git a/new-docs/puppeteer.protocol.audits.heavyadissuedetails.md b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.md new file mode 100644 index 0000000000000..80220ea4e5e82 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) + +## Protocol.Audits.HeavyAdIssueDetails interface + +Signature: + +```typescript +export interface HeavyAdIssueDetails +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [frame](./puppeteer.protocol.audits.heavyadissuedetails.frame.md) | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | The frame that was blocked. | +| [reason](./puppeteer.protocol.audits.heavyadissuedetails.reason.md) | [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) | The reason the ad was blocked, total network or cpu or peak cpu. | +| [resolution](./puppeteer.protocol.audits.heavyadissuedetails.resolution.md) | [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) | The resolution status, either blocking the content or warning. | + diff --git a/new-docs/puppeteer.protocol.audits.heavyadissuedetails.reason.md b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.reason.md new file mode 100644 index 0000000000000..83f6fd33671e2 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.reason.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) > [reason](./puppeteer.protocol.audits.heavyadissuedetails.reason.md) + +## Protocol.Audits.HeavyAdIssueDetails.reason property + +The reason the ad was blocked, total network or cpu or peak cpu. + +Signature: + +```typescript +reason: HeavyAdReason; +``` diff --git a/new-docs/puppeteer.protocol.audits.heavyadissuedetails.resolution.md b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.resolution.md new file mode 100644 index 0000000000000..a539753afdc71 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.heavyadissuedetails.resolution.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) > [resolution](./puppeteer.protocol.audits.heavyadissuedetails.resolution.md) + +## Protocol.Audits.HeavyAdIssueDetails.resolution property + +The resolution status, either blocking the content or warning. + +Signature: + +```typescript +resolution: HeavyAdResolutionStatus; +``` diff --git a/new-docs/puppeteer.protocol.audits.heavyadreason.md b/new-docs/puppeteer.protocol.audits.heavyadreason.md new file mode 100644 index 0000000000000..854827029f894 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.heavyadreason.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) + +## Protocol.Audits.HeavyAdReason type + +Signature: + +```typescript +export type HeavyAdReason = ('NetworkTotalLimit' | 'CpuTotalLimit' | 'CpuPeakLimit'); +``` diff --git a/new-docs/puppeteer.protocol.audits.heavyadresolutionstatus.md b/new-docs/puppeteer.protocol.audits.heavyadresolutionstatus.md new file mode 100644 index 0000000000000..7d757092e20cb --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.heavyadresolutionstatus.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) + +## Protocol.Audits.HeavyAdResolutionStatus type + +Signature: + +```typescript +export type HeavyAdResolutionStatus = ('HeavyAdBlocked' | 'HeavyAdWarning'); +``` diff --git a/new-docs/puppeteer.protocol.audits.inspectorissuecode.md b/new-docs/puppeteer.protocol.audits.inspectorissuecode.md index ece23f49a70b9..29c08e056bef4 100644 --- a/new-docs/puppeteer.protocol.audits.inspectorissuecode.md +++ b/new-docs/puppeteer.protocol.audits.inspectorissuecode.md @@ -9,5 +9,5 @@ A unique identifier for the type of issue. Each type may use one of the optional Signature: ```typescript -export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue'); +export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue'); ``` diff --git a/new-docs/puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md b/new-docs/puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md new file mode 100644 index 0000000000000..5ec7f5f9caa37 --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) > [blockedByResponseIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md) + +## Protocol.Audits.InspectorIssueDetails.blockedByResponseIssueDetails property + +Signature: + +```typescript +blockedByResponseIssueDetails?: BlockedByResponseIssueDetails; +``` diff --git a/new-docs/puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md b/new-docs/puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md new file mode 100644 index 0000000000000..7f1dc365318ff --- /dev/null +++ b/new-docs/puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) > [heavyAdIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md) + +## Protocol.Audits.InspectorIssueDetails.heavyAdIssueDetails property + +Signature: + +```typescript +heavyAdIssueDetails?: HeavyAdIssueDetails; +``` diff --git a/new-docs/puppeteer.protocol.audits.inspectorissuedetails.md b/new-docs/puppeteer.protocol.audits.inspectorissuedetails.md index 44dfe01ce61dc..b64f2145dbf2d 100644 --- a/new-docs/puppeteer.protocol.audits.inspectorissuedetails.md +++ b/new-docs/puppeteer.protocol.audits.inspectorissuedetails.md @@ -16,6 +16,8 @@ export interface InspectorIssueDetails | Property | Type | Description | | --- | --- | --- | +| [blockedByResponseIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md) | [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) | | +| [heavyAdIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md) | [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) | | | [mixedContentIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.mixedcontentissuedetails.md) | [MixedContentIssueDetails](./puppeteer.protocol.audits.mixedcontentissuedetails.md) | | | [sameSiteCookieIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.samesitecookieissuedetails.md) | [SameSiteCookieIssueDetails](./puppeteer.protocol.audits.samesitecookieissuedetails.md) | | diff --git a/new-docs/puppeteer.protocol.audits.md b/new-docs/puppeteer.protocol.audits.md index 7508ab81b6446..7b939104892e8 100644 --- a/new-docs/puppeteer.protocol.audits.md +++ b/new-docs/puppeteer.protocol.audits.md @@ -12,6 +12,12 @@ Audits domain allows investigation of page violations and possible improvements. export namespace Audits ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [GetEncodedResponseRequestEncoding](./puppeteer.protocol.audits.getencodedresponserequestencoding.md) | | + ## Interfaces | Interface | Description | @@ -19,8 +25,10 @@ export namespace Audits | [AffectedCookie](./puppeteer.protocol.audits.affectedcookie.md) | Information about a cookie that is affected by an inspector issue. | | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | Information about the frame affected by an inspector issue. | | [AffectedRequest](./puppeteer.protocol.audits.affectedrequest.md) | Information about a request that is affected by an inspector issue. | +| [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) | Details for a request that has been blocked with the BLOCKED\_BY\_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future. | | [GetEncodedResponseRequest](./puppeteer.protocol.audits.getencodedresponserequest.md) | | | [GetEncodedResponseResponse](./puppeteer.protocol.audits.getencodedresponseresponse.md) | | +| [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) | | | [InspectorIssue](./puppeteer.protocol.audits.inspectorissue.md) | An inspector issue reported from the back-end. | | [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) | This struct holds a list of optional fields with additional information specific to the kind of issue. When adding a new issue code, please also add a new optional field to this type. | | [IssueAddedEvent](./puppeteer.protocol.audits.issueaddedevent.md) | | @@ -31,6 +39,9 @@ export namespace Audits | Type Alias | Description | | --- | --- | +| [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) | Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED\_BY\_RESPONSE. | +| [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) | | +| [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) | | | [InspectorIssueCode](./puppeteer.protocol.audits.inspectorissuecode.md) | A unique identifier for the type of issue. Each type may use one of the optional fields in InspectorIssueDetails to convey more specific information about the kind of issue. | | [MixedContentResolutionStatus](./puppeteer.protocol.audits.mixedcontentresolutionstatus.md) | | | [MixedContentResourceType](./puppeteer.protocol.audits.mixedcontentresourcetype.md) | | diff --git a/new-docs/puppeteer.protocol.browser.md b/new-docs/puppeteer.protocol.browser.md index d78a3c3fc148e..f0996e5ea6309 100644 --- a/new-docs/puppeteer.protocol.browser.md +++ b/new-docs/puppeteer.protocol.browser.md @@ -12,6 +12,12 @@ The Browser domain defines methods and events for browser managing. export namespace Browser ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md b/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md index 0f3fbaa4f4b7d..c1569ac6959d8 100644 --- a/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md +++ b/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md @@ -4,7 +4,7 @@ ## Protocol.Browser.SetDownloadBehaviorRequest.behavior property -Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. +Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum) Signature: diff --git a/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.md b/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.md index f8f9f59f9e6ac..f23563e13e614 100644 --- a/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.md +++ b/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.md @@ -14,7 +14,7 @@ export interface SetDownloadBehaviorRequest | Property | Type | Description | | --- | --- | --- | -| [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'allowAndName' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. | +| [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'allowAndName' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum) | | [browserContextId](./puppeteer.protocol.browser.setdownloadbehaviorrequest.browsercontextid.md) | [BrowserContextID](./puppeteer.protocol.browser.browsercontextid.md) | BrowserContext to set download behavior. When omitted, default browser context is used. | | [downloadPath](./puppeteer.protocol.browser.setdownloadbehaviorrequest.downloadpath.md) | string | The default path to save downloaded files to. This is requred if behavior is set to 'allow' or 'allowAndName'. | diff --git a/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md b/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md new file mode 100644 index 0000000000000..67fd8d0f39b2d --- /dev/null +++ b/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Browser](./puppeteer.protocol.browser.md) > [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md) + +## Protocol.Browser.SetDownloadBehaviorRequestBehavior enum + +Signature: + +```typescript +export const enum SetDownloadBehaviorRequestBehavior +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Allow | 'allow' | | +| AllowAndName | 'allowAndName' | | +| Default | 'default' | | +| Deny | 'deny' | | + diff --git a/new-docs/puppeteer.protocol.console.consolemessage.level.md b/new-docs/puppeteer.protocol.console.consolemessage.level.md index eec6fd4e51610..c297cef3377d9 100644 --- a/new-docs/puppeteer.protocol.console.consolemessage.level.md +++ b/new-docs/puppeteer.protocol.console.consolemessage.level.md @@ -4,7 +4,7 @@ ## Protocol.Console.ConsoleMessage.level property -Message severity. +Message severity. (ConsoleMessageLevel enum) Signature: diff --git a/new-docs/puppeteer.protocol.console.consolemessage.md b/new-docs/puppeteer.protocol.console.consolemessage.md index bdacca37a25dc..cfbd6c97a5c67 100644 --- a/new-docs/puppeteer.protocol.console.consolemessage.md +++ b/new-docs/puppeteer.protocol.console.consolemessage.md @@ -17,9 +17,9 @@ export interface ConsoleMessage | Property | Type | Description | | --- | --- | --- | | [column](./puppeteer.protocol.console.consolemessage.column.md) | [integer](./puppeteer.protocol.integer.md) | Column number in the resource that generated this message (1-based). | -| [level](./puppeteer.protocol.console.consolemessage.level.md) | ('log' \| 'warning' \| 'error' \| 'debug' \| 'info') | Message severity. | +| [level](./puppeteer.protocol.console.consolemessage.level.md) | ('log' \| 'warning' \| 'error' \| 'debug' \| 'info') | Message severity. (ConsoleMessageLevel enum) | | [line](./puppeteer.protocol.console.consolemessage.line.md) | [integer](./puppeteer.protocol.integer.md) | Line number in the resource that generated this message (1-based). | -| [source](./puppeteer.protocol.console.consolemessage.source.md) | ('xml' \| 'javascript' \| 'network' \| 'console-api' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'other' \| 'deprecation' \| 'worker') | Message source. | +| [source](./puppeteer.protocol.console.consolemessage.source.md) | ('xml' \| 'javascript' \| 'network' \| 'console-api' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'other' \| 'deprecation' \| 'worker') | Message source. (ConsoleMessageSource enum) | | [text](./puppeteer.protocol.console.consolemessage.text.md) | string | Message text. | | [url](./puppeteer.protocol.console.consolemessage.url.md) | string | URL of the message origin. | diff --git a/new-docs/puppeteer.protocol.console.consolemessage.source.md b/new-docs/puppeteer.protocol.console.consolemessage.source.md index d48765404a52e..7f9c5bede3147 100644 --- a/new-docs/puppeteer.protocol.console.consolemessage.source.md +++ b/new-docs/puppeteer.protocol.console.consolemessage.source.md @@ -4,7 +4,7 @@ ## Protocol.Console.ConsoleMessage.source property -Message source. +Message source. (ConsoleMessageSource enum) Signature: diff --git a/new-docs/puppeteer.protocol.console.consolemessagelevel.md b/new-docs/puppeteer.protocol.console.consolemessagelevel.md new file mode 100644 index 0000000000000..593204cbd9d96 --- /dev/null +++ b/new-docs/puppeteer.protocol.console.consolemessagelevel.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Console](./puppeteer.protocol.console.md) > [ConsoleMessageLevel](./puppeteer.protocol.console.consolemessagelevel.md) + +## Protocol.Console.ConsoleMessageLevel enum + +Signature: + +```typescript +export const enum ConsoleMessageLevel +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Debug | 'debug' | | +| Error | 'error' | | +| Info | 'info' | | +| Log | 'log' | | +| Warning | 'warning' | | + diff --git a/new-docs/puppeteer.protocol.console.consolemessagesource.md b/new-docs/puppeteer.protocol.console.consolemessagesource.md new file mode 100644 index 0000000000000..e00b6dc836b1d --- /dev/null +++ b/new-docs/puppeteer.protocol.console.consolemessagesource.md @@ -0,0 +1,28 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Console](./puppeteer.protocol.console.md) > [ConsoleMessageSource](./puppeteer.protocol.console.consolemessagesource.md) + +## Protocol.Console.ConsoleMessageSource enum + +Signature: + +```typescript +export const enum ConsoleMessageSource +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Appcache | 'appcache' | | +| ConsoleAPI | 'console-api' | | +| Deprecation | 'deprecation' | | +| Javascript | 'javascript' | | +| Network | 'network' | | +| Other | 'other' | | +| Rendering | 'rendering' | | +| Security | 'security' | | +| Storage | 'storage' | | +| Worker | 'worker' | | +| XML | 'xml' | | + diff --git a/new-docs/puppeteer.protocol.console.md b/new-docs/puppeteer.protocol.console.md index 7fc686d125484..278e56bfe2b4f 100644 --- a/new-docs/puppeteer.protocol.console.md +++ b/new-docs/puppeteer.protocol.console.md @@ -12,6 +12,13 @@ This domain is deprecated - use Runtime or Log instead. export namespace Console ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [ConsoleMessageLevel](./puppeteer.protocol.console.consolemessagelevel.md) | | +| [ConsoleMessageSource](./puppeteer.protocol.console.consolemessagesource.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.css.cssmedia.md b/new-docs/puppeteer.protocol.css.cssmedia.md index 3c79ef5fb021d..7f9a601207886 100644 --- a/new-docs/puppeteer.protocol.css.cssmedia.md +++ b/new-docs/puppeteer.protocol.css.cssmedia.md @@ -18,7 +18,7 @@ export interface CSSMedia | --- | --- | --- | | [mediaList](./puppeteer.protocol.css.cssmedia.medialist.md) | [MediaQuery](./puppeteer.protocol.css.mediaquery.md)\[\] | Array of media queries. | | [range](./puppeteer.protocol.css.cssmedia.range.md) | [SourceRange](./puppeteer.protocol.css.sourcerange.md) | The associated rule (@media or @import) header range in the enclosing stylesheet (if available). | -| [source](./puppeteer.protocol.css.cssmedia.source.md) | ('mediaRule' \| 'importRule' \| 'linkedSheet' \| 'inlineSheet') | Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. | +| [source](./puppeteer.protocol.css.cssmedia.source.md) | ('mediaRule' \| 'importRule' \| 'linkedSheet' \| 'inlineSheet') | Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. (CSSMediaSource enum) | | [sourceURL](./puppeteer.protocol.css.cssmedia.sourceurl.md) | string | URL of the document containing the media query description. | | [styleSheetId](./puppeteer.protocol.css.cssmedia.stylesheetid.md) | [StyleSheetId](./puppeteer.protocol.css.stylesheetid.md) | Identifier of the stylesheet containing this object (if exists). | | [text](./puppeteer.protocol.css.cssmedia.text.md) | string | Media query text. | diff --git a/new-docs/puppeteer.protocol.css.cssmedia.source.md b/new-docs/puppeteer.protocol.css.cssmedia.source.md index ea482440c3f65..c269619e9e295 100644 --- a/new-docs/puppeteer.protocol.css.cssmedia.source.md +++ b/new-docs/puppeteer.protocol.css.cssmedia.source.md @@ -4,7 +4,7 @@ ## Protocol.CSS.CSSMedia.source property -Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. +Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. (CSSMediaSource enum) Signature: diff --git a/new-docs/puppeteer.protocol.css.cssmediasource.md b/new-docs/puppeteer.protocol.css.cssmediasource.md new file mode 100644 index 0000000000000..dfb06d979c336 --- /dev/null +++ b/new-docs/puppeteer.protocol.css.cssmediasource.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [CSSMediaSource](./puppeteer.protocol.css.cssmediasource.md) + +## Protocol.CSS.CSSMediaSource enum + +Signature: + +```typescript +export const enum CSSMediaSource +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| ImportRule | 'importRule' | | +| InlineSheet | 'inlineSheet' | | +| LinkedSheet | 'linkedSheet' | | +| MediaRule | 'mediaRule' | | + diff --git a/new-docs/puppeteer.protocol.css.cssstylesheetheader.ismutable.md b/new-docs/puppeteer.protocol.css.cssstylesheetheader.ismutable.md new file mode 100644 index 0000000000000..965fbfb0c9e6a --- /dev/null +++ b/new-docs/puppeteer.protocol.css.cssstylesheetheader.ismutable.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [CSSStyleSheetHeader](./puppeteer.protocol.css.cssstylesheetheader.md) > [isMutable](./puppeteer.protocol.css.cssstylesheetheader.ismutable.md) + +## Protocol.CSS.CSSStyleSheetHeader.isMutable property + +Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets are never mutable. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. + +Signature: + +```typescript +isMutable: boolean; +``` diff --git a/new-docs/puppeteer.protocol.css.cssstylesheetheader.md b/new-docs/puppeteer.protocol.css.cssstylesheetheader.md index a55edb1c231bc..bbfaaaf400ce7 100644 --- a/new-docs/puppeteer.protocol.css.cssstylesheetheader.md +++ b/new-docs/puppeteer.protocol.css.cssstylesheetheader.md @@ -22,6 +22,7 @@ export interface CSSStyleSheetHeader | [frameId](./puppeteer.protocol.css.cssstylesheetheader.frameid.md) | [Page.FrameId](./puppeteer.protocol.page.frameid.md) | Owner frame identifier. | | [hasSourceURL](./puppeteer.protocol.css.cssstylesheetheader.hassourceurl.md) | boolean | Whether the sourceURL field value comes from the sourceURL comment. | | [isInline](./puppeteer.protocol.css.cssstylesheetheader.isinline.md) | boolean | Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags. | +| [isMutable](./puppeteer.protocol.css.cssstylesheetheader.ismutable.md) | boolean | Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets are never mutable. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. | | [length](./puppeteer.protocol.css.cssstylesheetheader.length.md) | number | Size of the content (in characters). | | [origin](./puppeteer.protocol.css.cssstylesheetheader.origin.md) | [StyleSheetOrigin](./puppeteer.protocol.css.stylesheetorigin.md) | Stylesheet origin. | | [ownerNode](./puppeteer.protocol.css.cssstylesheetheader.ownernode.md) | [DOM.BackendNodeId](./puppeteer.protocol.dom.backendnodeid.md) | The backend id for the owner node of the stylesheet. | diff --git a/new-docs/puppeteer.protocol.css.md b/new-docs/puppeteer.protocol.css.md index 8313b496aa9f0..efac0cfffb4fe 100644 --- a/new-docs/puppeteer.protocol.css.md +++ b/new-docs/puppeteer.protocol.css.md @@ -12,6 +12,12 @@ This domain exposes CSS read/write operations. All CSS objects (stylesheets, rul export namespace CSS ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [CSSMediaSource](./puppeteer.protocol.css.cssmediasource.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.debugger.breaklocation.md b/new-docs/puppeteer.protocol.debugger.breaklocation.md index b6721264b49f7..352aba7318b2d 100644 --- a/new-docs/puppeteer.protocol.debugger.breaklocation.md +++ b/new-docs/puppeteer.protocol.debugger.breaklocation.md @@ -17,5 +17,5 @@ export interface BreakLocation | [columnNumber](./puppeteer.protocol.debugger.breaklocation.columnnumber.md) | [integer](./puppeteer.protocol.integer.md) | Column number in the script (0-based). | | [lineNumber](./puppeteer.protocol.debugger.breaklocation.linenumber.md) | [integer](./puppeteer.protocol.integer.md) | Line number in the script (0-based). | | [scriptId](./puppeteer.protocol.debugger.breaklocation.scriptid.md) | [Runtime.ScriptId](./puppeteer.protocol.runtime.scriptid.md) | Script identifier as reported in the Debugger.scriptParsed. | -| [type](./puppeteer.protocol.debugger.breaklocation.type.md) | ('debuggerStatement' \| 'call' \| 'return') | | +| [type](./puppeteer.protocol.debugger.breaklocation.type.md) | ('debuggerStatement' \| 'call' \| 'return') | (BreakLocationType enum) | diff --git a/new-docs/puppeteer.protocol.debugger.breaklocation.type.md b/new-docs/puppeteer.protocol.debugger.breaklocation.type.md index fec521ad6f340..9d2cb0abb0f7a 100644 --- a/new-docs/puppeteer.protocol.debugger.breaklocation.type.md +++ b/new-docs/puppeteer.protocol.debugger.breaklocation.type.md @@ -4,6 +4,8 @@ ## Protocol.Debugger.BreakLocation.type property +(BreakLocationType enum) + Signature: ```typescript diff --git a/new-docs/puppeteer.protocol.debugger.breaklocationtype.md b/new-docs/puppeteer.protocol.debugger.breaklocationtype.md new file mode 100644 index 0000000000000..b6b151c4edb54 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.breaklocationtype.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [BreakLocationType](./puppeteer.protocol.debugger.breaklocationtype.md) + +## Protocol.Debugger.BreakLocationType enum + +Signature: + +```typescript +export const enum BreakLocationType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Call | 'call' | | +| DebuggerStatement | 'debuggerStatement' | | +| Return | 'return' | | + diff --git a/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.md b/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.md index 50aa69ab1a9e0..63cdb2f340c1a 100644 --- a/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.md +++ b/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.md @@ -15,5 +15,5 @@ export interface ContinueToLocationRequest | Property | Type | Description | | --- | --- | --- | | [location](./puppeteer.protocol.debugger.continuetolocationrequest.location.md) | [Location](./puppeteer.protocol.debugger.location.md) | Location to continue to. | -| [targetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md) | ('any' \| 'current') | | +| [targetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md) | ('any' \| 'current') | (ContinueToLocationRequestTargetCallFrames enum) | diff --git a/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md b/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md index 992dc7e631bee..4082aa48f169b 100644 --- a/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md +++ b/new-docs/puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md @@ -4,6 +4,8 @@ ## Protocol.Debugger.ContinueToLocationRequest.targetCallFrames property +(ContinueToLocationRequestTargetCallFrames enum) + Signature: ```typescript diff --git a/new-docs/puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md b/new-docs/puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md new file mode 100644 index 0000000000000..e209b1e223083 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [ContinueToLocationRequestTargetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md) + +## Protocol.Debugger.ContinueToLocationRequestTargetCallFrames enum + +Signature: + +```typescript +export const enum ContinueToLocationRequestTargetCallFrames +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Any | 'any' | | +| Current | 'current' | | + diff --git a/new-docs/puppeteer.protocol.debugger.debugsymbols.md b/new-docs/puppeteer.protocol.debugger.debugsymbols.md index a0256382d66f0..d5b4e22b0f066 100644 --- a/new-docs/puppeteer.protocol.debugger.debugsymbols.md +++ b/new-docs/puppeteer.protocol.debugger.debugsymbols.md @@ -17,5 +17,5 @@ export interface DebugSymbols | Property | Type | Description | | --- | --- | --- | | [externalURL](./puppeteer.protocol.debugger.debugsymbols.externalurl.md) | string | URL of the external symbol source. | -| [type](./puppeteer.protocol.debugger.debugsymbols.type.md) | ('None' \| 'SourceMap' \| 'EmbeddedDWARF' \| 'ExternalDWARF') | Type of the debug symbols. | +| [type](./puppeteer.protocol.debugger.debugsymbols.type.md) | ('None' \| 'SourceMap' \| 'EmbeddedDWARF' \| 'ExternalDWARF') | Type of the debug symbols. (DebugSymbolsType enum) | diff --git a/new-docs/puppeteer.protocol.debugger.debugsymbols.type.md b/new-docs/puppeteer.protocol.debugger.debugsymbols.type.md index 5861bffa37548..e34d9a15c0a0b 100644 --- a/new-docs/puppeteer.protocol.debugger.debugsymbols.type.md +++ b/new-docs/puppeteer.protocol.debugger.debugsymbols.type.md @@ -4,7 +4,7 @@ ## Protocol.Debugger.DebugSymbols.type property -Type of the debug symbols. +Type of the debug symbols. (DebugSymbolsType enum) Signature: diff --git a/new-docs/puppeteer.protocol.debugger.debugsymbolstype.md b/new-docs/puppeteer.protocol.debugger.debugsymbolstype.md new file mode 100644 index 0000000000000..40924dd73df09 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.debugsymbolstype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [DebugSymbolsType](./puppeteer.protocol.debugger.debugsymbolstype.md) + +## Protocol.Debugger.DebugSymbolsType enum + +Signature: + +```typescript +export const enum DebugSymbolsType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| EmbeddedDWARF | 'EmbeddedDWARF' | | +| ExternalDWARF | 'ExternalDWARF' | | +| None | 'None' | | +| SourceMap | 'SourceMap' | | + diff --git a/new-docs/puppeteer.protocol.debugger.md b/new-docs/puppeteer.protocol.debugger.md index 2929548b34e24..5707069aec08d 100644 --- a/new-docs/puppeteer.protocol.debugger.md +++ b/new-docs/puppeteer.protocol.debugger.md @@ -12,6 +12,18 @@ Debugger domain exposes JavaScript debugging capabilities. It allows setting and export namespace Debugger ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [BreakLocationType](./puppeteer.protocol.debugger.breaklocationtype.md) | | +| [ContinueToLocationRequestTargetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md) | | +| [DebugSymbolsType](./puppeteer.protocol.debugger.debugsymbolstype.md) | | +| [PausedEventReason](./puppeteer.protocol.debugger.pausedeventreason.md) | | +| [ScopeType](./puppeteer.protocol.debugger.scopetype.md) | | +| [SetInstrumentationBreakpointRequestInstrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md) | | +| [SetPauseOnExceptionsRequestState](./puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.debugger.pausedevent.md b/new-docs/puppeteer.protocol.debugger.pausedevent.md index 9d194b9b5469a..fc5261df0e160 100644 --- a/new-docs/puppeteer.protocol.debugger.pausedevent.md +++ b/new-docs/puppeteer.protocol.debugger.pausedevent.md @@ -22,5 +22,5 @@ export interface PausedEvent | [callFrames](./puppeteer.protocol.debugger.pausedevent.callframes.md) | [CallFrame](./puppeteer.protocol.debugger.callframe.md)\[\] | Call stack the virtual machine stopped on. | | [data](./puppeteer.protocol.debugger.pausedevent.data.md) | any | Object containing break-specific auxiliary properties. | | [hitBreakpoints](./puppeteer.protocol.debugger.pausedevent.hitbreakpoints.md) | string\[\] | Hit breakpoints IDs | -| [reason](./puppeteer.protocol.debugger.pausedevent.reason.md) | ('ambiguous' \| 'assert' \| 'debugCommand' \| 'DOM' \| 'EventListener' \| 'exception' \| 'instrumentation' \| 'OOM' \| 'other' \| 'promiseRejection' \| 'XHR') | Pause reason. | +| [reason](./puppeteer.protocol.debugger.pausedevent.reason.md) | ('ambiguous' \| 'assert' \| 'debugCommand' \| 'DOM' \| 'EventListener' \| 'exception' \| 'instrumentation' \| 'OOM' \| 'other' \| 'promiseRejection' \| 'XHR') | Pause reason. (PausedEventReason enum) | diff --git a/new-docs/puppeteer.protocol.debugger.pausedevent.reason.md b/new-docs/puppeteer.protocol.debugger.pausedevent.reason.md index 7adf4e5966165..00a3e86155180 100644 --- a/new-docs/puppeteer.protocol.debugger.pausedevent.reason.md +++ b/new-docs/puppeteer.protocol.debugger.pausedevent.reason.md @@ -4,7 +4,7 @@ ## Protocol.Debugger.PausedEvent.reason property -Pause reason. +Pause reason. (PausedEventReason enum) Signature: diff --git a/new-docs/puppeteer.protocol.debugger.pausedeventreason.md b/new-docs/puppeteer.protocol.debugger.pausedeventreason.md new file mode 100644 index 0000000000000..1b0061c7053a6 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.pausedeventreason.md @@ -0,0 +1,28 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [PausedEventReason](./puppeteer.protocol.debugger.pausedeventreason.md) + +## Protocol.Debugger.PausedEventReason enum + +Signature: + +```typescript +export const enum PausedEventReason +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Ambiguous | 'ambiguous' | | +| Assert | 'assert' | | +| DebugCommand | 'debugCommand' | | +| DOM | 'DOM' | | +| EventListener | 'EventListener' | | +| Exception | 'exception' | | +| Instrumentation | 'instrumentation' | | +| OOM | 'OOM' | | +| Other | 'other' | | +| PromiseRejection | 'promiseRejection' | | +| XHR | 'XHR' | | + diff --git a/new-docs/puppeteer.protocol.debugger.scope.md b/new-docs/puppeteer.protocol.debugger.scope.md index f666e95bc40c4..6de6ac2bb8c48 100644 --- a/new-docs/puppeteer.protocol.debugger.scope.md +++ b/new-docs/puppeteer.protocol.debugger.scope.md @@ -20,5 +20,5 @@ export interface Scope | [name](./puppeteer.protocol.debugger.scope.name.md) | string | | | [object](./puppeteer.protocol.debugger.scope.object.md) | [Runtime.RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. | | [startLocation](./puppeteer.protocol.debugger.scope.startlocation.md) | [Location](./puppeteer.protocol.debugger.location.md) | Location in the source code where scope starts | -| [type](./puppeteer.protocol.debugger.scope.type.md) | ('global' \| 'local' \| 'with' \| 'closure' \| 'catch' \| 'block' \| 'script' \| 'eval' \| 'module' \| 'wasm-expression-stack') | Scope type. | +| [type](./puppeteer.protocol.debugger.scope.type.md) | ('global' \| 'local' \| 'with' \| 'closure' \| 'catch' \| 'block' \| 'script' \| 'eval' \| 'module' \| 'wasm-expression-stack') | Scope type. (ScopeType enum) | diff --git a/new-docs/puppeteer.protocol.debugger.scope.type.md b/new-docs/puppeteer.protocol.debugger.scope.type.md index 8b06f4d410c92..e96284b9ea9f2 100644 --- a/new-docs/puppeteer.protocol.debugger.scope.type.md +++ b/new-docs/puppeteer.protocol.debugger.scope.type.md @@ -4,7 +4,7 @@ ## Protocol.Debugger.Scope.type property -Scope type. +Scope type. (ScopeType enum) Signature: diff --git a/new-docs/puppeteer.protocol.debugger.scopetype.md b/new-docs/puppeteer.protocol.debugger.scopetype.md new file mode 100644 index 0000000000000..0f8d76ecd54c5 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.scopetype.md @@ -0,0 +1,27 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [ScopeType](./puppeteer.protocol.debugger.scopetype.md) + +## Protocol.Debugger.ScopeType enum + +Signature: + +```typescript +export const enum ScopeType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Block | 'block' | | +| Catch | 'catch' | | +| Closure | 'closure' | | +| Eval | 'eval' | | +| Global | 'global' | | +| Local | 'local' | | +| Module | 'module' | | +| Script | 'script' | | +| WasmExpressionStack | 'wasm-expression-stack' | | +| With | 'with' | | + diff --git a/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md b/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md index 2247dbacb5ca2..86d9374f0b45a 100644 --- a/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md +++ b/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md @@ -4,7 +4,7 @@ ## Protocol.Debugger.SetInstrumentationBreakpointRequest.instrumentation property -Instrumentation name. +Instrumentation name. (SetInstrumentationBreakpointRequestInstrumentation enum) Signature: diff --git a/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.md b/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.md index f36a6d63f60ce..540403acd6aa2 100644 --- a/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.md +++ b/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.md @@ -14,5 +14,5 @@ export interface SetInstrumentationBreakpointRequest | Property | Type | Description | | --- | --- | --- | -| [instrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md) | ('beforeScriptExecution' \| 'beforeScriptWithSourceMapExecution') | Instrumentation name. | +| [instrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md) | ('beforeScriptExecution' \| 'beforeScriptWithSourceMapExecution') | Instrumentation name. (SetInstrumentationBreakpointRequestInstrumentation enum) | diff --git a/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md b/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md new file mode 100644 index 0000000000000..ffdbb1f337d87 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [SetInstrumentationBreakpointRequestInstrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md) + +## Protocol.Debugger.SetInstrumentationBreakpointRequestInstrumentation enum + +Signature: + +```typescript +export const enum SetInstrumentationBreakpointRequestInstrumentation +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| BeforeScriptExecution | 'beforeScriptExecution' | | +| BeforeScriptWithSourceMapExecution | 'beforeScriptWithSourceMapExecution' | | + diff --git a/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.md b/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.md index 8f22382dcec1d..ffc87cdaab533 100644 --- a/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.md +++ b/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.md @@ -14,5 +14,5 @@ export interface SetPauseOnExceptionsRequest | Property | Type | Description | | --- | --- | --- | -| [state](./puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md) | ('none' \| 'uncaught' \| 'all') | Pause on exceptions mode. | +| [state](./puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md) | ('none' \| 'uncaught' \| 'all') | Pause on exceptions mode. (SetPauseOnExceptionsRequestState enum) | diff --git a/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md b/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md index a76b5debcc704..5fdc8cab11a13 100644 --- a/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md +++ b/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md @@ -4,7 +4,7 @@ ## Protocol.Debugger.SetPauseOnExceptionsRequest.state property -Pause on exceptions mode. +Pause on exceptions mode. (SetPauseOnExceptionsRequestState enum) Signature: diff --git a/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md b/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md new file mode 100644 index 0000000000000..b97e5c3bb4f55 --- /dev/null +++ b/new-docs/puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [SetPauseOnExceptionsRequestState](./puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md) + +## Protocol.Debugger.SetPauseOnExceptionsRequestState enum + +Signature: + +```typescript +export const enum SetPauseOnExceptionsRequestState +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| All | 'all' | | +| None | 'none' | | +| Uncaught | 'uncaught' | | + diff --git a/new-docs/puppeteer.protocol.emulation.md b/new-docs/puppeteer.protocol.emulation.md index 5e7de139cf5aa..de85496c297f2 100644 --- a/new-docs/puppeteer.protocol.emulation.md +++ b/new-docs/puppeteer.protocol.emulation.md @@ -12,6 +12,14 @@ This domain emulates different environments for the page. export namespace Emulation ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [ScreenOrientationType](./puppeteer.protocol.emulation.screenorientationtype.md) | | +| [SetEmitTouchEventsForMouseRequestConfiguration](./puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md) | | +| [SetEmulatedVisionDeficiencyRequestType](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.emulation.screenorientation.md b/new-docs/puppeteer.protocol.emulation.screenorientation.md index 8b596cec853a3..c7113287857a9 100644 --- a/new-docs/puppeteer.protocol.emulation.screenorientation.md +++ b/new-docs/puppeteer.protocol.emulation.screenorientation.md @@ -17,5 +17,5 @@ export interface ScreenOrientation | Property | Type | Description | | --- | --- | --- | | [angle](./puppeteer.protocol.emulation.screenorientation.angle.md) | [integer](./puppeteer.protocol.integer.md) | Orientation angle. | -| [type](./puppeteer.protocol.emulation.screenorientation.type.md) | ('portraitPrimary' \| 'portraitSecondary' \| 'landscapePrimary' \| 'landscapeSecondary') | Orientation type. | +| [type](./puppeteer.protocol.emulation.screenorientation.type.md) | ('portraitPrimary' \| 'portraitSecondary' \| 'landscapePrimary' \| 'landscapeSecondary') | Orientation type. (ScreenOrientationType enum) | diff --git a/new-docs/puppeteer.protocol.emulation.screenorientation.type.md b/new-docs/puppeteer.protocol.emulation.screenorientation.type.md index 13b457d6a2b03..78cd64bfcca19 100644 --- a/new-docs/puppeteer.protocol.emulation.screenorientation.type.md +++ b/new-docs/puppeteer.protocol.emulation.screenorientation.type.md @@ -4,7 +4,7 @@ ## Protocol.Emulation.ScreenOrientation.type property -Orientation type. +Orientation type. (ScreenOrientationType enum) Signature: diff --git a/new-docs/puppeteer.protocol.emulation.screenorientationtype.md b/new-docs/puppeteer.protocol.emulation.screenorientationtype.md new file mode 100644 index 0000000000000..22b548d331355 --- /dev/null +++ b/new-docs/puppeteer.protocol.emulation.screenorientationtype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [ScreenOrientationType](./puppeteer.protocol.emulation.screenorientationtype.md) + +## Protocol.Emulation.ScreenOrientationType enum + +Signature: + +```typescript +export const enum ScreenOrientationType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| LandscapePrimary | 'landscapePrimary' | | +| LandscapeSecondary | 'landscapeSecondary' | | +| PortraitPrimary | 'portraitPrimary' | | +| PortraitSecondary | 'portraitSecondary' | | + diff --git a/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md b/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md index 57ed8140066ba..1ac4694a283df 100644 --- a/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md +++ b/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md @@ -4,7 +4,7 @@ ## Protocol.Emulation.SetEmitTouchEventsForMouseRequest.configuration property -Touch/gesture events configuration. Default: current platform. +Touch/gesture events configuration. Default: current platform. (SetEmitTouchEventsForMouseRequestConfiguration enum) Signature: diff --git a/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.md b/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.md index 5bcd7c3102f21..eac1bb47d3b48 100644 --- a/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.md +++ b/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequest.md @@ -14,6 +14,6 @@ export interface SetEmitTouchEventsForMouseRequest | Property | Type | Description | | --- | --- | --- | -| [configuration](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md) | ('mobile' \| 'desktop') | Touch/gesture events configuration. Default: current platform. | +| [configuration](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md) | ('mobile' \| 'desktop') | Touch/gesture events configuration. Default: current platform. (SetEmitTouchEventsForMouseRequestConfiguration enum) | | [enabled](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.enabled.md) | boolean | Whether touch emulation based on mouse input should be enabled. | diff --git a/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md b/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md new file mode 100644 index 0000000000000..5b67b7a062c18 --- /dev/null +++ b/new-docs/puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [SetEmitTouchEventsForMouseRequestConfiguration](./puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md) + +## Protocol.Emulation.SetEmitTouchEventsForMouseRequestConfiguration enum + +Signature: + +```typescript +export const enum SetEmitTouchEventsForMouseRequestConfiguration +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Desktop | 'desktop' | | +| Mobile | 'mobile' | | + diff --git a/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.md b/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.md index a71af40218bec..e6a02003653d3 100644 --- a/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.md +++ b/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.md @@ -14,5 +14,5 @@ export interface SetEmulatedVisionDeficiencyRequest | Property | Type | Description | | --- | --- | --- | -| [type](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md) | ('none' \| 'achromatopsia' \| 'blurredVision' \| 'deuteranopia' \| 'protanopia' \| 'tritanopia') | Vision deficiency to emulate. | +| [type](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md) | ('none' \| 'achromatopsia' \| 'blurredVision' \| 'deuteranopia' \| 'protanopia' \| 'tritanopia') | Vision deficiency to emulate. (SetEmulatedVisionDeficiencyRequestType enum) | diff --git a/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md b/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md index 9737234729f8a..92d71ef529dc6 100644 --- a/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md +++ b/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md @@ -4,7 +4,7 @@ ## Protocol.Emulation.SetEmulatedVisionDeficiencyRequest.type property -Vision deficiency to emulate. +Vision deficiency to emulate. (SetEmulatedVisionDeficiencyRequestType enum) Signature: diff --git a/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md b/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md new file mode 100644 index 0000000000000..55f6ba55298d4 --- /dev/null +++ b/new-docs/puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [SetEmulatedVisionDeficiencyRequestType](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md) + +## Protocol.Emulation.SetEmulatedVisionDeficiencyRequestType enum + +Signature: + +```typescript +export const enum SetEmulatedVisionDeficiencyRequestType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Achromatopsia | 'achromatopsia' | | +| BlurredVision | 'blurredVision' | | +| Deuteranopia | 'deuteranopia' | | +| None | 'none' | | +| Protanopia | 'protanopia' | | +| Tritanopia | 'tritanopia' | | + diff --git a/new-docs/puppeteer.protocol.fetch.authchallenge.md b/new-docs/puppeteer.protocol.fetch.authchallenge.md index 5250e3d6a867f..50075bba039bd 100644 --- a/new-docs/puppeteer.protocol.fetch.authchallenge.md +++ b/new-docs/puppeteer.protocol.fetch.authchallenge.md @@ -19,5 +19,5 @@ export interface AuthChallenge | [origin](./puppeteer.protocol.fetch.authchallenge.origin.md) | string | Origin of the challenger. | | [realm](./puppeteer.protocol.fetch.authchallenge.realm.md) | string | The realm of the challenge. May be empty. | | [scheme](./puppeteer.protocol.fetch.authchallenge.scheme.md) | string | The authentication scheme used, such as basic or digest | -| [source](./puppeteer.protocol.fetch.authchallenge.source.md) | ('Server' \| 'Proxy') | Source of the authentication challenge. | +| [source](./puppeteer.protocol.fetch.authchallenge.source.md) | ('Server' \| 'Proxy') | Source of the authentication challenge. (AuthChallengeSource enum) | diff --git a/new-docs/puppeteer.protocol.fetch.authchallenge.source.md b/new-docs/puppeteer.protocol.fetch.authchallenge.source.md index 36a4aa2fba405..15e3eeb6012bb 100644 --- a/new-docs/puppeteer.protocol.fetch.authchallenge.source.md +++ b/new-docs/puppeteer.protocol.fetch.authchallenge.source.md @@ -4,7 +4,7 @@ ## Protocol.Fetch.AuthChallenge.source property -Source of the authentication challenge. +Source of the authentication challenge. (AuthChallengeSource enum) Signature: diff --git a/new-docs/puppeteer.protocol.fetch.authchallengeresponse.md b/new-docs/puppeteer.protocol.fetch.authchallengeresponse.md index 82b582087b710..86076bd813fe2 100644 --- a/new-docs/puppeteer.protocol.fetch.authchallengeresponse.md +++ b/new-docs/puppeteer.protocol.fetch.authchallengeresponse.md @@ -17,6 +17,6 @@ export interface AuthChallengeResponse | Property | Type | Description | | --- | --- | --- | | [password](./puppeteer.protocol.fetch.authchallengeresponse.password.md) | string | The password to provide, possibly empty. Should only be set if response is ProvideCredentials. | -| [response](./puppeteer.protocol.fetch.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. | +| [response](./puppeteer.protocol.fetch.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. (AuthChallengeResponseResponse enum) | | [username](./puppeteer.protocol.fetch.authchallengeresponse.username.md) | string | The username to provide, possibly empty. Should only be set if response is ProvideCredentials. | diff --git a/new-docs/puppeteer.protocol.fetch.authchallengeresponse.response.md b/new-docs/puppeteer.protocol.fetch.authchallengeresponse.response.md index d8f3ec034d4e8..c4f1b35e8a10e 100644 --- a/new-docs/puppeteer.protocol.fetch.authchallengeresponse.response.md +++ b/new-docs/puppeteer.protocol.fetch.authchallengeresponse.response.md @@ -4,7 +4,7 @@ ## Protocol.Fetch.AuthChallengeResponse.response property -The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. +The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. (AuthChallengeResponseResponse enum) Signature: diff --git a/new-docs/puppeteer.protocol.fetch.authchallengeresponseresponse.md b/new-docs/puppeteer.protocol.fetch.authchallengeresponseresponse.md new file mode 100644 index 0000000000000..d568f1977d111 --- /dev/null +++ b/new-docs/puppeteer.protocol.fetch.authchallengeresponseresponse.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Fetch](./puppeteer.protocol.fetch.md) > [AuthChallengeResponseResponse](./puppeteer.protocol.fetch.authchallengeresponseresponse.md) + +## Protocol.Fetch.AuthChallengeResponseResponse enum + +Signature: + +```typescript +export const enum AuthChallengeResponseResponse +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| CancelAuth | 'CancelAuth' | | +| Default | 'Default' | | +| ProvideCredentials | 'ProvideCredentials' | | + diff --git a/new-docs/puppeteer.protocol.fetch.authchallengesource.md b/new-docs/puppeteer.protocol.fetch.authchallengesource.md new file mode 100644 index 0000000000000..1c9b5d6ea7d17 --- /dev/null +++ b/new-docs/puppeteer.protocol.fetch.authchallengesource.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Fetch](./puppeteer.protocol.fetch.md) > [AuthChallengeSource](./puppeteer.protocol.fetch.authchallengesource.md) + +## Protocol.Fetch.AuthChallengeSource enum + +Signature: + +```typescript +export const enum AuthChallengeSource +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Proxy | 'Proxy' | | +| Server | 'Server' | | + diff --git a/new-docs/puppeteer.protocol.fetch.md b/new-docs/puppeteer.protocol.fetch.md index 8fac2ff65d950..af7a10cdb6e9d 100644 --- a/new-docs/puppeteer.protocol.fetch.md +++ b/new-docs/puppeteer.protocol.fetch.md @@ -12,6 +12,13 @@ A domain for letting clients substitute browser's network layer with client code export namespace Fetch ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [AuthChallengeResponseResponse](./puppeteer.protocol.fetch.authchallengeresponseresponse.md) | | +| [AuthChallengeSource](./puppeteer.protocol.fetch.authchallengesource.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.headlessexperimental.md b/new-docs/puppeteer.protocol.headlessexperimental.md index 949d6ced6397c..9d378c3ed783b 100644 --- a/new-docs/puppeteer.protocol.headlessexperimental.md +++ b/new-docs/puppeteer.protocol.headlessexperimental.md @@ -12,6 +12,12 @@ This domain provides experimental commands only supported in headless mode. export namespace HeadlessExperimental ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [ScreenshotParamsFormat](./puppeteer.protocol.headlessexperimental.screenshotparamsformat.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.format.md b/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.format.md index 3213e3acb951e..0c2b1a37504c5 100644 --- a/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.format.md +++ b/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.format.md @@ -4,7 +4,7 @@ ## Protocol.HeadlessExperimental.ScreenshotParams.format property -Image compression format (defaults to png). +Image compression format (defaults to png). (ScreenshotParamsFormat enum) Signature: diff --git a/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.md b/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.md index a6a7c48345f70..bb3dcb998fed7 100644 --- a/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.md +++ b/new-docs/puppeteer.protocol.headlessexperimental.screenshotparams.md @@ -16,6 +16,6 @@ export interface ScreenshotParams | Property | Type | Description | | --- | --- | --- | -| [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). | +| [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). (ScreenshotParamsFormat enum) | | [quality](./puppeteer.protocol.headlessexperimental.screenshotparams.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\] (jpeg only). | diff --git a/new-docs/puppeteer.protocol.headlessexperimental.screenshotparamsformat.md b/new-docs/puppeteer.protocol.headlessexperimental.screenshotparamsformat.md new file mode 100644 index 0000000000000..e5c23f6758bc8 --- /dev/null +++ b/new-docs/puppeteer.protocol.headlessexperimental.screenshotparamsformat.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [HeadlessExperimental](./puppeteer.protocol.headlessexperimental.md) > [ScreenshotParamsFormat](./puppeteer.protocol.headlessexperimental.screenshotparamsformat.md) + +## Protocol.HeadlessExperimental.ScreenshotParamsFormat enum + +Signature: + +```typescript +export const enum ScreenshotParamsFormat +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Jpeg | 'jpeg' | | +| Png | 'png' | | + diff --git a/new-docs/puppeteer.protocol.indexeddb.key.md b/new-docs/puppeteer.protocol.indexeddb.key.md index 444ae47c539f5..b6c6c4706592a 100644 --- a/new-docs/puppeteer.protocol.indexeddb.key.md +++ b/new-docs/puppeteer.protocol.indexeddb.key.md @@ -20,5 +20,5 @@ export interface Key | [date](./puppeteer.protocol.indexeddb.key.date.md) | number | Date value. | | [number](./puppeteer.protocol.indexeddb.key.number.md) | number | Number value. | | [string](./puppeteer.protocol.indexeddb.key.string.md) | string | String value. | -| [type](./puppeteer.protocol.indexeddb.key.type.md) | ('number' \| 'string' \| 'date' \| 'array') | Key type. | +| [type](./puppeteer.protocol.indexeddb.key.type.md) | ('number' \| 'string' \| 'date' \| 'array') | Key type. (KeyType enum) | diff --git a/new-docs/puppeteer.protocol.indexeddb.key.type.md b/new-docs/puppeteer.protocol.indexeddb.key.type.md index db802bc833314..ff5650c98080d 100644 --- a/new-docs/puppeteer.protocol.indexeddb.key.type.md +++ b/new-docs/puppeteer.protocol.indexeddb.key.type.md @@ -4,7 +4,7 @@ ## Protocol.IndexedDB.Key.type property -Key type. +Key type. (KeyType enum) Signature: diff --git a/new-docs/puppeteer.protocol.indexeddb.keypath.md b/new-docs/puppeteer.protocol.indexeddb.keypath.md index 93c2b553252e4..26c81fc627614 100644 --- a/new-docs/puppeteer.protocol.indexeddb.keypath.md +++ b/new-docs/puppeteer.protocol.indexeddb.keypath.md @@ -18,5 +18,5 @@ export interface KeyPath | --- | --- | --- | | [array](./puppeteer.protocol.indexeddb.keypath.array.md) | string\[\] | Array value. | | [string](./puppeteer.protocol.indexeddb.keypath.string.md) | string | String value. | -| [type](./puppeteer.protocol.indexeddb.keypath.type.md) | ('null' \| 'string' \| 'array') | Key path type. | +| [type](./puppeteer.protocol.indexeddb.keypath.type.md) | ('null' \| 'string' \| 'array') | Key path type. (KeyPathType enum) | diff --git a/new-docs/puppeteer.protocol.indexeddb.keypath.type.md b/new-docs/puppeteer.protocol.indexeddb.keypath.type.md index 58f5dc3ebee62..e18a469307804 100644 --- a/new-docs/puppeteer.protocol.indexeddb.keypath.type.md +++ b/new-docs/puppeteer.protocol.indexeddb.keypath.type.md @@ -4,7 +4,7 @@ ## Protocol.IndexedDB.KeyPath.type property -Key path type. +Key path type. (KeyPathType enum) Signature: diff --git a/new-docs/puppeteer.protocol.indexeddb.keypathtype.md b/new-docs/puppeteer.protocol.indexeddb.keypathtype.md new file mode 100644 index 0000000000000..77fc89e4dd4dd --- /dev/null +++ b/new-docs/puppeteer.protocol.indexeddb.keypathtype.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [IndexedDB](./puppeteer.protocol.indexeddb.md) > [KeyPathType](./puppeteer.protocol.indexeddb.keypathtype.md) + +## Protocol.IndexedDB.KeyPathType enum + +Signature: + +```typescript +export const enum KeyPathType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Array | 'array' | | +| Null | 'null' | | +| String | 'string' | | + diff --git a/new-docs/puppeteer.protocol.indexeddb.keytype.md b/new-docs/puppeteer.protocol.indexeddb.keytype.md new file mode 100644 index 0000000000000..7ea15c8eae22c --- /dev/null +++ b/new-docs/puppeteer.protocol.indexeddb.keytype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [IndexedDB](./puppeteer.protocol.indexeddb.md) > [KeyType](./puppeteer.protocol.indexeddb.keytype.md) + +## Protocol.IndexedDB.KeyType enum + +Signature: + +```typescript +export const enum KeyType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Array | 'array' | | +| Date | 'date' | | +| Number | 'number' | | +| String | 'string' | | + diff --git a/new-docs/puppeteer.protocol.indexeddb.md b/new-docs/puppeteer.protocol.indexeddb.md index 22d769d812bca..93f5bde97f0b5 100644 --- a/new-docs/puppeteer.protocol.indexeddb.md +++ b/new-docs/puppeteer.protocol.indexeddb.md @@ -10,6 +10,13 @@ export namespace IndexedDB ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [KeyPathType](./puppeteer.protocol.indexeddb.keypathtype.md) | | +| [KeyType](./puppeteer.protocol.indexeddb.keytype.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.commands.md b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.commands.md new file mode 100644 index 0000000000000..ab513460400d9 --- /dev/null +++ b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.commands.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchKeyEventRequest](./puppeteer.protocol.input.dispatchkeyeventrequest.md) > [commands](./puppeteer.protocol.input.dispatchkeyeventrequest.commands.md) + +## Protocol.Input.DispatchKeyEventRequest.commands property + +Editing commands to send with the key event (e.g., 'selectAll') (default: \[\]). These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/master:third\_party/blink/renderer/core/editing/commands/editor\_command\_names.h for valid command names. + +Signature: + +```typescript +commands?: string[]; +``` diff --git a/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.md b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.md index 97aaef39915e9..1ff0c1cbbafa1 100644 --- a/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.md +++ b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.md @@ -16,6 +16,7 @@ export interface DispatchKeyEventRequest | --- | --- | --- | | [autoRepeat](./puppeteer.protocol.input.dispatchkeyeventrequest.autorepeat.md) | boolean | Whether the event was generated from auto repeat (default: false). | | [code](./puppeteer.protocol.input.dispatchkeyeventrequest.code.md) | string | Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: ""). | +| [commands](./puppeteer.protocol.input.dispatchkeyeventrequest.commands.md) | string\[\] | Editing commands to send with the key event (e.g., 'selectAll') (default: \[\]). These are related to but not equal the command names used in document.execCommand and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/master:third\_party/blink/renderer/core/editing/commands/editor\_command\_names.h for valid command names. | | [isKeypad](./puppeteer.protocol.input.dispatchkeyeventrequest.iskeypad.md) | boolean | Whether the event was generated from the keypad (default: false). | | [isSystemKey](./puppeteer.protocol.input.dispatchkeyeventrequest.issystemkey.md) | boolean | Whether the event was a system key event (default: false). | | [key](./puppeteer.protocol.input.dispatchkeyeventrequest.key.md) | string | Unique DOM defined string value describing the meaning of the key in the context of active modifiers, keyboard layout, etc (e.g., 'AltGr') (default: ""). | @@ -25,7 +26,7 @@ export interface DispatchKeyEventRequest | [nativeVirtualKeyCode](./puppeteer.protocol.input.dispatchkeyeventrequest.nativevirtualkeycode.md) | [integer](./puppeteer.protocol.integer.md) | Native virtual key code (default: 0). | | [text](./puppeteer.protocol.input.dispatchkeyeventrequest.text.md) | string | Text as generated by processing a virtual key code with a keyboard layout. Not needed for for keyUp and rawKeyDown events (default: "") | | [timestamp](./puppeteer.protocol.input.dispatchkeyeventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. | -| [type](./puppeteer.protocol.input.dispatchkeyeventrequest.type.md) | ('keyDown' \| 'keyUp' \| 'rawKeyDown' \| 'char') | Type of the key event. | +| [type](./puppeteer.protocol.input.dispatchkeyeventrequest.type.md) | ('keyDown' \| 'keyUp' \| 'rawKeyDown' \| 'char') | Type of the key event. (DispatchKeyEventRequestType enum) | | [unmodifiedText](./puppeteer.protocol.input.dispatchkeyeventrequest.unmodifiedtext.md) | string | Text that would have been generated by the keyboard if no modifiers were pressed (except for shift). Useful for shortcut (accelerator) key handling (default: ""). | | [windowsVirtualKeyCode](./puppeteer.protocol.input.dispatchkeyeventrequest.windowsvirtualkeycode.md) | [integer](./puppeteer.protocol.integer.md) | Windows virtual key code (default: 0). | diff --git a/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.type.md b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.type.md index 5ac88b3cd9026..a7689df0b38d5 100644 --- a/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.type.md +++ b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequest.type.md @@ -4,7 +4,7 @@ ## Protocol.Input.DispatchKeyEventRequest.type property -Type of the key event. +Type of the key event. (DispatchKeyEventRequestType enum) Signature: diff --git a/new-docs/puppeteer.protocol.input.dispatchkeyeventrequesttype.md b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequesttype.md new file mode 100644 index 0000000000000..1379516762174 --- /dev/null +++ b/new-docs/puppeteer.protocol.input.dispatchkeyeventrequesttype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchKeyEventRequestType](./puppeteer.protocol.input.dispatchkeyeventrequesttype.md) + +## Protocol.Input.DispatchKeyEventRequestType enum + +Signature: + +```typescript +export const enum DispatchKeyEventRequestType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Char | 'char' | | +| KeyDown | 'keyDown' | | +| KeyUp | 'keyUp' | | +| RawKeyDown | 'rawKeyDown' | | + diff --git a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.md b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.md index b73700422c845..db2400cb0594c 100644 --- a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.md +++ b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.md @@ -20,9 +20,9 @@ export interface DispatchMouseEventRequest | [deltaX](./puppeteer.protocol.input.dispatchmouseeventrequest.deltax.md) | number | X delta in CSS pixels for mouse wheel event (default: 0). | | [deltaY](./puppeteer.protocol.input.dispatchmouseeventrequest.deltay.md) | number | Y delta in CSS pixels for mouse wheel event (default: 0). | | [modifiers](./puppeteer.protocol.input.dispatchmouseeventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). | -| [pointerType](./puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md) | ('mouse' \| 'pen') | Pointer type (default: "mouse"). | +| [pointerType](./puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md) | ('mouse' \| 'pen') | Pointer type (default: "mouse"). (DispatchMouseEventRequestPointerType enum) | | [timestamp](./puppeteer.protocol.input.dispatchmouseeventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. | -| [type](./puppeteer.protocol.input.dispatchmouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. | +| [type](./puppeteer.protocol.input.dispatchmouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. (DispatchMouseEventRequestType enum) | | [x](./puppeteer.protocol.input.dispatchmouseeventrequest.x.md) | number | X coordinate of the event relative to the main frame's viewport in CSS pixels. | | [y](./puppeteer.protocol.input.dispatchmouseeventrequest.y.md) | number | Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. | diff --git a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md index e753a535c3e48..ee66211d774a5 100644 --- a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md +++ b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md @@ -4,7 +4,7 @@ ## Protocol.Input.DispatchMouseEventRequest.pointerType property -Pointer type (default: "mouse"). +Pointer type (default: "mouse"). (DispatchMouseEventRequestPointerType enum) Signature: diff --git a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.type.md b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.type.md index f3d9cc560e637..f7853b76078fc 100644 --- a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.type.md +++ b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequest.type.md @@ -4,7 +4,7 @@ ## Protocol.Input.DispatchMouseEventRequest.type property -Type of the mouse event. +Type of the mouse event. (DispatchMouseEventRequestType enum) Signature: diff --git a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md new file mode 100644 index 0000000000000..571edd7280159 --- /dev/null +++ b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchMouseEventRequestPointerType](./puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md) + +## Protocol.Input.DispatchMouseEventRequestPointerType enum + +Signature: + +```typescript +export const enum DispatchMouseEventRequestPointerType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Mouse | 'mouse' | | +| Pen | 'pen' | | + diff --git a/new-docs/puppeteer.protocol.input.dispatchmouseeventrequesttype.md b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequesttype.md new file mode 100644 index 0000000000000..794cadb6a034d --- /dev/null +++ b/new-docs/puppeteer.protocol.input.dispatchmouseeventrequesttype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchMouseEventRequestType](./puppeteer.protocol.input.dispatchmouseeventrequesttype.md) + +## Protocol.Input.DispatchMouseEventRequestType enum + +Signature: + +```typescript +export const enum DispatchMouseEventRequestType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| MouseMoved | 'mouseMoved' | | +| MousePressed | 'mousePressed' | | +| MouseReleased | 'mouseReleased' | | +| MouseWheel | 'mouseWheel' | | + diff --git a/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.md b/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.md index e9599ccc7e211..7f0bed8be4984 100644 --- a/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.md +++ b/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.md @@ -17,5 +17,5 @@ export interface DispatchTouchEventRequest | [modifiers](./puppeteer.protocol.input.dispatchtoucheventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). | | [timestamp](./puppeteer.protocol.input.dispatchtoucheventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. | | [touchPoints](./puppeteer.protocol.input.dispatchtoucheventrequest.touchpoints.md) | [TouchPoint](./puppeteer.protocol.input.touchpoint.md)\[\] | Active touch points on the touch device. One event per any changed point (compared to previous touch event in a sequence) is generated, emulating pressing/moving/releasing points one by one. | -| [type](./puppeteer.protocol.input.dispatchtoucheventrequest.type.md) | ('touchStart' \| 'touchEnd' \| 'touchMove' \| 'touchCancel') | Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. | +| [type](./puppeteer.protocol.input.dispatchtoucheventrequest.type.md) | ('touchStart' \| 'touchEnd' \| 'touchMove' \| 'touchCancel') | Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. (DispatchTouchEventRequestType enum) | diff --git a/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.type.md b/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.type.md index 7ce0d2c4cea47..530fc56aee40c 100644 --- a/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.type.md +++ b/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.type.md @@ -4,7 +4,7 @@ ## Protocol.Input.DispatchTouchEventRequest.type property -Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. +Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. (DispatchTouchEventRequestType enum) Signature: diff --git a/new-docs/puppeteer.protocol.input.dispatchtoucheventrequesttype.md b/new-docs/puppeteer.protocol.input.dispatchtoucheventrequesttype.md new file mode 100644 index 0000000000000..15010c6d256ec --- /dev/null +++ b/new-docs/puppeteer.protocol.input.dispatchtoucheventrequesttype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchTouchEventRequestType](./puppeteer.protocol.input.dispatchtoucheventrequesttype.md) + +## Protocol.Input.DispatchTouchEventRequestType enum + +Signature: + +```typescript +export const enum DispatchTouchEventRequestType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| TouchCancel | 'touchCancel' | | +| TouchEnd | 'touchEnd' | | +| TouchMove | 'touchMove' | | +| TouchStart | 'touchStart' | | + diff --git a/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.md b/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.md index 467e70bb440f4..34fe6a379b8fd 100644 --- a/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.md +++ b/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.md @@ -20,7 +20,7 @@ export interface EmulateTouchFromMouseEventRequest | [deltaY](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.deltay.md) | number | Y delta in DIP for mouse wheel event (default: 0). | | [modifiers](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). | | [timestamp](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred (default: current time). | -| [type](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. | +| [type](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. (EmulateTouchFromMouseEventRequestType enum) | | [x](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.x.md) | [integer](./puppeteer.protocol.integer.md) | X coordinate of the mouse pointer in DIP. | | [y](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.y.md) | [integer](./puppeteer.protocol.integer.md) | Y coordinate of the mouse pointer in DIP. | diff --git a/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md b/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md index 329533c0dc9e8..be1d325d0f127 100644 --- a/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md +++ b/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md @@ -4,7 +4,7 @@ ## Protocol.Input.EmulateTouchFromMouseEventRequest.type property -Type of the mouse event. +Type of the mouse event. (EmulateTouchFromMouseEventRequestType enum) Signature: diff --git a/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequesttype.md b/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequesttype.md new file mode 100644 index 0000000000000..5d582caa9461c --- /dev/null +++ b/new-docs/puppeteer.protocol.input.emulatetouchfrommouseeventrequesttype.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [EmulateTouchFromMouseEventRequestType](./puppeteer.protocol.input.emulatetouchfrommouseeventrequesttype.md) + +## Protocol.Input.EmulateTouchFromMouseEventRequestType enum + +Signature: + +```typescript +export const enum EmulateTouchFromMouseEventRequestType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| MouseMoved | 'mouseMoved' | | +| MousePressed | 'mousePressed' | | +| MouseReleased | 'mouseReleased' | | +| MouseWheel | 'mouseWheel' | | + diff --git a/new-docs/puppeteer.protocol.input.md b/new-docs/puppeteer.protocol.input.md index 8751d18b4a9b6..9e7b724782a91 100644 --- a/new-docs/puppeteer.protocol.input.md +++ b/new-docs/puppeteer.protocol.input.md @@ -10,6 +10,16 @@ export namespace Input ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [DispatchKeyEventRequestType](./puppeteer.protocol.input.dispatchkeyeventrequesttype.md) | | +| [DispatchMouseEventRequestPointerType](./puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md) | | +| [DispatchMouseEventRequestType](./puppeteer.protocol.input.dispatchmouseeventrequesttype.md) | | +| [DispatchTouchEventRequestType](./puppeteer.protocol.input.dispatchtoucheventrequesttype.md) | | +| [EmulateTouchFromMouseEventRequestType](./puppeteer.protocol.input.emulatetouchfrommouseeventrequesttype.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.layertree.md b/new-docs/puppeteer.protocol.layertree.md index 921979f655d6d..f3e87d1ee515f 100644 --- a/new-docs/puppeteer.protocol.layertree.md +++ b/new-docs/puppeteer.protocol.layertree.md @@ -10,6 +10,12 @@ export namespace LayerTree ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [ScrollRectType](./puppeteer.protocol.layertree.scrollrecttype.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.layertree.scrollrect.md b/new-docs/puppeteer.protocol.layertree.scrollrect.md index e7ef4d85a13f3..75e9a6757b7fe 100644 --- a/new-docs/puppeteer.protocol.layertree.scrollrect.md +++ b/new-docs/puppeteer.protocol.layertree.scrollrect.md @@ -17,5 +17,5 @@ export interface ScrollRect | Property | Type | Description | | --- | --- | --- | | [rect](./puppeteer.protocol.layertree.scrollrect.rect.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | Rectangle itself. | -| [type](./puppeteer.protocol.layertree.scrollrect.type.md) | ('RepaintsOnScroll' \| 'TouchEventHandler' \| 'WheelEventHandler') | Reason for rectangle to force scrolling on the main thread | +| [type](./puppeteer.protocol.layertree.scrollrect.type.md) | ('RepaintsOnScroll' \| 'TouchEventHandler' \| 'WheelEventHandler') | Reason for rectangle to force scrolling on the main thread (ScrollRectType enum) | diff --git a/new-docs/puppeteer.protocol.layertree.scrollrect.type.md b/new-docs/puppeteer.protocol.layertree.scrollrect.type.md index ce64dd05d0008..395a1365b2dbf 100644 --- a/new-docs/puppeteer.protocol.layertree.scrollrect.type.md +++ b/new-docs/puppeteer.protocol.layertree.scrollrect.type.md @@ -4,7 +4,7 @@ ## Protocol.LayerTree.ScrollRect.type property -Reason for rectangle to force scrolling on the main thread +Reason for rectangle to force scrolling on the main thread (ScrollRectType enum) Signature: diff --git a/new-docs/puppeteer.protocol.layertree.scrollrecttype.md b/new-docs/puppeteer.protocol.layertree.scrollrecttype.md new file mode 100644 index 0000000000000..0bf02e849d5b1 --- /dev/null +++ b/new-docs/puppeteer.protocol.layertree.scrollrecttype.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [LayerTree](./puppeteer.protocol.layertree.md) > [ScrollRectType](./puppeteer.protocol.layertree.scrollrecttype.md) + +## Protocol.LayerTree.ScrollRectType enum + +Signature: + +```typescript +export const enum ScrollRectType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| RepaintsOnScroll | 'RepaintsOnScroll' | | +| TouchEventHandler | 'TouchEventHandler' | | +| WheelEventHandler | 'WheelEventHandler' | | + diff --git a/new-docs/puppeteer.protocol.log.logentry.level.md b/new-docs/puppeteer.protocol.log.logentry.level.md index f60f6f5528729..42b4dd0a4fef9 100644 --- a/new-docs/puppeteer.protocol.log.logentry.level.md +++ b/new-docs/puppeteer.protocol.log.logentry.level.md @@ -4,7 +4,7 @@ ## Protocol.Log.LogEntry.level property -Log entry severity. +Log entry severity. (LogEntryLevel enum) Signature: diff --git a/new-docs/puppeteer.protocol.log.logentry.md b/new-docs/puppeteer.protocol.log.logentry.md index e1bbcf85100f4..e04ba4e74ecf8 100644 --- a/new-docs/puppeteer.protocol.log.logentry.md +++ b/new-docs/puppeteer.protocol.log.logentry.md @@ -17,10 +17,10 @@ export interface LogEntry | Property | Type | Description | | --- | --- | --- | | [args](./puppeteer.protocol.log.logentry.args.md) | [Runtime.RemoteObject](./puppeteer.protocol.runtime.remoteobject.md)\[\] | Call arguments. | -| [level](./puppeteer.protocol.log.logentry.level.md) | ('verbose' \| 'info' \| 'warning' \| 'error') | Log entry severity. | +| [level](./puppeteer.protocol.log.logentry.level.md) | ('verbose' \| 'info' \| 'warning' \| 'error') | Log entry severity. (LogEntryLevel enum) | | [lineNumber](./puppeteer.protocol.log.logentry.linenumber.md) | [integer](./puppeteer.protocol.integer.md) | Line number in the resource. | | [networkRequestId](./puppeteer.protocol.log.logentry.networkrequestid.md) | [Network.RequestId](./puppeteer.protocol.network.requestid.md) | Identifier of the network request associated with this entry. | -| [source](./puppeteer.protocol.log.logentry.source.md) | ('xml' \| 'javascript' \| 'network' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'deprecation' \| 'worker' \| 'violation' \| 'intervention' \| 'recommendation' \| 'other') | Log entry source. | +| [source](./puppeteer.protocol.log.logentry.source.md) | ('xml' \| 'javascript' \| 'network' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'deprecation' \| 'worker' \| 'violation' \| 'intervention' \| 'recommendation' \| 'other') | Log entry source. (LogEntrySource enum) | | [stackTrace](./puppeteer.protocol.log.logentry.stacktrace.md) | [Runtime.StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | JavaScript stack trace. | | [text](./puppeteer.protocol.log.logentry.text.md) | string | Logged text. | | [timestamp](./puppeteer.protocol.log.logentry.timestamp.md) | [Runtime.Timestamp](./puppeteer.protocol.runtime.timestamp.md) | Timestamp when this entry was added. | diff --git a/new-docs/puppeteer.protocol.log.logentry.source.md b/new-docs/puppeteer.protocol.log.logentry.source.md index 0bd9166342ba2..ff8d745b6629e 100644 --- a/new-docs/puppeteer.protocol.log.logentry.source.md +++ b/new-docs/puppeteer.protocol.log.logentry.source.md @@ -4,7 +4,7 @@ ## Protocol.Log.LogEntry.source property -Log entry source. +Log entry source. (LogEntrySource enum) Signature: diff --git a/new-docs/puppeteer.protocol.log.logentrylevel.md b/new-docs/puppeteer.protocol.log.logentrylevel.md new file mode 100644 index 0000000000000..096c32fea3e65 --- /dev/null +++ b/new-docs/puppeteer.protocol.log.logentrylevel.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Log](./puppeteer.protocol.log.md) > [LogEntryLevel](./puppeteer.protocol.log.logentrylevel.md) + +## Protocol.Log.LogEntryLevel enum + +Signature: + +```typescript +export const enum LogEntryLevel +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Error | 'error' | | +| Info | 'info' | | +| Verbose | 'verbose' | | +| Warning | 'warning' | | + diff --git a/new-docs/puppeteer.protocol.log.logentrysource.md b/new-docs/puppeteer.protocol.log.logentrysource.md new file mode 100644 index 0000000000000..938209ee06f54 --- /dev/null +++ b/new-docs/puppeteer.protocol.log.logentrysource.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Log](./puppeteer.protocol.log.md) > [LogEntrySource](./puppeteer.protocol.log.logentrysource.md) + +## Protocol.Log.LogEntrySource enum + +Signature: + +```typescript +export const enum LogEntrySource +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Appcache | 'appcache' | | +| Deprecation | 'deprecation' | | +| Intervention | 'intervention' | | +| Javascript | 'javascript' | | +| Network | 'network' | | +| Other | 'other' | | +| Recommendation | 'recommendation' | | +| Rendering | 'rendering' | | +| Security | 'security' | | +| Storage | 'storage' | | +| Violation | 'violation' | | +| Worker | 'worker' | | +| XML | 'xml' | | + diff --git a/new-docs/puppeteer.protocol.log.md b/new-docs/puppeteer.protocol.log.md index a93e609900134..12fb6625c2172 100644 --- a/new-docs/puppeteer.protocol.log.md +++ b/new-docs/puppeteer.protocol.log.md @@ -12,6 +12,14 @@ Provides access to log entries. export namespace Log ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [LogEntryLevel](./puppeteer.protocol.log.logentrylevel.md) | | +| [LogEntrySource](./puppeteer.protocol.log.logentrysource.md) | | +| [ViolationSettingName](./puppeteer.protocol.log.violationsettingname.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.log.violationsetting.md b/new-docs/puppeteer.protocol.log.violationsetting.md index 096afcc9f13fe..b508bc6832ab5 100644 --- a/new-docs/puppeteer.protocol.log.violationsetting.md +++ b/new-docs/puppeteer.protocol.log.violationsetting.md @@ -16,6 +16,6 @@ export interface ViolationSetting | Property | Type | Description | | --- | --- | --- | -| [name](./puppeteer.protocol.log.violationsetting.name.md) | ('longTask' \| 'longLayout' \| 'blockedEvent' \| 'blockedParser' \| 'discouragedAPIUse' \| 'handler' \| 'recurringHandler') | Violation type. | +| [name](./puppeteer.protocol.log.violationsetting.name.md) | ('longTask' \| 'longLayout' \| 'blockedEvent' \| 'blockedParser' \| 'discouragedAPIUse' \| 'handler' \| 'recurringHandler') | Violation type. (ViolationSettingName enum) | | [threshold](./puppeteer.protocol.log.violationsetting.threshold.md) | number | Time threshold to trigger upon. | diff --git a/new-docs/puppeteer.protocol.log.violationsetting.name.md b/new-docs/puppeteer.protocol.log.violationsetting.name.md index 61f31468eabfa..f97234254ebbd 100644 --- a/new-docs/puppeteer.protocol.log.violationsetting.name.md +++ b/new-docs/puppeteer.protocol.log.violationsetting.name.md @@ -4,7 +4,7 @@ ## Protocol.Log.ViolationSetting.name property -Violation type. +Violation type. (ViolationSettingName enum) Signature: diff --git a/new-docs/puppeteer.protocol.log.violationsettingname.md b/new-docs/puppeteer.protocol.log.violationsettingname.md new file mode 100644 index 0000000000000..f43d96d2710dc --- /dev/null +++ b/new-docs/puppeteer.protocol.log.violationsettingname.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Log](./puppeteer.protocol.log.md) > [ViolationSettingName](./puppeteer.protocol.log.violationsettingname.md) + +## Protocol.Log.ViolationSettingName enum + +Signature: + +```typescript +export const enum ViolationSettingName +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| BlockedEvent | 'blockedEvent' | | +| BlockedParser | 'blockedParser' | | +| DiscouragedAPIUse | 'discouragedAPIUse' | | +| Handler | 'handler' | | +| LongLayout | 'longLayout' | | +| LongTask | 'longTask' | | +| RecurringHandler | 'recurringHandler' | | + diff --git a/new-docs/puppeteer.protocol.media.md b/new-docs/puppeteer.protocol.media.md index d2e22094cee45..92b014eef602a 100644 --- a/new-docs/puppeteer.protocol.media.md +++ b/new-docs/puppeteer.protocol.media.md @@ -12,6 +12,13 @@ This domain allows detailed inspection of media elements export namespace Media ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [PlayerErrorType](./puppeteer.protocol.media.playererrortype.md) | | +| [PlayerMessageLevel](./puppeteer.protocol.media.playermessagelevel.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.media.playererror.md b/new-docs/puppeteer.protocol.media.playererror.md index da0ace8521ecf..93ab8c61e6344 100644 --- a/new-docs/puppeteer.protocol.media.playererror.md +++ b/new-docs/puppeteer.protocol.media.playererror.md @@ -17,5 +17,5 @@ export interface PlayerError | Property | Type | Description | | --- | --- | --- | | [errorCode](./puppeteer.protocol.media.playererror.errorcode.md) | string | When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance. This also seems like a duplicate of the error level enum - there is a todo bug to have that level removed and use this instead. (crbug.com/1068454) | -| [type](./puppeteer.protocol.media.playererror.type.md) | ('pipeline\_error' \| 'media\_error') | | +| [type](./puppeteer.protocol.media.playererror.type.md) | ('pipeline\_error' \| 'media\_error') | (PlayerErrorType enum) | diff --git a/new-docs/puppeteer.protocol.media.playererror.type.md b/new-docs/puppeteer.protocol.media.playererror.type.md index 910ae6c102236..ab57b60191c59 100644 --- a/new-docs/puppeteer.protocol.media.playererror.type.md +++ b/new-docs/puppeteer.protocol.media.playererror.type.md @@ -4,6 +4,8 @@ ## Protocol.Media.PlayerError.type property +(PlayerErrorType enum) + Signature: ```typescript diff --git a/new-docs/puppeteer.protocol.media.playererrortype.md b/new-docs/puppeteer.protocol.media.playererrortype.md new file mode 100644 index 0000000000000..8a08aafae6117 --- /dev/null +++ b/new-docs/puppeteer.protocol.media.playererrortype.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Media](./puppeteer.protocol.media.md) > [PlayerErrorType](./puppeteer.protocol.media.playererrortype.md) + +## Protocol.Media.PlayerErrorType enum + +Signature: + +```typescript +export const enum PlayerErrorType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Media\_error | 'media_error' | | +| Pipeline\_error | 'pipeline_error' | | + diff --git a/new-docs/puppeteer.protocol.media.playermessage.level.md b/new-docs/puppeteer.protocol.media.playermessage.level.md index 65d78bbedb66d..81a39672156a9 100644 --- a/new-docs/puppeteer.protocol.media.playermessage.level.md +++ b/new-docs/puppeteer.protocol.media.playermessage.level.md @@ -4,7 +4,7 @@ ## Protocol.Media.PlayerMessage.level property -Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type. +Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type. (PlayerMessageLevel enum) Signature: diff --git a/new-docs/puppeteer.protocol.media.playermessage.md b/new-docs/puppeteer.protocol.media.playermessage.md index 81ff8ae3de0cc..e6d412772a3b4 100644 --- a/new-docs/puppeteer.protocol.media.playermessage.md +++ b/new-docs/puppeteer.protocol.media.playermessage.md @@ -16,6 +16,6 @@ export interface PlayerMessage | Property | Type | Description | | --- | --- | --- | -| [level](./puppeteer.protocol.media.playermessage.level.md) | ('error' \| 'warning' \| 'info' \| 'debug') | Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type. | +| [level](./puppeteer.protocol.media.playermessage.level.md) | ('error' \| 'warning' \| 'info' \| 'debug') | Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type. (PlayerMessageLevel enum) | | [message](./puppeteer.protocol.media.playermessage.message.md) | string | | diff --git a/new-docs/puppeteer.protocol.media.playermessagelevel.md b/new-docs/puppeteer.protocol.media.playermessagelevel.md new file mode 100644 index 0000000000000..cfff7ca729676 --- /dev/null +++ b/new-docs/puppeteer.protocol.media.playermessagelevel.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Media](./puppeteer.protocol.media.md) > [PlayerMessageLevel](./puppeteer.protocol.media.playermessagelevel.md) + +## Protocol.Media.PlayerMessageLevel enum + +Signature: + +```typescript +export const enum PlayerMessageLevel +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Debug | 'debug' | | +| Error | 'error' | | +| Info | 'info' | | +| Warning | 'warning' | | + diff --git a/new-docs/puppeteer.protocol.network.authchallenge.md b/new-docs/puppeteer.protocol.network.authchallenge.md index 5fafcc67f8d74..5ec58e74a389f 100644 --- a/new-docs/puppeteer.protocol.network.authchallenge.md +++ b/new-docs/puppeteer.protocol.network.authchallenge.md @@ -19,5 +19,5 @@ export interface AuthChallenge | [origin](./puppeteer.protocol.network.authchallenge.origin.md) | string | Origin of the challenger. | | [realm](./puppeteer.protocol.network.authchallenge.realm.md) | string | The realm of the challenge. May be empty. | | [scheme](./puppeteer.protocol.network.authchallenge.scheme.md) | string | The authentication scheme used, such as basic or digest | -| [source](./puppeteer.protocol.network.authchallenge.source.md) | ('Server' \| 'Proxy') | Source of the authentication challenge. | +| [source](./puppeteer.protocol.network.authchallenge.source.md) | ('Server' \| 'Proxy') | Source of the authentication challenge. (AuthChallengeSource enum) | diff --git a/new-docs/puppeteer.protocol.network.authchallenge.source.md b/new-docs/puppeteer.protocol.network.authchallenge.source.md index 62e5b503813d2..86d545859376f 100644 --- a/new-docs/puppeteer.protocol.network.authchallenge.source.md +++ b/new-docs/puppeteer.protocol.network.authchallenge.source.md @@ -4,7 +4,7 @@ ## Protocol.Network.AuthChallenge.source property -Source of the authentication challenge. +Source of the authentication challenge. (AuthChallengeSource enum) Signature: diff --git a/new-docs/puppeteer.protocol.network.authchallengeresponse.md b/new-docs/puppeteer.protocol.network.authchallengeresponse.md index e5bc6a04dcd37..4314d7a495183 100644 --- a/new-docs/puppeteer.protocol.network.authchallengeresponse.md +++ b/new-docs/puppeteer.protocol.network.authchallengeresponse.md @@ -17,6 +17,6 @@ export interface AuthChallengeResponse | Property | Type | Description | | --- | --- | --- | | [password](./puppeteer.protocol.network.authchallengeresponse.password.md) | string | The password to provide, possibly empty. Should only be set if response is ProvideCredentials. | -| [response](./puppeteer.protocol.network.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. | +| [response](./puppeteer.protocol.network.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. (AuthChallengeResponseResponse enum) | | [username](./puppeteer.protocol.network.authchallengeresponse.username.md) | string | The username to provide, possibly empty. Should only be set if response is ProvideCredentials. | diff --git a/new-docs/puppeteer.protocol.network.authchallengeresponse.response.md b/new-docs/puppeteer.protocol.network.authchallengeresponse.response.md index 3e6bd6c7ee021..d412d25649cf4 100644 --- a/new-docs/puppeteer.protocol.network.authchallengeresponse.response.md +++ b/new-docs/puppeteer.protocol.network.authchallengeresponse.response.md @@ -4,7 +4,7 @@ ## Protocol.Network.AuthChallengeResponse.response property -The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. +The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. (AuthChallengeResponseResponse enum) Signature: diff --git a/new-docs/puppeteer.protocol.network.authchallengeresponseresponse.md b/new-docs/puppeteer.protocol.network.authchallengeresponseresponse.md new file mode 100644 index 0000000000000..c40aeb463d90c --- /dev/null +++ b/new-docs/puppeteer.protocol.network.authchallengeresponseresponse.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [AuthChallengeResponseResponse](./puppeteer.protocol.network.authchallengeresponseresponse.md) + +## Protocol.Network.AuthChallengeResponseResponse enum + +Signature: + +```typescript +export const enum AuthChallengeResponseResponse +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| CancelAuth | 'CancelAuth' | | +| Default | 'Default' | | +| ProvideCredentials | 'ProvideCredentials' | | + diff --git a/new-docs/puppeteer.protocol.network.authchallengesource.md b/new-docs/puppeteer.protocol.network.authchallengesource.md new file mode 100644 index 0000000000000..0b15bc37ba149 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.authchallengesource.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [AuthChallengeSource](./puppeteer.protocol.network.authchallengesource.md) + +## Protocol.Network.AuthChallengeSource enum + +Signature: + +```typescript +export const enum AuthChallengeSource +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Proxy | 'Proxy' | | +| Server | 'Server' | | + diff --git a/new-docs/puppeteer.protocol.network.initiator.md b/new-docs/puppeteer.protocol.network.initiator.md index 48ef91e4248e9..c030b55330390 100644 --- a/new-docs/puppeteer.protocol.network.initiator.md +++ b/new-docs/puppeteer.protocol.network.initiator.md @@ -18,6 +18,6 @@ export interface Initiator | --- | --- | --- | | [lineNumber](./puppeteer.protocol.network.initiator.linenumber.md) | number | Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based). | | [stack](./puppeteer.protocol.network.initiator.stack.md) | [Runtime.StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | Initiator JavaScript stack trace, set for Script only. | -| [type](./puppeteer.protocol.network.initiator.type.md) | ('parser' \| 'script' \| 'preload' \| 'SignedExchange' \| 'other') | Type of this initiator. | +| [type](./puppeteer.protocol.network.initiator.type.md) | ('parser' \| 'script' \| 'preload' \| 'SignedExchange' \| 'other') | Type of this initiator. (InitiatorType enum) | | [url](./puppeteer.protocol.network.initiator.url.md) | string | Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type. | diff --git a/new-docs/puppeteer.protocol.network.initiator.type.md b/new-docs/puppeteer.protocol.network.initiator.type.md index d8f1ce50e311e..d37b56109c709 100644 --- a/new-docs/puppeteer.protocol.network.initiator.type.md +++ b/new-docs/puppeteer.protocol.network.initiator.type.md @@ -4,7 +4,7 @@ ## Protocol.Network.Initiator.type property -Type of this initiator. +Type of this initiator. (InitiatorType enum) Signature: diff --git a/new-docs/puppeteer.protocol.network.initiatortype.md b/new-docs/puppeteer.protocol.network.initiatortype.md new file mode 100644 index 0000000000000..ea058e9d3f651 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.initiatortype.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [InitiatorType](./puppeteer.protocol.network.initiatortype.md) + +## Protocol.Network.InitiatorType enum + +Signature: + +```typescript +export const enum InitiatorType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Other | 'other' | | +| Parser | 'parser' | | +| Preload | 'preload' | | +| Script | 'script' | | +| SignedExchange | 'SignedExchange' | | + diff --git a/new-docs/puppeteer.protocol.network.md b/new-docs/puppeteer.protocol.network.md index e9d1e33d820de..c108810d9af2d 100644 --- a/new-docs/puppeteer.protocol.network.md +++ b/new-docs/puppeteer.protocol.network.md @@ -12,6 +12,15 @@ Network domain allows tracking network activities of the page. It exposes inform export namespace Network ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [AuthChallengeResponseResponse](./puppeteer.protocol.network.authchallengeresponseresponse.md) | | +| [AuthChallengeSource](./puppeteer.protocol.network.authchallengesource.md) | | +| [InitiatorType](./puppeteer.protocol.network.initiatortype.md) | | +| [RequestReferrerPolicy](./puppeteer.protocol.network.requestreferrerpolicy.md) | | + ## Interfaces | Interface | Description | @@ -109,6 +118,7 @@ export namespace Network | [RequestId](./puppeteer.protocol.network.requestid.md) | Unique request identifier. | | [ResourcePriority](./puppeteer.protocol.network.resourcepriority.md) | Loading priority of a resource request. | | [ResourceType](./puppeteer.protocol.network.resourcetype.md) | Resource type as it was perceived by the rendering engine. | +| [ServiceWorkerResponseSource](./puppeteer.protocol.network.serviceworkerresponsesource.md) | Source of serviceworker response. | | [SetCookieBlockedReason](./puppeteer.protocol.network.setcookieblockedreason.md) | Types of reasons why a cookie may not be stored from a response. | | [SignedExchangeErrorField](./puppeteer.protocol.network.signedexchangeerrorfield.md) | Field type for a signed exchange related error. | | [TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | UTC time in seconds, counted from January 1, 1970. | diff --git a/new-docs/puppeteer.protocol.network.request.md b/new-docs/puppeteer.protocol.network.request.md index e58d0bbc61b96..d90a8091ef60a 100644 --- a/new-docs/puppeteer.protocol.network.request.md +++ b/new-docs/puppeteer.protocol.network.request.md @@ -23,7 +23,7 @@ export interface Request | [method](./puppeteer.protocol.network.request.method.md) | string | HTTP request method. | | [mixedContentType](./puppeteer.protocol.network.request.mixedcontenttype.md) | [Security.MixedContentType](./puppeteer.protocol.security.mixedcontenttype.md) | The mixed content type of the request. | | [postData](./puppeteer.protocol.network.request.postdata.md) | string | HTTP POST request data. | -| [referrerPolicy](./puppeteer.protocol.network.request.referrerpolicy.md) | ('unsafe-url' \| 'no-referrer-when-downgrade' \| 'no-referrer' \| 'origin' \| 'origin-when-cross-origin' \| 'same-origin' \| 'strict-origin' \| 'strict-origin-when-cross-origin') | The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ | +| [referrerPolicy](./puppeteer.protocol.network.request.referrerpolicy.md) | ('unsafe-url' \| 'no-referrer-when-downgrade' \| 'no-referrer' \| 'origin' \| 'origin-when-cross-origin' \| 'same-origin' \| 'strict-origin' \| 'strict-origin-when-cross-origin') | The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ (RequestReferrerPolicy enum) | | [url](./puppeteer.protocol.network.request.url.md) | string | Request URL (without fragment). | | [urlFragment](./puppeteer.protocol.network.request.urlfragment.md) | string | Fragment of the requested URL starting with hash, if present. | diff --git a/new-docs/puppeteer.protocol.network.request.referrerpolicy.md b/new-docs/puppeteer.protocol.network.request.referrerpolicy.md index 564c8ecc24c3e..d7fa580e42ba4 100644 --- a/new-docs/puppeteer.protocol.network.request.referrerpolicy.md +++ b/new-docs/puppeteer.protocol.network.request.referrerpolicy.md @@ -4,7 +4,7 @@ ## Protocol.Network.Request.referrerPolicy property -The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ +The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ (RequestReferrerPolicy enum) Signature: diff --git a/new-docs/puppeteer.protocol.network.requestreferrerpolicy.md b/new-docs/puppeteer.protocol.network.requestreferrerpolicy.md new file mode 100644 index 0000000000000..4bb0593b2411c --- /dev/null +++ b/new-docs/puppeteer.protocol.network.requestreferrerpolicy.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [RequestReferrerPolicy](./puppeteer.protocol.network.requestreferrerpolicy.md) + +## Protocol.Network.RequestReferrerPolicy enum + +Signature: + +```typescript +export const enum RequestReferrerPolicy +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| NoReferrer | 'no-referrer' | | +| NoReferrerWhenDowngrade | 'no-referrer-when-downgrade' | | +| Origin | 'origin' | | +| OriginWhenCrossOrigin | 'origin-when-cross-origin' | | +| SameOrigin | 'same-origin' | | +| StrictOrigin | 'strict-origin' | | +| StrictOriginWhenCrossOrigin | 'strict-origin-when-cross-origin' | | +| UnsafeUrl | 'unsafe-url' | | + diff --git a/new-docs/puppeteer.protocol.network.resourcetiming.md b/new-docs/puppeteer.protocol.network.resourcetiming.md index 1b733fe170c38..856a2ec5ca0c9 100644 --- a/new-docs/puppeteer.protocol.network.resourcetiming.md +++ b/new-docs/puppeteer.protocol.network.resourcetiming.md @@ -30,6 +30,8 @@ export interface ResourceTiming | [sendStart](./puppeteer.protocol.network.resourcetiming.sendstart.md) | number | Started sending request. | | [sslEnd](./puppeteer.protocol.network.resourcetiming.sslend.md) | number | Finished SSL handshake. | | [sslStart](./puppeteer.protocol.network.resourcetiming.sslstart.md) | number | Started SSL handshake. | +| [workerFetchStart](./puppeteer.protocol.network.resourcetiming.workerfetchstart.md) | number | Started fetch event. | | [workerReady](./puppeteer.protocol.network.resourcetiming.workerready.md) | number | Finished Starting ServiceWorker. | +| [workerRespondWithSettled](./puppeteer.protocol.network.resourcetiming.workerrespondwithsettled.md) | number | Settled fetch event respondWith promise. | | [workerStart](./puppeteer.protocol.network.resourcetiming.workerstart.md) | number | Started running ServiceWorker. | diff --git a/new-docs/puppeteer.protocol.network.resourcetiming.workerfetchstart.md b/new-docs/puppeteer.protocol.network.resourcetiming.workerfetchstart.md new file mode 100644 index 0000000000000..1561dbe691706 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.resourcetiming.workerfetchstart.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [ResourceTiming](./puppeteer.protocol.network.resourcetiming.md) > [workerFetchStart](./puppeteer.protocol.network.resourcetiming.workerfetchstart.md) + +## Protocol.Network.ResourceTiming.workerFetchStart property + +Started fetch event. + +Signature: + +```typescript +workerFetchStart: number; +``` diff --git a/new-docs/puppeteer.protocol.network.resourcetiming.workerrespondwithsettled.md b/new-docs/puppeteer.protocol.network.resourcetiming.workerrespondwithsettled.md new file mode 100644 index 0000000000000..ae5bf9a250426 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.resourcetiming.workerrespondwithsettled.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [ResourceTiming](./puppeteer.protocol.network.resourcetiming.md) > [workerRespondWithSettled](./puppeteer.protocol.network.resourcetiming.workerrespondwithsettled.md) + +## Protocol.Network.ResourceTiming.workerRespondWithSettled property + +Settled fetch event respondWith promise. + +Signature: + +```typescript +workerRespondWithSettled: number; +``` diff --git a/new-docs/puppeteer.protocol.network.response.cachestoragecachename.md b/new-docs/puppeteer.protocol.network.response.cachestoragecachename.md new file mode 100644 index 0000000000000..9fc7a15b69c60 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.response.cachestoragecachename.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [Response](./puppeteer.protocol.network.response.md) > [cacheStorageCacheName](./puppeteer.protocol.network.response.cachestoragecachename.md) + +## Protocol.Network.Response.cacheStorageCacheName property + +Cache Storage Cache Name. + +Signature: + +```typescript +cacheStorageCacheName?: string; +``` diff --git a/new-docs/puppeteer.protocol.network.response.md b/new-docs/puppeteer.protocol.network.response.md index 5834a59876f43..65e165aff66ee 100644 --- a/new-docs/puppeteer.protocol.network.response.md +++ b/new-docs/puppeteer.protocol.network.response.md @@ -16,6 +16,7 @@ export interface Response | Property | Type | Description | | --- | --- | --- | +| [cacheStorageCacheName](./puppeteer.protocol.network.response.cachestoragecachename.md) | string | Cache Storage Cache Name. | | [connectionId](./puppeteer.protocol.network.response.connectionid.md) | number | Physical connection id that was actually used for this request. | | [connectionReused](./puppeteer.protocol.network.response.connectionreused.md) | boolean | Specifies whether physical connection was actually reused for this request. | | [encodedDataLength](./puppeteer.protocol.network.response.encodeddatalength.md) | number | Total number of bytes received for this request so far. | @@ -30,8 +31,10 @@ export interface Response | [remotePort](./puppeteer.protocol.network.response.remoteport.md) | [integer](./puppeteer.protocol.integer.md) | Remote port. | | [requestHeaders](./puppeteer.protocol.network.response.requestheaders.md) | [Headers](./puppeteer.protocol.network.headers.md) | Refined HTTP request headers that were actually transmitted over the network. | | [requestHeadersText](./puppeteer.protocol.network.response.requestheaderstext.md) | string | HTTP request headers text. | +| [responseTime](./puppeteer.protocol.network.response.responsetime.md) | [TimeSinceEpoch](./puppeteer.protocol.network.timesinceepoch.md) | The time at which the returned response was generated. | | [securityDetails](./puppeteer.protocol.network.response.securitydetails.md) | [SecurityDetails](./puppeteer.protocol.network.securitydetails.md) | Security details for the request. | | [securityState](./puppeteer.protocol.network.response.securitystate.md) | [Security.SecurityState](./puppeteer.protocol.security.securitystate.md) | Security state of the request resource. | +| [serviceWorkerResponseSource](./puppeteer.protocol.network.response.serviceworkerresponsesource.md) | [ServiceWorkerResponseSource](./puppeteer.protocol.network.serviceworkerresponsesource.md) | Response source of response from ServiceWorker. | | [status](./puppeteer.protocol.network.response.status.md) | [integer](./puppeteer.protocol.integer.md) | HTTP response status code. | | [statusText](./puppeteer.protocol.network.response.statustext.md) | string | HTTP response status text. | | [timing](./puppeteer.protocol.network.response.timing.md) | [ResourceTiming](./puppeteer.protocol.network.resourcetiming.md) | Timing information for the given request. | diff --git a/new-docs/puppeteer.protocol.network.response.responsetime.md b/new-docs/puppeteer.protocol.network.response.responsetime.md new file mode 100644 index 0000000000000..11fd6cdf30f6f --- /dev/null +++ b/new-docs/puppeteer.protocol.network.response.responsetime.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [Response](./puppeteer.protocol.network.response.md) > [responseTime](./puppeteer.protocol.network.response.responsetime.md) + +## Protocol.Network.Response.responseTime property + +The time at which the returned response was generated. + +Signature: + +```typescript +responseTime?: TimeSinceEpoch; +``` diff --git a/new-docs/puppeteer.protocol.network.response.serviceworkerresponsesource.md b/new-docs/puppeteer.protocol.network.response.serviceworkerresponsesource.md new file mode 100644 index 0000000000000..6c38e3cdc2985 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.response.serviceworkerresponsesource.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [Response](./puppeteer.protocol.network.response.md) > [serviceWorkerResponseSource](./puppeteer.protocol.network.response.serviceworkerresponsesource.md) + +## Protocol.Network.Response.serviceWorkerResponseSource property + +Response source of response from ServiceWorker. + +Signature: + +```typescript +serviceWorkerResponseSource?: ServiceWorkerResponseSource; +``` diff --git a/new-docs/puppeteer.protocol.network.serviceworkerresponsesource.md b/new-docs/puppeteer.protocol.network.serviceworkerresponsesource.md new file mode 100644 index 0000000000000..852ae204680f7 --- /dev/null +++ b/new-docs/puppeteer.protocol.network.serviceworkerresponsesource.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [ServiceWorkerResponseSource](./puppeteer.protocol.network.serviceworkerresponsesource.md) + +## Protocol.Network.ServiceWorkerResponseSource type + +Source of serviceworker response. + +Signature: + +```typescript +export type ServiceWorkerResponseSource = ('cache-storage' | 'http-cache' | 'fallback-code' | 'network'); +``` diff --git a/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.colorformat.md b/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.colorformat.md index e1fa192d72034..5bce8dbd6561b 100644 --- a/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.colorformat.md +++ b/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.colorformat.md @@ -4,7 +4,7 @@ ## Protocol.Overlay.GetHighlightObjectForTestRequest.colorFormat property -The color format to get config with (default: hex) +The color format to get config with (default: hex). Signature: diff --git a/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.md b/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.md index 58787d60b8ad0..77233853eff8a 100644 --- a/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.md +++ b/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.md @@ -14,8 +14,9 @@ export interface GetHighlightObjectForTestRequest | Property | Type | Description | | --- | --- | --- | -| [colorFormat](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.colorformat.md) | [ColorFormat](./puppeteer.protocol.overlay.colorformat.md) | The color format to get config with (default: hex) | +| [colorFormat](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.colorformat.md) | [ColorFormat](./puppeteer.protocol.overlay.colorformat.md) | The color format to get config with (default: hex). | | [includeDistance](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.includedistance.md) | boolean | Whether to include distance info. | | [includeStyle](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.includestyle.md) | boolean | Whether to include style info. | | [nodeId](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.nodeid.md) | [DOM.NodeId](./puppeteer.protocol.dom.nodeid.md) | Id of the node to get highlight object for. | +| [showAccessibilityInfo](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.showaccessibilityinfo.md) | boolean | Whether to show accessibility info (default: true). | diff --git a/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.showaccessibilityinfo.md b/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.showaccessibilityinfo.md new file mode 100644 index 0000000000000..79aa9cc9be998 --- /dev/null +++ b/new-docs/puppeteer.protocol.overlay.gethighlightobjectfortestrequest.showaccessibilityinfo.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Overlay](./puppeteer.protocol.overlay.md) > [GetHighlightObjectForTestRequest](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.md) > [showAccessibilityInfo](./puppeteer.protocol.overlay.gethighlightobjectfortestrequest.showaccessibilityinfo.md) + +## Protocol.Overlay.GetHighlightObjectForTestRequest.showAccessibilityInfo property + +Whether to show accessibility info (default: true). + +Signature: + +```typescript +showAccessibilityInfo?: boolean; +``` diff --git a/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.md b/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.md index 3a5989aa8276d..d02e8fd3511cf 100644 --- a/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.md +++ b/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.md @@ -25,4 +25,6 @@ export interface GridHighlightConfig | [rowGapColor](./puppeteer.protocol.overlay.gridhighlightconfig.rowgapcolor.md) | [DOM.RGBA](./puppeteer.protocol.dom.rgba.md) | The row gap highlight fill color (default: transparent). | | [rowHatchColor](./puppeteer.protocol.overlay.gridhighlightconfig.rowhatchcolor.md) | [DOM.RGBA](./puppeteer.protocol.dom.rgba.md) | The row gap hatching fill color (default: transparent). | | [showGridExtensionLines](./puppeteer.protocol.overlay.gridhighlightconfig.showgridextensionlines.md) | boolean | Whether the extension lines from grid cells to the rulers should be shown (default: false). | +| [showNegativeLineNumbers](./puppeteer.protocol.overlay.gridhighlightconfig.shownegativelinenumbers.md) | boolean | Show Negative line number labels (default: false). | +| [showPositiveLineNumbers](./puppeteer.protocol.overlay.gridhighlightconfig.showpositivelinenumbers.md) | boolean | Show Positive line number labels (default: false). | diff --git a/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.shownegativelinenumbers.md b/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.shownegativelinenumbers.md new file mode 100644 index 0000000000000..4e0d555451a42 --- /dev/null +++ b/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.shownegativelinenumbers.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Overlay](./puppeteer.protocol.overlay.md) > [GridHighlightConfig](./puppeteer.protocol.overlay.gridhighlightconfig.md) > [showNegativeLineNumbers](./puppeteer.protocol.overlay.gridhighlightconfig.shownegativelinenumbers.md) + +## Protocol.Overlay.GridHighlightConfig.showNegativeLineNumbers property + +Show Negative line number labels (default: false). + +Signature: + +```typescript +showNegativeLineNumbers?: boolean; +``` diff --git a/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.showpositivelinenumbers.md b/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.showpositivelinenumbers.md new file mode 100644 index 0000000000000..3e47bec2e81b8 --- /dev/null +++ b/new-docs/puppeteer.protocol.overlay.gridhighlightconfig.showpositivelinenumbers.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Overlay](./puppeteer.protocol.overlay.md) > [GridHighlightConfig](./puppeteer.protocol.overlay.gridhighlightconfig.md) > [showPositiveLineNumbers](./puppeteer.protocol.overlay.gridhighlightconfig.showpositivelinenumbers.md) + +## Protocol.Overlay.GridHighlightConfig.showPositiveLineNumbers property + +Show Positive line number labels (default: false). + +Signature: + +```typescript +showPositiveLineNumbers?: boolean; +``` diff --git a/new-docs/puppeteer.protocol.overlay.highlightconfig.md b/new-docs/puppeteer.protocol.overlay.highlightconfig.md index 050a142b766f9..c4aa869b3a23c 100644 --- a/new-docs/puppeteer.protocol.overlay.highlightconfig.md +++ b/new-docs/puppeteer.protocol.overlay.highlightconfig.md @@ -26,6 +26,7 @@ export interface HighlightConfig | [paddingColor](./puppeteer.protocol.overlay.highlightconfig.paddingcolor.md) | [DOM.RGBA](./puppeteer.protocol.dom.rgba.md) | The padding highlight fill color (default: transparent). | | [shapeColor](./puppeteer.protocol.overlay.highlightconfig.shapecolor.md) | [DOM.RGBA](./puppeteer.protocol.dom.rgba.md) | The shape outside fill color (default: transparent). | | [shapeMarginColor](./puppeteer.protocol.overlay.highlightconfig.shapemargincolor.md) | [DOM.RGBA](./puppeteer.protocol.dom.rgba.md) | The shape margin fill color (default: transparent). | +| [showAccessibilityInfo](./puppeteer.protocol.overlay.highlightconfig.showaccessibilityinfo.md) | boolean | Whether the a11y info should be shown (default: true). | | [showExtensionLines](./puppeteer.protocol.overlay.highlightconfig.showextensionlines.md) | boolean | Whether the extension lines from node to the rulers should be shown (default: false). | | [showInfo](./puppeteer.protocol.overlay.highlightconfig.showinfo.md) | boolean | Whether the node info tooltip should be shown (default: false). | | [showRulers](./puppeteer.protocol.overlay.highlightconfig.showrulers.md) | boolean | Whether the rulers should be shown (default: false). | diff --git a/new-docs/puppeteer.protocol.overlay.highlightconfig.showaccessibilityinfo.md b/new-docs/puppeteer.protocol.overlay.highlightconfig.showaccessibilityinfo.md new file mode 100644 index 0000000000000..4dbcbb9fbbfab --- /dev/null +++ b/new-docs/puppeteer.protocol.overlay.highlightconfig.showaccessibilityinfo.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Overlay](./puppeteer.protocol.overlay.md) > [HighlightConfig](./puppeteer.protocol.overlay.highlightconfig.md) > [showAccessibilityInfo](./puppeteer.protocol.overlay.highlightconfig.showaccessibilityinfo.md) + +## Protocol.Overlay.HighlightConfig.showAccessibilityInfo property + +Whether the a11y info should be shown (default: true). + +Signature: + +```typescript +showAccessibilityInfo?: boolean; +``` diff --git a/new-docs/puppeteer.protocol.page.capturescreenshotrequest.format.md b/new-docs/puppeteer.protocol.page.capturescreenshotrequest.format.md index b425c8c701a39..97c5a962cdf13 100644 --- a/new-docs/puppeteer.protocol.page.capturescreenshotrequest.format.md +++ b/new-docs/puppeteer.protocol.page.capturescreenshotrequest.format.md @@ -4,7 +4,7 @@ ## Protocol.Page.CaptureScreenshotRequest.format property -Image compression format (defaults to png). +Image compression format (defaults to png). (CaptureScreenshotRequestFormat enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.capturescreenshotrequest.md b/new-docs/puppeteer.protocol.page.capturescreenshotrequest.md index 2654697dd8a72..8e8b725053bc5 100644 --- a/new-docs/puppeteer.protocol.page.capturescreenshotrequest.md +++ b/new-docs/puppeteer.protocol.page.capturescreenshotrequest.md @@ -15,7 +15,7 @@ export interface CaptureScreenshotRequest | Property | Type | Description | | --- | --- | --- | | [clip](./puppeteer.protocol.page.capturescreenshotrequest.clip.md) | [Viewport](./puppeteer.protocol.page.viewport.md) | Capture the screenshot of a given region only. | -| [format](./puppeteer.protocol.page.capturescreenshotrequest.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). | +| [format](./puppeteer.protocol.page.capturescreenshotrequest.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). (CaptureScreenshotRequestFormat enum) | | [fromSurface](./puppeteer.protocol.page.capturescreenshotrequest.fromsurface.md) | boolean | Capture the screenshot from the surface, rather than the view. Defaults to true. | | [quality](./puppeteer.protocol.page.capturescreenshotrequest.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\] (jpeg only). | diff --git a/new-docs/puppeteer.protocol.page.capturescreenshotrequestformat.md b/new-docs/puppeteer.protocol.page.capturescreenshotrequestformat.md new file mode 100644 index 0000000000000..f29123a936631 --- /dev/null +++ b/new-docs/puppeteer.protocol.page.capturescreenshotrequestformat.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [CaptureScreenshotRequestFormat](./puppeteer.protocol.page.capturescreenshotrequestformat.md) + +## Protocol.Page.CaptureScreenshotRequestFormat enum + +Signature: + +```typescript +export const enum CaptureScreenshotRequestFormat +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Jpeg | 'jpeg' | | +| Png | 'png' | | + diff --git a/new-docs/puppeteer.protocol.page.capturesnapshotrequest.format.md b/new-docs/puppeteer.protocol.page.capturesnapshotrequest.format.md index b919cc642bca2..63b0d67f95bd7 100644 --- a/new-docs/puppeteer.protocol.page.capturesnapshotrequest.format.md +++ b/new-docs/puppeteer.protocol.page.capturesnapshotrequest.format.md @@ -4,7 +4,7 @@ ## Protocol.Page.CaptureSnapshotRequest.format property -Format (defaults to mhtml). +Format (defaults to mhtml). (CaptureSnapshotRequestFormat enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.capturesnapshotrequest.md b/new-docs/puppeteer.protocol.page.capturesnapshotrequest.md index 25bebdbb1baf6..cde453a8d85cd 100644 --- a/new-docs/puppeteer.protocol.page.capturesnapshotrequest.md +++ b/new-docs/puppeteer.protocol.page.capturesnapshotrequest.md @@ -14,5 +14,5 @@ export interface CaptureSnapshotRequest | Property | Type | Description | | --- | --- | --- | -| [format](./puppeteer.protocol.page.capturesnapshotrequest.format.md) | ('mhtml') | Format (defaults to mhtml). | +| [format](./puppeteer.protocol.page.capturesnapshotrequest.format.md) | ('mhtml') | Format (defaults to mhtml). (CaptureSnapshotRequestFormat enum) | diff --git a/new-docs/puppeteer.protocol.page.capturesnapshotrequestformat.md b/new-docs/puppeteer.protocol.page.capturesnapshotrequestformat.md new file mode 100644 index 0000000000000..2edff80e09809 --- /dev/null +++ b/new-docs/puppeteer.protocol.page.capturesnapshotrequestformat.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [CaptureSnapshotRequestFormat](./puppeteer.protocol.page.capturesnapshotrequestformat.md) + +## Protocol.Page.CaptureSnapshotRequestFormat enum + +Signature: + +```typescript +export const enum CaptureSnapshotRequestFormat +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| MHTML | 'mhtml' | | + diff --git a/new-docs/puppeteer.protocol.page.downloadprogressevent.md b/new-docs/puppeteer.protocol.page.downloadprogressevent.md index 9cfe568428ec8..3491559bf2972 100644 --- a/new-docs/puppeteer.protocol.page.downloadprogressevent.md +++ b/new-docs/puppeteer.protocol.page.downloadprogressevent.md @@ -18,6 +18,6 @@ export interface DownloadProgressEvent | --- | --- | --- | | [guid](./puppeteer.protocol.page.downloadprogressevent.guid.md) | string | Global unique identifier of the download. | | [receivedBytes](./puppeteer.protocol.page.downloadprogressevent.receivedbytes.md) | number | Total bytes received. | -| [state](./puppeteer.protocol.page.downloadprogressevent.state.md) | ('inProgress' \| 'completed' \| 'canceled') | Download status. | +| [state](./puppeteer.protocol.page.downloadprogressevent.state.md) | ('inProgress' \| 'completed' \| 'canceled') | Download status. (DownloadProgressEventState enum) | | [totalBytes](./puppeteer.protocol.page.downloadprogressevent.totalbytes.md) | number | Total expected bytes to download. | diff --git a/new-docs/puppeteer.protocol.page.downloadprogressevent.state.md b/new-docs/puppeteer.protocol.page.downloadprogressevent.state.md index 91fcb0306f09d..6775e483ff08e 100644 --- a/new-docs/puppeteer.protocol.page.downloadprogressevent.state.md +++ b/new-docs/puppeteer.protocol.page.downloadprogressevent.state.md @@ -4,7 +4,7 @@ ## Protocol.Page.DownloadProgressEvent.state property -Download status. +Download status. (DownloadProgressEventState enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.downloadprogresseventstate.md b/new-docs/puppeteer.protocol.page.downloadprogresseventstate.md new file mode 100644 index 0000000000000..ec7dd0aa09424 --- /dev/null +++ b/new-docs/puppeteer.protocol.page.downloadprogresseventstate.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [DownloadProgressEventState](./puppeteer.protocol.page.downloadprogresseventstate.md) + +## Protocol.Page.DownloadProgressEventState enum + +Signature: + +```typescript +export const enum DownloadProgressEventState +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Canceled | 'canceled' | | +| Completed | 'completed' | | +| InProgress | 'inProgress' | | + diff --git a/new-docs/puppeteer.protocol.page.filechooseropenedevent.md b/new-docs/puppeteer.protocol.page.filechooseropenedevent.md index 35967b0996e9c..f87a2369ed7aa 100644 --- a/new-docs/puppeteer.protocol.page.filechooseropenedevent.md +++ b/new-docs/puppeteer.protocol.page.filechooseropenedevent.md @@ -18,5 +18,5 @@ export interface FileChooserOpenedEvent | --- | --- | --- | | [backendNodeId](./puppeteer.protocol.page.filechooseropenedevent.backendnodeid.md) | [DOM.BackendNodeId](./puppeteer.protocol.dom.backendnodeid.md) | Input node id. | | [frameId](./puppeteer.protocol.page.filechooseropenedevent.frameid.md) | [FrameId](./puppeteer.protocol.page.frameid.md) | Id of the frame containing input node. | -| [mode](./puppeteer.protocol.page.filechooseropenedevent.mode.md) | ('selectSingle' \| 'selectMultiple') | Input mode. | +| [mode](./puppeteer.protocol.page.filechooseropenedevent.mode.md) | ('selectSingle' \| 'selectMultiple') | Input mode. (FileChooserOpenedEventMode enum) | diff --git a/new-docs/puppeteer.protocol.page.filechooseropenedevent.mode.md b/new-docs/puppeteer.protocol.page.filechooseropenedevent.mode.md index 580c2f28b46ec..8df52a9c0e62c 100644 --- a/new-docs/puppeteer.protocol.page.filechooseropenedevent.mode.md +++ b/new-docs/puppeteer.protocol.page.filechooseropenedevent.mode.md @@ -4,7 +4,7 @@ ## Protocol.Page.FileChooserOpenedEvent.mode property -Input mode. +Input mode. (FileChooserOpenedEventMode enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.filechooseropenedeventmode.md b/new-docs/puppeteer.protocol.page.filechooseropenedeventmode.md new file mode 100644 index 0000000000000..5ebff7fc3441a --- /dev/null +++ b/new-docs/puppeteer.protocol.page.filechooseropenedeventmode.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [FileChooserOpenedEventMode](./puppeteer.protocol.page.filechooseropenedeventmode.md) + +## Protocol.Page.FileChooserOpenedEventMode enum + +Signature: + +```typescript +export const enum FileChooserOpenedEventMode +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| SelectMultiple | 'selectMultiple' | | +| SelectSingle | 'selectSingle' | | + diff --git a/new-docs/puppeteer.protocol.page.md b/new-docs/puppeteer.protocol.page.md index 3967e3ea6d4e2..eb23dcd0a94ce 100644 --- a/new-docs/puppeteer.protocol.page.md +++ b/new-docs/puppeteer.protocol.page.md @@ -12,6 +12,20 @@ Actions and events related to the inspected page belong to the page domain. export namespace Page ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [CaptureScreenshotRequestFormat](./puppeteer.protocol.page.capturescreenshotrequestformat.md) | | +| [CaptureSnapshotRequestFormat](./puppeteer.protocol.page.capturesnapshotrequestformat.md) | | +| [DownloadProgressEventState](./puppeteer.protocol.page.downloadprogresseventstate.md) | | +| [FileChooserOpenedEventMode](./puppeteer.protocol.page.filechooseropenedeventmode.md) | | +| [PrintToPDFRequestTransferMode](./puppeteer.protocol.page.printtopdfrequesttransfermode.md) | | +| [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.page.setdownloadbehaviorrequestbehavior.md) | | +| [SetTouchEmulationEnabledRequestConfiguration](./puppeteer.protocol.page.settouchemulationenabledrequestconfiguration.md) | | +| [SetWebLifecycleStateRequestState](./puppeteer.protocol.page.setweblifecyclestaterequeststate.md) | | +| [StartScreencastRequestFormat](./puppeteer.protocol.page.startscreencastrequestformat.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.page.printtopdfrequest.md b/new-docs/puppeteer.protocol.page.printtopdfrequest.md index ebf006c79abe2..74ce23f46dd20 100644 --- a/new-docs/puppeteer.protocol.page.printtopdfrequest.md +++ b/new-docs/puppeteer.protocol.page.printtopdfrequest.md @@ -29,5 +29,5 @@ export interface PrintToPDFRequest | [preferCSSPageSize](./puppeteer.protocol.page.printtopdfrequest.prefercsspagesize.md) | boolean | Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size. | | [printBackground](./puppeteer.protocol.page.printtopdfrequest.printbackground.md) | boolean | Print background graphics. Defaults to false. | | [scale](./puppeteer.protocol.page.printtopdfrequest.scale.md) | number | Scale of the webpage rendering. Defaults to 1. | -| [transferMode](./puppeteer.protocol.page.printtopdfrequest.transfermode.md) | ('ReturnAsBase64' \| 'ReturnAsStream') | return as stream | +| [transferMode](./puppeteer.protocol.page.printtopdfrequest.transfermode.md) | ('ReturnAsBase64' \| 'ReturnAsStream') | return as stream (PrintToPDFRequestTransferMode enum) | diff --git a/new-docs/puppeteer.protocol.page.printtopdfrequest.transfermode.md b/new-docs/puppeteer.protocol.page.printtopdfrequest.transfermode.md index 53bc71e316ea5..a33062b35377b 100644 --- a/new-docs/puppeteer.protocol.page.printtopdfrequest.transfermode.md +++ b/new-docs/puppeteer.protocol.page.printtopdfrequest.transfermode.md @@ -4,7 +4,7 @@ ## Protocol.Page.PrintToPDFRequest.transferMode property -return as stream +return as stream (PrintToPDFRequestTransferMode enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.printtopdfrequesttransfermode.md b/new-docs/puppeteer.protocol.page.printtopdfrequesttransfermode.md new file mode 100644 index 0000000000000..ec87c3d5b4a95 --- /dev/null +++ b/new-docs/puppeteer.protocol.page.printtopdfrequesttransfermode.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [PrintToPDFRequestTransferMode](./puppeteer.protocol.page.printtopdfrequesttransfermode.md) + +## Protocol.Page.PrintToPDFRequestTransferMode enum + +Signature: + +```typescript +export const enum PrintToPDFRequestTransferMode +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| ReturnAsBase64 | 'ReturnAsBase64' | | +| ReturnAsStream | 'ReturnAsStream' | | + diff --git a/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md b/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md index 6282067505e82..c63aacdf57017 100644 --- a/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md +++ b/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md @@ -4,7 +4,7 @@ ## Protocol.Page.SetDownloadBehaviorRequest.behavior property -Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). +Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). (SetDownloadBehaviorRequestBehavior enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.md b/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.md index 839cf183c2b50..38bdb859460fc 100644 --- a/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.md +++ b/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.md @@ -14,6 +14,6 @@ export interface SetDownloadBehaviorRequest | Property | Type | Description | | --- | --- | --- | -| [behavior](./puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). | +| [behavior](./puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). (SetDownloadBehaviorRequestBehavior enum) | | [downloadPath](./puppeteer.protocol.page.setdownloadbehaviorrequest.downloadpath.md) | string | The default path to save downloaded files to. This is requred if behavior is set to 'allow' | diff --git a/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequestbehavior.md b/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequestbehavior.md new file mode 100644 index 0000000000000..44cc9629768ba --- /dev/null +++ b/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequestbehavior.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.page.setdownloadbehaviorrequestbehavior.md) + +## Protocol.Page.SetDownloadBehaviorRequestBehavior enum + +Signature: + +```typescript +export const enum SetDownloadBehaviorRequestBehavior +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Allow | 'allow' | | +| Default | 'default' | | +| Deny | 'deny' | | + diff --git a/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.configuration.md b/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.configuration.md index 136606a1bc51f..f9afdf1ce7c47 100644 --- a/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.configuration.md +++ b/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.configuration.md @@ -4,7 +4,7 @@ ## Protocol.Page.SetTouchEmulationEnabledRequest.configuration property -Touch/gesture events configuration. Default: current platform. +Touch/gesture events configuration. Default: current platform. (SetTouchEmulationEnabledRequestConfiguration enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.md b/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.md index f7bb750de62e0..70b27c6319471 100644 --- a/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.md +++ b/new-docs/puppeteer.protocol.page.settouchemulationenabledrequest.md @@ -14,6 +14,6 @@ export interface SetTouchEmulationEnabledRequest | Property | Type | Description | | --- | --- | --- | -| [configuration](./puppeteer.protocol.page.settouchemulationenabledrequest.configuration.md) | ('mobile' \| 'desktop') | Touch/gesture events configuration. Default: current platform. | +| [configuration](./puppeteer.protocol.page.settouchemulationenabledrequest.configuration.md) | ('mobile' \| 'desktop') | Touch/gesture events configuration. Default: current platform. (SetTouchEmulationEnabledRequestConfiguration enum) | | [enabled](./puppeteer.protocol.page.settouchemulationenabledrequest.enabled.md) | boolean | Whether the touch event emulation should be enabled. | diff --git a/new-docs/puppeteer.protocol.page.settouchemulationenabledrequestconfiguration.md b/new-docs/puppeteer.protocol.page.settouchemulationenabledrequestconfiguration.md new file mode 100644 index 0000000000000..a0f41095d512a --- /dev/null +++ b/new-docs/puppeteer.protocol.page.settouchemulationenabledrequestconfiguration.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [SetTouchEmulationEnabledRequestConfiguration](./puppeteer.protocol.page.settouchemulationenabledrequestconfiguration.md) + +## Protocol.Page.SetTouchEmulationEnabledRequestConfiguration enum + +Signature: + +```typescript +export const enum SetTouchEmulationEnabledRequestConfiguration +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Desktop | 'desktop' | | +| Mobile | 'mobile' | | + diff --git a/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.md b/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.md index 29b9fa8f0ef20..320a5204c1013 100644 --- a/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.md +++ b/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.md @@ -14,5 +14,5 @@ export interface SetWebLifecycleStateRequest | Property | Type | Description | | --- | --- | --- | -| [state](./puppeteer.protocol.page.setweblifecyclestaterequest.state.md) | ('frozen' \| 'active') | Target lifecycle state | +| [state](./puppeteer.protocol.page.setweblifecyclestaterequest.state.md) | ('frozen' \| 'active') | Target lifecycle state (SetWebLifecycleStateRequestState enum) | diff --git a/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.state.md b/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.state.md index 089eedf15aaef..d2befe7ce5ec7 100644 --- a/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.state.md +++ b/new-docs/puppeteer.protocol.page.setweblifecyclestaterequest.state.md @@ -4,7 +4,7 @@ ## Protocol.Page.SetWebLifecycleStateRequest.state property -Target lifecycle state +Target lifecycle state (SetWebLifecycleStateRequestState enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.setweblifecyclestaterequeststate.md b/new-docs/puppeteer.protocol.page.setweblifecyclestaterequeststate.md new file mode 100644 index 0000000000000..edab2eee9041e --- /dev/null +++ b/new-docs/puppeteer.protocol.page.setweblifecyclestaterequeststate.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [SetWebLifecycleStateRequestState](./puppeteer.protocol.page.setweblifecyclestaterequeststate.md) + +## Protocol.Page.SetWebLifecycleStateRequestState enum + +Signature: + +```typescript +export const enum SetWebLifecycleStateRequestState +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Active | 'active' | | +| Frozen | 'frozen' | | + diff --git a/new-docs/puppeteer.protocol.page.startscreencastrequest.format.md b/new-docs/puppeteer.protocol.page.startscreencastrequest.format.md index cf26900a06f82..710bc7a767a09 100644 --- a/new-docs/puppeteer.protocol.page.startscreencastrequest.format.md +++ b/new-docs/puppeteer.protocol.page.startscreencastrequest.format.md @@ -4,7 +4,7 @@ ## Protocol.Page.StartScreencastRequest.format property -Image compression format. +Image compression format. (StartScreencastRequestFormat enum) Signature: diff --git a/new-docs/puppeteer.protocol.page.startscreencastrequest.md b/new-docs/puppeteer.protocol.page.startscreencastrequest.md index 61145af5b0902..2c900f26ef15a 100644 --- a/new-docs/puppeteer.protocol.page.startscreencastrequest.md +++ b/new-docs/puppeteer.protocol.page.startscreencastrequest.md @@ -15,7 +15,7 @@ export interface StartScreencastRequest | Property | Type | Description | | --- | --- | --- | | [everyNthFrame](./puppeteer.protocol.page.startscreencastrequest.everynthframe.md) | [integer](./puppeteer.protocol.integer.md) | Send every n-th frame. | -| [format](./puppeteer.protocol.page.startscreencastrequest.format.md) | ('jpeg' \| 'png') | Image compression format. | +| [format](./puppeteer.protocol.page.startscreencastrequest.format.md) | ('jpeg' \| 'png') | Image compression format. (StartScreencastRequestFormat enum) | | [maxHeight](./puppeteer.protocol.page.startscreencastrequest.maxheight.md) | [integer](./puppeteer.protocol.integer.md) | Maximum screenshot height. | | [maxWidth](./puppeteer.protocol.page.startscreencastrequest.maxwidth.md) | [integer](./puppeteer.protocol.integer.md) | Maximum screenshot width. | | [quality](./puppeteer.protocol.page.startscreencastrequest.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\]. | diff --git a/new-docs/puppeteer.protocol.page.startscreencastrequestformat.md b/new-docs/puppeteer.protocol.page.startscreencastrequestformat.md new file mode 100644 index 0000000000000..a9f874c3a9f5d --- /dev/null +++ b/new-docs/puppeteer.protocol.page.startscreencastrequestformat.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [StartScreencastRequestFormat](./puppeteer.protocol.page.startscreencastrequestformat.md) + +## Protocol.Page.StartScreencastRequestFormat enum + +Signature: + +```typescript +export const enum StartScreencastRequestFormat +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Jpeg | 'jpeg' | | +| Png | 'png' | | + diff --git a/new-docs/puppeteer.protocol.performance.enablerequest.md b/new-docs/puppeteer.protocol.performance.enablerequest.md index 831dbbac14bc8..87c072cc78852 100644 --- a/new-docs/puppeteer.protocol.performance.enablerequest.md +++ b/new-docs/puppeteer.protocol.performance.enablerequest.md @@ -14,5 +14,5 @@ export interface EnableRequest | Property | Type | Description | | --- | --- | --- | -| [timeDomain](./puppeteer.protocol.performance.enablerequest.timedomain.md) | ('timeTicks' \| 'threadTicks') | Time domain to use for collecting and reporting duration metrics. | +| [timeDomain](./puppeteer.protocol.performance.enablerequest.timedomain.md) | ('timeTicks' \| 'threadTicks') | Time domain to use for collecting and reporting duration metrics. (EnableRequestTimeDomain enum) | diff --git a/new-docs/puppeteer.protocol.performance.enablerequest.timedomain.md b/new-docs/puppeteer.protocol.performance.enablerequest.timedomain.md index 1ce262aba5c64..0ddcfb7739135 100644 --- a/new-docs/puppeteer.protocol.performance.enablerequest.timedomain.md +++ b/new-docs/puppeteer.protocol.performance.enablerequest.timedomain.md @@ -4,7 +4,7 @@ ## Protocol.Performance.EnableRequest.timeDomain property -Time domain to use for collecting and reporting duration metrics. +Time domain to use for collecting and reporting duration metrics. (EnableRequestTimeDomain enum) Signature: diff --git a/new-docs/puppeteer.protocol.performance.enablerequesttimedomain.md b/new-docs/puppeteer.protocol.performance.enablerequesttimedomain.md new file mode 100644 index 0000000000000..99df79e2bea80 --- /dev/null +++ b/new-docs/puppeteer.protocol.performance.enablerequesttimedomain.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Performance](./puppeteer.protocol.performance.md) > [EnableRequestTimeDomain](./puppeteer.protocol.performance.enablerequesttimedomain.md) + +## Protocol.Performance.EnableRequestTimeDomain enum + +Signature: + +```typescript +export const enum EnableRequestTimeDomain +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| ThreadTicks | 'threadTicks' | | +| TimeTicks | 'timeTicks' | | + diff --git a/new-docs/puppeteer.protocol.performance.md b/new-docs/puppeteer.protocol.performance.md index 55afb1f08d426..0e0c493bd52be 100644 --- a/new-docs/puppeteer.protocol.performance.md +++ b/new-docs/puppeteer.protocol.performance.md @@ -10,6 +10,13 @@ export namespace Performance ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [EnableRequestTimeDomain](./puppeteer.protocol.performance.enablerequesttimedomain.md) | | +| [SetTimeDomainRequestTimeDomain](./puppeteer.protocol.performance.settimedomainrequesttimedomain.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.performance.settimedomainrequest.md b/new-docs/puppeteer.protocol.performance.settimedomainrequest.md index 31a4c925cf33e..9d4474c7d9028 100644 --- a/new-docs/puppeteer.protocol.performance.settimedomainrequest.md +++ b/new-docs/puppeteer.protocol.performance.settimedomainrequest.md @@ -14,5 +14,5 @@ export interface SetTimeDomainRequest | Property | Type | Description | | --- | --- | --- | -| [timeDomain](./puppeteer.protocol.performance.settimedomainrequest.timedomain.md) | ('timeTicks' \| 'threadTicks') | Time domain | +| [timeDomain](./puppeteer.protocol.performance.settimedomainrequest.timedomain.md) | ('timeTicks' \| 'threadTicks') | Time domain (SetTimeDomainRequestTimeDomain enum) | diff --git a/new-docs/puppeteer.protocol.performance.settimedomainrequest.timedomain.md b/new-docs/puppeteer.protocol.performance.settimedomainrequest.timedomain.md index 1f392ee4bb263..cf25854aebb8e 100644 --- a/new-docs/puppeteer.protocol.performance.settimedomainrequest.timedomain.md +++ b/new-docs/puppeteer.protocol.performance.settimedomainrequest.timedomain.md @@ -4,7 +4,7 @@ ## Protocol.Performance.SetTimeDomainRequest.timeDomain property -Time domain +Time domain (SetTimeDomainRequestTimeDomain enum) Signature: diff --git a/new-docs/puppeteer.protocol.performance.settimedomainrequesttimedomain.md b/new-docs/puppeteer.protocol.performance.settimedomainrequesttimedomain.md new file mode 100644 index 0000000000000..febae5f4251c9 --- /dev/null +++ b/new-docs/puppeteer.protocol.performance.settimedomainrequesttimedomain.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Performance](./puppeteer.protocol.performance.md) > [SetTimeDomainRequestTimeDomain](./puppeteer.protocol.performance.settimedomainrequesttimedomain.md) + +## Protocol.Performance.SetTimeDomainRequestTimeDomain enum + +Signature: + +```typescript +export const enum SetTimeDomainRequestTimeDomain +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| ThreadTicks | 'threadTicks' | | +| TimeTicks | 'timeTicks' | | + diff --git a/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.md b/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.md index d480cf40f33b7..7284ac3b3c180 100644 --- a/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.md +++ b/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.md @@ -21,5 +21,5 @@ export interface ConsoleAPICalledEvent | [executionContextId](./puppeteer.protocol.runtime.consoleapicalledevent.executioncontextid.md) | [ExecutionContextId](./puppeteer.protocol.runtime.executioncontextid.md) | Identifier of the context where the call was made. | | [stackTrace](./puppeteer.protocol.runtime.consoleapicalledevent.stacktrace.md) | [StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: assert, error, trace, warning. For other types the async call chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field. | | [timestamp](./puppeteer.protocol.runtime.consoleapicalledevent.timestamp.md) | [Timestamp](./puppeteer.protocol.runtime.timestamp.md) | Call timestamp. | -| [type](./puppeteer.protocol.runtime.consoleapicalledevent.type.md) | ('log' \| 'debug' \| 'info' \| 'error' \| 'warning' \| 'dir' \| 'dirxml' \| 'table' \| 'trace' \| 'clear' \| 'startGroup' \| 'startGroupCollapsed' \| 'endGroup' \| 'assert' \| 'profile' \| 'profileEnd' \| 'count' \| 'timeEnd') | Type of the call. | +| [type](./puppeteer.protocol.runtime.consoleapicalledevent.type.md) | ('log' \| 'debug' \| 'info' \| 'error' \| 'warning' \| 'dir' \| 'dirxml' \| 'table' \| 'trace' \| 'clear' \| 'startGroup' \| 'startGroupCollapsed' \| 'endGroup' \| 'assert' \| 'profile' \| 'profileEnd' \| 'count' \| 'timeEnd') | Type of the call. (ConsoleAPICalledEventType enum) | diff --git a/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.type.md b/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.type.md index a02517bf7e7b6..ab3d380da66d1 100644 --- a/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.type.md +++ b/new-docs/puppeteer.protocol.runtime.consoleapicalledevent.type.md @@ -4,7 +4,7 @@ ## Protocol.Runtime.ConsoleAPICalledEvent.type property -Type of the call. +Type of the call. (ConsoleAPICalledEventType enum) Signature: diff --git a/new-docs/puppeteer.protocol.runtime.consoleapicalledeventtype.md b/new-docs/puppeteer.protocol.runtime.consoleapicalledeventtype.md new file mode 100644 index 0000000000000..0c45befe06e5d --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.consoleapicalledeventtype.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [ConsoleAPICalledEventType](./puppeteer.protocol.runtime.consoleapicalledeventtype.md) + +## Protocol.Runtime.ConsoleAPICalledEventType enum + +Signature: + +```typescript +export const enum ConsoleAPICalledEventType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Assert | 'assert' | | +| Clear | 'clear' | | +| Count | 'count' | | +| Debug | 'debug' | | +| Dir | 'dir' | | +| DirXML | 'dirxml' | | +| EndGroup | 'endGroup' | | +| Error | 'error' | | +| Info | 'info' | | +| Log | 'log' | | +| Profile | 'profile' | | +| ProfileEnd | 'profileEnd' | | +| StartGroup | 'startGroup' | | +| StartGroupCollapsed | 'startGroupCollapsed' | | +| Table | 'table' | | +| TimeEnd | 'timeEnd' | | +| Trace | 'trace' | | +| Warning | 'warning' | | + diff --git a/new-docs/puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md b/new-docs/puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md new file mode 100644 index 0000000000000..aaee4870b3c83 --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [EvaluateRequest](./puppeteer.protocol.runtime.evaluaterequest.md) > [allowUnsafeEvalBlockedByCSP](./puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md) + +## Protocol.Runtime.EvaluateRequest.allowUnsafeEvalBlockedByCSP property + +The Content Security Policy (CSP) for the target might block 'unsafe-eval' which includes eval(), Function(), setTimeout() and setInterval() when called with non-callable arguments. This flag bypasses CSP for this evaluation and allows unsafe-eval. Defaults to true. + +Signature: + +```typescript +allowUnsafeEvalBlockedByCSP?: boolean; +``` diff --git a/new-docs/puppeteer.protocol.runtime.evaluaterequest.md b/new-docs/puppeteer.protocol.runtime.evaluaterequest.md index 09c7bf2c020d7..ca289770c1bf5 100644 --- a/new-docs/puppeteer.protocol.runtime.evaluaterequest.md +++ b/new-docs/puppeteer.protocol.runtime.evaluaterequest.md @@ -14,6 +14,7 @@ export interface EvaluateRequest | Property | Type | Description | | --- | --- | --- | +| [allowUnsafeEvalBlockedByCSP](./puppeteer.protocol.runtime.evaluaterequest.allowunsafeevalblockedbycsp.md) | boolean | The Content Security Policy (CSP) for the target might block 'unsafe-eval' which includes eval(), Function(), setTimeout() and setInterval() when called with non-callable arguments. This flag bypasses CSP for this evaluation and allows unsafe-eval. Defaults to true. | | [awaitPromise](./puppeteer.protocol.runtime.evaluaterequest.awaitpromise.md) | boolean | Whether execution should await for resulting value and return once awaited promise is resolved. | | [contextId](./puppeteer.protocol.runtime.evaluaterequest.contextid.md) | [ExecutionContextId](./puppeteer.protocol.runtime.executioncontextid.md) | Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. | | [disableBreaks](./puppeteer.protocol.runtime.evaluaterequest.disablebreaks.md) | boolean | Disable breakpoints during execution. | diff --git a/new-docs/puppeteer.protocol.runtime.md b/new-docs/puppeteer.protocol.runtime.md index d481a86665d86..476fe136aa0ef 100644 --- a/new-docs/puppeteer.protocol.runtime.md +++ b/new-docs/puppeteer.protocol.runtime.md @@ -12,6 +12,18 @@ Runtime domain exposes JavaScript runtime by means of remote evaluation and mirr export namespace Runtime ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [ConsoleAPICalledEventType](./puppeteer.protocol.runtime.consoleapicalledeventtype.md) | | +| [ObjectPreviewSubtype](./puppeteer.protocol.runtime.objectpreviewsubtype.md) | | +| [ObjectPreviewType](./puppeteer.protocol.runtime.objectpreviewtype.md) | | +| [PropertyPreviewSubtype](./puppeteer.protocol.runtime.propertypreviewsubtype.md) | | +| [PropertyPreviewType](./puppeteer.protocol.runtime.propertypreviewtype.md) | | +| [RemoteObjectSubtype](./puppeteer.protocol.runtime.remoteobjectsubtype.md) | | +| [RemoteObjectType](./puppeteer.protocol.runtime.remoteobjecttype.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.runtime.objectpreview.md b/new-docs/puppeteer.protocol.runtime.objectpreview.md index a9d6e4953d3e4..903e21ffb84aa 100644 --- a/new-docs/puppeteer.protocol.runtime.objectpreview.md +++ b/new-docs/puppeteer.protocol.runtime.objectpreview.md @@ -20,6 +20,6 @@ export interface ObjectPreview | [entries](./puppeteer.protocol.runtime.objectpreview.entries.md) | [EntryPreview](./puppeteer.protocol.runtime.entrypreview.md)\[\] | List of the entries. Specified for map and set subtype values only. | | [overflow](./puppeteer.protocol.runtime.objectpreview.overflow.md) | boolean | True iff some of the properties or entries of the original object did not fit. | | [properties](./puppeteer.protocol.runtime.objectpreview.properties.md) | [PropertyPreview](./puppeteer.protocol.runtime.propertypreview.md)\[\] | List of the properties. | -| [subtype](./puppeteer.protocol.runtime.objectpreview.subtype.md) | ('array' \| 'null' \| 'node' \| 'regexp' \| 'date' \| 'map' \| 'set' \| 'weakmap' \| 'weakset' \| 'iterator' \| 'generator' \| 'error') | Object subtype hint. Specified for object type values only. | -| [type](./puppeteer.protocol.runtime.objectpreview.type.md) | ('object' \| 'function' \| 'undefined' \| 'string' \| 'number' \| 'boolean' \| 'symbol' \| 'bigint') | Object type. | +| [subtype](./puppeteer.protocol.runtime.objectpreview.subtype.md) | ('array' \| 'null' \| 'node' \| 'regexp' \| 'date' \| 'map' \| 'set' \| 'weakmap' \| 'weakset' \| 'iterator' \| 'generator' \| 'error') | Object subtype hint. Specified for object type values only. (ObjectPreviewSubtype enum) | +| [type](./puppeteer.protocol.runtime.objectpreview.type.md) | ('object' \| 'function' \| 'undefined' \| 'string' \| 'number' \| 'boolean' \| 'symbol' \| 'bigint') | Object type. (ObjectPreviewType enum) | diff --git a/new-docs/puppeteer.protocol.runtime.objectpreview.subtype.md b/new-docs/puppeteer.protocol.runtime.objectpreview.subtype.md index 3a8c41a0dd1bb..9f497e2397810 100644 --- a/new-docs/puppeteer.protocol.runtime.objectpreview.subtype.md +++ b/new-docs/puppeteer.protocol.runtime.objectpreview.subtype.md @@ -4,7 +4,7 @@ ## Protocol.Runtime.ObjectPreview.subtype property -Object subtype hint. Specified for `object` type values only. +Object subtype hint. Specified for `object` type values only. (ObjectPreviewSubtype enum) Signature: diff --git a/new-docs/puppeteer.protocol.runtime.objectpreview.type.md b/new-docs/puppeteer.protocol.runtime.objectpreview.type.md index 28e263a48c6e1..fbe04d7755fa2 100644 --- a/new-docs/puppeteer.protocol.runtime.objectpreview.type.md +++ b/new-docs/puppeteer.protocol.runtime.objectpreview.type.md @@ -4,7 +4,7 @@ ## Protocol.Runtime.ObjectPreview.type property -Object type. +Object type. (ObjectPreviewType enum) Signature: diff --git a/new-docs/puppeteer.protocol.runtime.objectpreviewsubtype.md b/new-docs/puppeteer.protocol.runtime.objectpreviewsubtype.md new file mode 100644 index 0000000000000..99822968815d4 --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.objectpreviewsubtype.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [ObjectPreviewSubtype](./puppeteer.protocol.runtime.objectpreviewsubtype.md) + +## Protocol.Runtime.ObjectPreviewSubtype enum + +Signature: + +```typescript +export const enum ObjectPreviewSubtype +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Array | 'array' | | +| Date | 'date' | | +| Error | 'error' | | +| Generator | 'generator' | | +| Iterator | 'iterator' | | +| Map | 'map' | | +| Node | 'node' | | +| Null | 'null' | | +| Regexp | 'regexp' | | +| Set | 'set' | | +| Weakmap | 'weakmap' | | +| Weakset | 'weakset' | | + diff --git a/new-docs/puppeteer.protocol.runtime.objectpreviewtype.md b/new-docs/puppeteer.protocol.runtime.objectpreviewtype.md new file mode 100644 index 0000000000000..dcedfd428a28d --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.objectpreviewtype.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [ObjectPreviewType](./puppeteer.protocol.runtime.objectpreviewtype.md) + +## Protocol.Runtime.ObjectPreviewType enum + +Signature: + +```typescript +export const enum ObjectPreviewType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Bigint | 'bigint' | | +| Boolean | 'boolean' | | +| Function | 'function' | | +| Number | 'number' | | +| Object | 'object' | | +| String | 'string' | | +| Symbol | 'symbol' | | +| Undefined | 'undefined' | | + diff --git a/new-docs/puppeteer.protocol.runtime.propertypreview.md b/new-docs/puppeteer.protocol.runtime.propertypreview.md index 5b2f434cbe798..2d70aa8aa45c2 100644 --- a/new-docs/puppeteer.protocol.runtime.propertypreview.md +++ b/new-docs/puppeteer.protocol.runtime.propertypreview.md @@ -15,8 +15,8 @@ export interface PropertyPreview | Property | Type | Description | | --- | --- | --- | | [name](./puppeteer.protocol.runtime.propertypreview.name.md) | string | Property name. | -| [subtype](./puppeteer.protocol.runtime.propertypreview.subtype.md) | ('array' \| 'null' \| 'node' \| 'regexp' \| 'date' \| 'map' \| 'set' \| 'weakmap' \| 'weakset' \| 'iterator' \| 'generator' \| 'error') | Object subtype hint. Specified for object type values only. | -| [type](./puppeteer.protocol.runtime.propertypreview.type.md) | ('object' \| 'function' \| 'undefined' \| 'string' \| 'number' \| 'boolean' \| 'symbol' \| 'accessor' \| 'bigint') | Object type. Accessor means that the property itself is an accessor property. | +| [subtype](./puppeteer.protocol.runtime.propertypreview.subtype.md) | ('array' \| 'null' \| 'node' \| 'regexp' \| 'date' \| 'map' \| 'set' \| 'weakmap' \| 'weakset' \| 'iterator' \| 'generator' \| 'error') | Object subtype hint. Specified for object type values only. (PropertyPreviewSubtype enum) | +| [type](./puppeteer.protocol.runtime.propertypreview.type.md) | ('object' \| 'function' \| 'undefined' \| 'string' \| 'number' \| 'boolean' \| 'symbol' \| 'accessor' \| 'bigint') | Object type. Accessor means that the property itself is an accessor property. (PropertyPreviewType enum) | | [value](./puppeteer.protocol.runtime.propertypreview.value.md) | string | User-friendly property value string. | | [valuePreview](./puppeteer.protocol.runtime.propertypreview.valuepreview.md) | [ObjectPreview](./puppeteer.protocol.runtime.objectpreview.md) | Nested value preview. | diff --git a/new-docs/puppeteer.protocol.runtime.propertypreview.subtype.md b/new-docs/puppeteer.protocol.runtime.propertypreview.subtype.md index ed4d2b1727519..2d379e22a5903 100644 --- a/new-docs/puppeteer.protocol.runtime.propertypreview.subtype.md +++ b/new-docs/puppeteer.protocol.runtime.propertypreview.subtype.md @@ -4,7 +4,7 @@ ## Protocol.Runtime.PropertyPreview.subtype property -Object subtype hint. Specified for `object` type values only. +Object subtype hint. Specified for `object` type values only. (PropertyPreviewSubtype enum) Signature: diff --git a/new-docs/puppeteer.protocol.runtime.propertypreview.type.md b/new-docs/puppeteer.protocol.runtime.propertypreview.type.md index 8f6034e5bacf5..217125466fd41 100644 --- a/new-docs/puppeteer.protocol.runtime.propertypreview.type.md +++ b/new-docs/puppeteer.protocol.runtime.propertypreview.type.md @@ -4,7 +4,7 @@ ## Protocol.Runtime.PropertyPreview.type property -Object type. Accessor means that the property itself is an accessor property. +Object type. Accessor means that the property itself is an accessor property. (PropertyPreviewType enum) Signature: diff --git a/new-docs/puppeteer.protocol.runtime.propertypreviewsubtype.md b/new-docs/puppeteer.protocol.runtime.propertypreviewsubtype.md new file mode 100644 index 0000000000000..287635eda2e93 --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.propertypreviewsubtype.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [PropertyPreviewSubtype](./puppeteer.protocol.runtime.propertypreviewsubtype.md) + +## Protocol.Runtime.PropertyPreviewSubtype enum + +Signature: + +```typescript +export const enum PropertyPreviewSubtype +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Array | 'array' | | +| Date | 'date' | | +| Error | 'error' | | +| Generator | 'generator' | | +| Iterator | 'iterator' | | +| Map | 'map' | | +| Node | 'node' | | +| Null | 'null' | | +| Regexp | 'regexp' | | +| Set | 'set' | | +| Weakmap | 'weakmap' | | +| Weakset | 'weakset' | | + diff --git a/new-docs/puppeteer.protocol.runtime.propertypreviewtype.md b/new-docs/puppeteer.protocol.runtime.propertypreviewtype.md new file mode 100644 index 0000000000000..24ef75b8177a0 --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.propertypreviewtype.md @@ -0,0 +1,26 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [PropertyPreviewType](./puppeteer.protocol.runtime.propertypreviewtype.md) + +## Protocol.Runtime.PropertyPreviewType enum + +Signature: + +```typescript +export const enum PropertyPreviewType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Accessor | 'accessor' | | +| Bigint | 'bigint' | | +| Boolean | 'boolean' | | +| Function | 'function' | | +| Number | 'number' | | +| Object | 'object' | | +| String | 'string' | | +| Symbol | 'symbol' | | +| Undefined | 'undefined' | | + diff --git a/new-docs/puppeteer.protocol.runtime.remoteobject.md b/new-docs/puppeteer.protocol.runtime.remoteobject.md index 2a723f2d3c524..688e466ad104e 100644 --- a/new-docs/puppeteer.protocol.runtime.remoteobject.md +++ b/new-docs/puppeteer.protocol.runtime.remoteobject.md @@ -21,8 +21,8 @@ export interface RemoteObject | [description](./puppeteer.protocol.runtime.remoteobject.description.md) | string | String representation of the object. | | [objectId](./puppeteer.protocol.runtime.remoteobject.objectid.md) | [RemoteObjectId](./puppeteer.protocol.runtime.remoteobjectid.md) | Unique object identifier (for non-primitive values). | | [preview](./puppeteer.protocol.runtime.remoteobject.preview.md) | [ObjectPreview](./puppeteer.protocol.runtime.objectpreview.md) | Preview containing abbreviated property values. Specified for object type values only. | -| [subtype](./puppeteer.protocol.runtime.remoteobject.subtype.md) | ('array' \| 'null' \| 'node' \| 'regexp' \| 'date' \| 'map' \| 'set' \| 'weakmap' \| 'weakset' \| 'iterator' \| 'generator' \| 'error' \| 'proxy' \| 'promise' \| 'typedarray' \| 'arraybuffer' \| 'dataview' \| 'i32' \| 'i64' \| 'f32' \| 'f64' \| 'v128' \| 'anyref') | Object subtype hint. Specified for object or wasm type values only. | -| [type](./puppeteer.protocol.runtime.remoteobject.type.md) | ('object' \| 'function' \| 'undefined' \| 'string' \| 'number' \| 'boolean' \| 'symbol' \| 'bigint' \| 'wasm') | Object type. | +| [subtype](./puppeteer.protocol.runtime.remoteobject.subtype.md) | ('array' \| 'null' \| 'node' \| 'regexp' \| 'date' \| 'map' \| 'set' \| 'weakmap' \| 'weakset' \| 'iterator' \| 'generator' \| 'error' \| 'proxy' \| 'promise' \| 'typedarray' \| 'arraybuffer' \| 'dataview' \| 'i32' \| 'i64' \| 'f32' \| 'f64' \| 'v128' \| 'externref') | Object subtype hint. Specified for object or wasm type values only. (RemoteObjectSubtype enum) | +| [type](./puppeteer.protocol.runtime.remoteobject.type.md) | ('object' \| 'function' \| 'undefined' \| 'string' \| 'number' \| 'boolean' \| 'symbol' \| 'bigint' \| 'wasm') | Object type. (RemoteObjectType enum) | | [unserializableValue](./puppeteer.protocol.runtime.remoteobject.unserializablevalue.md) | [UnserializableValue](./puppeteer.protocol.runtime.unserializablevalue.md) | Primitive value which can not be JSON-stringified does not have value, but gets this property. | | [value](./puppeteer.protocol.runtime.remoteobject.value.md) | any | Remote object value in case of primitive values or JSON values (if it was requested). | diff --git a/new-docs/puppeteer.protocol.runtime.remoteobject.subtype.md b/new-docs/puppeteer.protocol.runtime.remoteobject.subtype.md index f31f791d89eca..a3d8f4aefe8a1 100644 --- a/new-docs/puppeteer.protocol.runtime.remoteobject.subtype.md +++ b/new-docs/puppeteer.protocol.runtime.remoteobject.subtype.md @@ -4,10 +4,10 @@ ## Protocol.Runtime.RemoteObject.subtype property -Object subtype hint. Specified for `object` or `wasm` type values only. +Object subtype hint. Specified for `object` or `wasm` type values only. (RemoteObjectSubtype enum) Signature: ```typescript -subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'i32' | 'i64' | 'f32' | 'f64' | 'v128' | 'anyref'); +subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'i32' | 'i64' | 'f32' | 'f64' | 'v128' | 'externref'); ``` diff --git a/new-docs/puppeteer.protocol.runtime.remoteobject.type.md b/new-docs/puppeteer.protocol.runtime.remoteobject.type.md index 557fee1aaadfa..14674cc707969 100644 --- a/new-docs/puppeteer.protocol.runtime.remoteobject.type.md +++ b/new-docs/puppeteer.protocol.runtime.remoteobject.type.md @@ -4,7 +4,7 @@ ## Protocol.Runtime.RemoteObject.type property -Object type. +Object type. (RemoteObjectType enum) Signature: diff --git a/new-docs/puppeteer.protocol.runtime.remoteobjectsubtype.md b/new-docs/puppeteer.protocol.runtime.remoteobjectsubtype.md new file mode 100644 index 0000000000000..3473e06d16d02 --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.remoteobjectsubtype.md @@ -0,0 +1,40 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [RemoteObjectSubtype](./puppeteer.protocol.runtime.remoteobjectsubtype.md) + +## Protocol.Runtime.RemoteObjectSubtype enum + +Signature: + +```typescript +export const enum RemoteObjectSubtype +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Array | 'array' | | +| Arraybuffer | 'arraybuffer' | | +| Dataview | 'dataview' | | +| Date | 'date' | | +| Error | 'error' | | +| Externref | 'externref' | | +| F32 | 'f32' | | +| F64 | 'f64' | | +| Generator | 'generator' | | +| I32 | 'i32' | | +| I64 | 'i64' | | +| Iterator | 'iterator' | | +| Map | 'map' | | +| Node | 'node' | | +| Null | 'null' | | +| Promise | 'promise' | | +| Proxy | 'proxy' | | +| Regexp | 'regexp' | | +| Set | 'set' | | +| Typedarray | 'typedarray' | | +| V128 | 'v128' | | +| Weakmap | 'weakmap' | | +| Weakset | 'weakset' | | + diff --git a/new-docs/puppeteer.protocol.runtime.remoteobjecttype.md b/new-docs/puppeteer.protocol.runtime.remoteobjecttype.md new file mode 100644 index 0000000000000..88f606bdf175f --- /dev/null +++ b/new-docs/puppeteer.protocol.runtime.remoteobjecttype.md @@ -0,0 +1,26 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [RemoteObjectType](./puppeteer.protocol.runtime.remoteobjecttype.md) + +## Protocol.Runtime.RemoteObjectType enum + +Signature: + +```typescript +export const enum RemoteObjectType +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| Bigint | 'bigint' | | +| Boolean | 'boolean' | | +| Function | 'function' | | +| Number | 'number' | | +| Object | 'object' | | +| String | 'string' | | +| Symbol | 'symbol' | | +| Undefined | 'undefined' | | +| Wasm | 'wasm' | | + diff --git a/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.md b/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.md index 4b944e0ce575e..bfe171d7b2ac4 100644 --- a/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.md +++ b/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.md @@ -15,4 +15,6 @@ export interface CreateBrowserContextRequest | Property | Type | Description | | --- | --- | --- | | [disposeOnDetach](./puppeteer.protocol.target.createbrowsercontextrequest.disposeondetach.md) | boolean | If specified, disposes this context when debugging session disconnects. | +| [proxyBypassList](./puppeteer.protocol.target.createbrowsercontextrequest.proxybypasslist.md) | string | Proxy bypass list, similar to the one passed to --proxy-bypass-list | +| [proxyServer](./puppeteer.protocol.target.createbrowsercontextrequest.proxyserver.md) | string | Proxy server, similar to the one passed to --proxy-server | diff --git a/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxybypasslist.md b/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxybypasslist.md new file mode 100644 index 0000000000000..51c65b3d8d9b5 --- /dev/null +++ b/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxybypasslist.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Target](./puppeteer.protocol.target.md) > [CreateBrowserContextRequest](./puppeteer.protocol.target.createbrowsercontextrequest.md) > [proxyBypassList](./puppeteer.protocol.target.createbrowsercontextrequest.proxybypasslist.md) + +## Protocol.Target.CreateBrowserContextRequest.proxyBypassList property + +Proxy bypass list, similar to the one passed to --proxy-bypass-list + +Signature: + +```typescript +proxyBypassList?: string; +``` diff --git a/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxyserver.md b/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxyserver.md new file mode 100644 index 0000000000000..fd952fcba6804 --- /dev/null +++ b/new-docs/puppeteer.protocol.target.createbrowsercontextrequest.proxyserver.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Target](./puppeteer.protocol.target.md) > [CreateBrowserContextRequest](./puppeteer.protocol.target.createbrowsercontextrequest.md) > [proxyServer](./puppeteer.protocol.target.createbrowsercontextrequest.proxyserver.md) + +## Protocol.Target.CreateBrowserContextRequest.proxyServer property + +Proxy server, similar to the one passed to --proxy-server + +Signature: + +```typescript +proxyServer?: string; +``` diff --git a/new-docs/puppeteer.protocol.tracing.md b/new-docs/puppeteer.protocol.tracing.md index fa987303ea0dd..012bd6b4d4b61 100644 --- a/new-docs/puppeteer.protocol.tracing.md +++ b/new-docs/puppeteer.protocol.tracing.md @@ -10,6 +10,13 @@ export namespace Tracing ``` +## Enumerations + +| Enumeration | Description | +| --- | --- | +| [StartRequestTransferMode](./puppeteer.protocol.tracing.startrequesttransfermode.md) | | +| [TraceConfigRecordMode](./puppeteer.protocol.tracing.traceconfigrecordmode.md) | | + ## Interfaces | Interface | Description | diff --git a/new-docs/puppeteer.protocol.tracing.startrequest.md b/new-docs/puppeteer.protocol.tracing.startrequest.md index ca193287cd5ad..3978e4c794aba 100644 --- a/new-docs/puppeteer.protocol.tracing.startrequest.md +++ b/new-docs/puppeteer.protocol.tracing.startrequest.md @@ -20,5 +20,5 @@ export interface StartRequest | [streamCompression](./puppeteer.protocol.tracing.startrequest.streamcompression.md) | [StreamCompression](./puppeteer.protocol.tracing.streamcompression.md) | Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none) | | [streamFormat](./puppeteer.protocol.tracing.startrequest.streamformat.md) | [StreamFormat](./puppeteer.protocol.tracing.streamformat.md) | Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json). | | [traceConfig](./puppeteer.protocol.tracing.startrequest.traceconfig.md) | [TraceConfig](./puppeteer.protocol.tracing.traceconfig.md) | | -| [transferMode](./puppeteer.protocol.tracing.startrequest.transfermode.md) | ('ReportEvents' \| 'ReturnAsStream') | Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents). | +| [transferMode](./puppeteer.protocol.tracing.startrequest.transfermode.md) | ('ReportEvents' \| 'ReturnAsStream') | Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents). (StartRequestTransferMode enum) | diff --git a/new-docs/puppeteer.protocol.tracing.startrequest.transfermode.md b/new-docs/puppeteer.protocol.tracing.startrequest.transfermode.md index 7809ac1f56ef8..cd5b07b8c4f01 100644 --- a/new-docs/puppeteer.protocol.tracing.startrequest.transfermode.md +++ b/new-docs/puppeteer.protocol.tracing.startrequest.transfermode.md @@ -4,7 +4,7 @@ ## Protocol.Tracing.StartRequest.transferMode property -Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to `ReportEvents`). +Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to `ReportEvents`). (StartRequestTransferMode enum) Signature: diff --git a/new-docs/puppeteer.protocol.tracing.startrequesttransfermode.md b/new-docs/puppeteer.protocol.tracing.startrequesttransfermode.md new file mode 100644 index 0000000000000..20238e5b8e472 --- /dev/null +++ b/new-docs/puppeteer.protocol.tracing.startrequesttransfermode.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Tracing](./puppeteer.protocol.tracing.md) > [StartRequestTransferMode](./puppeteer.protocol.tracing.startrequesttransfermode.md) + +## Protocol.Tracing.StartRequestTransferMode enum + +Signature: + +```typescript +export const enum StartRequestTransferMode +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| ReportEvents | 'ReportEvents' | | +| ReturnAsStream | 'ReturnAsStream' | | + diff --git a/new-docs/puppeteer.protocol.tracing.traceconfig.md b/new-docs/puppeteer.protocol.tracing.traceconfig.md index da00d7763a3b8..b2825d6206387 100644 --- a/new-docs/puppeteer.protocol.tracing.traceconfig.md +++ b/new-docs/puppeteer.protocol.tracing.traceconfig.md @@ -20,6 +20,6 @@ export interface TraceConfig | [excludedCategories](./puppeteer.protocol.tracing.traceconfig.excludedcategories.md) | string\[\] | Excluded category filters. | | [includedCategories](./puppeteer.protocol.tracing.traceconfig.includedcategories.md) | string\[\] | Included category filters. | | [memoryDumpConfig](./puppeteer.protocol.tracing.traceconfig.memorydumpconfig.md) | [MemoryDumpConfig](./puppeteer.protocol.tracing.memorydumpconfig.md) | Configuration for memory dump triggers. Used only when "memory-infra" category is enabled. | -| [recordMode](./puppeteer.protocol.tracing.traceconfig.recordmode.md) | ('recordUntilFull' \| 'recordContinuously' \| 'recordAsMuchAsPossible' \| 'echoToConsole') | Controls how the trace buffer stores data. | +| [recordMode](./puppeteer.protocol.tracing.traceconfig.recordmode.md) | ('recordUntilFull' \| 'recordContinuously' \| 'recordAsMuchAsPossible' \| 'echoToConsole') | Controls how the trace buffer stores data. (TraceConfigRecordMode enum) | | [syntheticDelays](./puppeteer.protocol.tracing.traceconfig.syntheticdelays.md) | string\[\] | Configuration to synthesize the delays in tracing. | diff --git a/new-docs/puppeteer.protocol.tracing.traceconfig.recordmode.md b/new-docs/puppeteer.protocol.tracing.traceconfig.recordmode.md index 9a82f3023a515..46294010fd973 100644 --- a/new-docs/puppeteer.protocol.tracing.traceconfig.recordmode.md +++ b/new-docs/puppeteer.protocol.tracing.traceconfig.recordmode.md @@ -4,7 +4,7 @@ ## Protocol.Tracing.TraceConfig.recordMode property -Controls how the trace buffer stores data. +Controls how the trace buffer stores data. (TraceConfigRecordMode enum) Signature: diff --git a/new-docs/puppeteer.protocol.tracing.traceconfigrecordmode.md b/new-docs/puppeteer.protocol.tracing.traceconfigrecordmode.md new file mode 100644 index 0000000000000..81cc922365bf5 --- /dev/null +++ b/new-docs/puppeteer.protocol.tracing.traceconfigrecordmode.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Tracing](./puppeteer.protocol.tracing.md) > [TraceConfigRecordMode](./puppeteer.protocol.tracing.traceconfigrecordmode.md) + +## Protocol.Tracing.TraceConfigRecordMode enum + +Signature: + +```typescript +export const enum TraceConfigRecordMode +``` + +## Enumeration Members + +| Member | Value | Description | +| --- | --- | --- | +| EchoToConsole | 'echoToConsole' | | +| RecordAsMuchAsPossible | 'recordAsMuchAsPossible' | | +| RecordContinuously | 'recordContinuously' | | +| RecordUntilFull | 'recordUntilFull' | | + diff --git a/package.json b/package.json index 959c3ddf19481..29e17e77379a8 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "license": "Apache-2.0", "dependencies": { "debug": "^4.1.0", - "devtools-protocol": "0.0.767361", + "devtools-protocol": "0.0.781568", "extract-zip": "^2.0.0", "https-proxy-agent": "^4.0.0", "mime": "^2.0.3", diff --git a/src/revisions.ts b/src/revisions.ts index 00166b52a2193..6abbef8dede8a 100644 --- a/src/revisions.ts +++ b/src/revisions.ts @@ -20,6 +20,6 @@ type Revisions = Readonly<{ }>; export const PUPPETEER_REVISIONS: Revisions = { - chromium: '768783', + chromium: '782078', firefox: 'latest', }; diff --git a/test/cookies.spec.ts b/test/cookies.spec.ts index ac57ce22245d2..27edbd5ad8141 100644 --- a/test/cookies.spec.ts +++ b/test/cookies.spec.ts @@ -406,9 +406,7 @@ describe('Cookie specs', () => { expect(await page.evaluate('document.cookie')).toBe( 'localhost-cookie=best' ); - expect(await page.frames()[1].evaluate('document.cookie')).toBe( - '127-cookie=worst' - ); + expect(await page.frames()[1].evaluate('document.cookie')).toBe(''); expect(await page.cookies()).toEqual([ { diff --git a/test/elementhandle.spec.ts b/test/elementhandle.spec.ts index 79d3225196da5..63f065352cbae 100644 --- a/test/elementhandle.spec.ts +++ b/test/elementhandle.spec.ts @@ -49,7 +49,7 @@ describe('ElementHandle specs', function () { const elementHandle = await nestedFrame.$('div'); const box = await elementHandle.boundingBox(); if (isChrome) - expect(box).toEqual({ x: 28, y: 260, width: 264, height: 18 }); + expect(box).toEqual({ x: 28, y: 182, width: 264, height: 18 }); else expect(box).toEqual({ x: 28, y: 182, width: 254, height: 18 }); }); it('should return null for invisible elements', async () => { diff --git a/utils/check_availability.js b/utils/check_availability.js index 86e2f034ebcde..d706c70bb9ddd 100755 --- a/utils/check_availability.js +++ b/utils/check_availability.js @@ -18,7 +18,8 @@ const assert = require('assert'); const https = require('https'); // run `npm run dev-install` if lib dir is missing -const BrowserFetcher = require('../lib/cjs/node/BrowserFetcher').BrowserFetcher; +const BrowserFetcher = require('../lib/cjs/puppeteer/node/BrowserFetcher.js') + .BrowserFetcher; const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64']; const fetchers = SUPPORTER_PLATFORMS.map( @@ -163,7 +164,7 @@ async function checkRollCandidate() { 10 ); const currentRevision = parseInt( - require('../lib/cjs/revisions').PUPPETEER_REVISIONS.chromium, + require('../lib/cjs/puppeteer/revisions').PUPPETEER_REVISIONS.chromium, 10 );