12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115 |
- /**********************************************************************
- * Auto-generated by protocol-dts-generator.ts, do not edit manually. *
- **********************************************************************/
-
- import Protocol from './protocol'
-
- /**
- * Mappings from protocol event and command names to the types required for them.
- */
- export namespace ProtocolMapping {
- export interface Events {
- /**
- * Issued when new console message is added.
- */
- 'Console.messageAdded': [Protocol.Console.MessageAddedEvent];
- /**
- * Fired when breakpoint is resolved to an actual script and location.
- */
- 'Debugger.breakpointResolved': [Protocol.Debugger.BreakpointResolvedEvent];
- /**
- * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
- */
- 'Debugger.paused': [Protocol.Debugger.PausedEvent];
- /**
- * Fired when the virtual machine resumed execution.
- */
- 'Debugger.resumed': [];
- /**
- * Fired when virtual machine fails to parse the script.
- */
- 'Debugger.scriptFailedToParse': [Protocol.Debugger.ScriptFailedToParseEvent];
- /**
- * Fired when virtual machine parses script. This event is also fired for all known and uncollected
- * scripts upon enabling debugger.
- */
- 'Debugger.scriptParsed': [Protocol.Debugger.ScriptParsedEvent];
- 'HeapProfiler.addHeapSnapshotChunk': [Protocol.HeapProfiler.AddHeapSnapshotChunkEvent];
- /**
- * If heap objects tracking has been started then backend may send update for one or more fragments
- */
- 'HeapProfiler.heapStatsUpdate': [Protocol.HeapProfiler.HeapStatsUpdateEvent];
- /**
- * If heap objects tracking has been started then backend regularly sends a current value for last
- * seen object id and corresponding timestamp. If the were changes in the heap since last event
- * then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
- */
- 'HeapProfiler.lastSeenObjectId': [Protocol.HeapProfiler.LastSeenObjectIdEvent];
- 'HeapProfiler.reportHeapSnapshotProgress': [Protocol.HeapProfiler.ReportHeapSnapshotProgressEvent];
- 'HeapProfiler.resetProfiles': [];
- 'Profiler.consoleProfileFinished': [Protocol.Profiler.ConsoleProfileFinishedEvent];
- /**
- * Sent when new profile recording is started using console.profile() call.
- */
- 'Profiler.consoleProfileStarted': [Protocol.Profiler.ConsoleProfileStartedEvent];
- /**
- * Reports coverage delta since the last poll (either from an event like this, or from
- * `takePreciseCoverage` for the current isolate. May only be sent if precise code
- * coverage has been started. This event can be trigged by the embedder to, for example,
- * trigger collection of coverage data immediatelly at a certain point in time.
- */
- 'Profiler.preciseCoverageDeltaUpdate': [Protocol.Profiler.PreciseCoverageDeltaUpdateEvent];
- /**
- * Notification is issued every time when binding is called.
- */
- 'Runtime.bindingCalled': [Protocol.Runtime.BindingCalledEvent];
- /**
- * Issued when console API was called.
- */
- 'Runtime.consoleAPICalled': [Protocol.Runtime.ConsoleAPICalledEvent];
- /**
- * Issued when unhandled exception was revoked.
- */
- 'Runtime.exceptionRevoked': [Protocol.Runtime.ExceptionRevokedEvent];
- /**
- * Issued when exception was thrown and unhandled.
- */
- 'Runtime.exceptionThrown': [Protocol.Runtime.ExceptionThrownEvent];
- /**
- * Issued when new execution context is created.
- */
- 'Runtime.executionContextCreated': [Protocol.Runtime.ExecutionContextCreatedEvent];
- /**
- * Issued when execution context is destroyed.
- */
- 'Runtime.executionContextDestroyed': [Protocol.Runtime.ExecutionContextDestroyedEvent];
- /**
- * Issued when all executionContexts were cleared in browser
- */
- 'Runtime.executionContextsCleared': [];
- /**
- * Issued when object should be inspected (for example, as a result of inspect() command line API
- * call).
- */
- 'Runtime.inspectRequested': [Protocol.Runtime.InspectRequestedEvent];
- /**
- * Event for when an animation has been cancelled.
- */
- 'Animation.animationCanceled': [Protocol.Animation.AnimationCanceledEvent];
- /**
- * Event for each animation that has been created.
- */
- 'Animation.animationCreated': [Protocol.Animation.AnimationCreatedEvent];
- /**
- * Event for animation that has been started.
- */
- 'Animation.animationStarted': [Protocol.Animation.AnimationStartedEvent];
- 'ApplicationCache.applicationCacheStatusUpdated': [Protocol.ApplicationCache.ApplicationCacheStatusUpdatedEvent];
- 'ApplicationCache.networkStateUpdated': [Protocol.ApplicationCache.NetworkStateUpdatedEvent];
- 'Audits.issueAdded': [Protocol.Audits.IssueAddedEvent];
- /**
- * Called when the recording state for the service has been updated.
- */
- 'BackgroundService.recordingStateChanged': [Protocol.BackgroundService.RecordingStateChangedEvent];
- /**
- * Called with all existing backgroundServiceEvents when enabled, and all new
- * events afterwards if enabled and recording.
- */
- 'BackgroundService.backgroundServiceEventReceived': [Protocol.BackgroundService.BackgroundServiceEventReceivedEvent];
- /**
- * Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
- * web font
- */
- 'CSS.fontsUpdated': [Protocol.CSS.FontsUpdatedEvent];
- /**
- * Fires whenever a MediaQuery result changes (for example, after a browser window has been
- * resized.) The current implementation considers only viewport-dependent media features.
- */
- 'CSS.mediaQueryResultChanged': [];
- /**
- * Fired whenever an active document stylesheet is added.
- */
- 'CSS.styleSheetAdded': [Protocol.CSS.StyleSheetAddedEvent];
- /**
- * Fired whenever a stylesheet is changed as a result of the client operation.
- */
- 'CSS.styleSheetChanged': [Protocol.CSS.StyleSheetChangedEvent];
- /**
- * Fired whenever an active document stylesheet is removed.
- */
- 'CSS.styleSheetRemoved': [Protocol.CSS.StyleSheetRemovedEvent];
- /**
- * This is fired whenever the list of available sinks changes. A sink is a
- * device or a software surface that you can cast to.
- */
- 'Cast.sinksUpdated': [Protocol.Cast.SinksUpdatedEvent];
- /**
- * This is fired whenever the outstanding issue/error message changes.
- * |issueMessage| is empty if there is no issue.
- */
- 'Cast.issueUpdated': [Protocol.Cast.IssueUpdatedEvent];
- /**
- * Fired when `Element`'s attribute is modified.
- */
- 'DOM.attributeModified': [Protocol.DOM.AttributeModifiedEvent];
- /**
- * Fired when `Element`'s attribute is removed.
- */
- 'DOM.attributeRemoved': [Protocol.DOM.AttributeRemovedEvent];
- /**
- * Mirrors `DOMCharacterDataModified` event.
- */
- 'DOM.characterDataModified': [Protocol.DOM.CharacterDataModifiedEvent];
- /**
- * Fired when `Container`'s child node count has changed.
- */
- 'DOM.childNodeCountUpdated': [Protocol.DOM.ChildNodeCountUpdatedEvent];
- /**
- * Mirrors `DOMNodeInserted` event.
- */
- 'DOM.childNodeInserted': [Protocol.DOM.ChildNodeInsertedEvent];
- /**
- * Mirrors `DOMNodeRemoved` event.
- */
- 'DOM.childNodeRemoved': [Protocol.DOM.ChildNodeRemovedEvent];
- /**
- * Called when distrubution is changed.
- */
- 'DOM.distributedNodesUpdated': [Protocol.DOM.DistributedNodesUpdatedEvent];
- /**
- * Fired when `Document` has been totally updated. Node ids are no longer valid.
- */
- 'DOM.documentUpdated': [];
- /**
- * Fired when `Element`'s inline style is modified via a CSS property modification.
- */
- 'DOM.inlineStyleInvalidated': [Protocol.DOM.InlineStyleInvalidatedEvent];
- /**
- * Called when a pseudo element is added to an element.
- */
- 'DOM.pseudoElementAdded': [Protocol.DOM.PseudoElementAddedEvent];
- /**
- * Called when a pseudo element is removed from an element.
- */
- 'DOM.pseudoElementRemoved': [Protocol.DOM.PseudoElementRemovedEvent];
- /**
- * Fired when backend wants to provide client with the missing DOM structure. This happens upon
- * most of the calls requesting node ids.
- */
- 'DOM.setChildNodes': [Protocol.DOM.SetChildNodesEvent];
- /**
- * Called when shadow root is popped from the element.
- */
- 'DOM.shadowRootPopped': [Protocol.DOM.ShadowRootPoppedEvent];
- /**
- * Called when shadow root is pushed into the element.
- */
- 'DOM.shadowRootPushed': [Protocol.DOM.ShadowRootPushedEvent];
- 'DOMStorage.domStorageItemAdded': [Protocol.DOMStorage.DomStorageItemAddedEvent];
- 'DOMStorage.domStorageItemRemoved': [Protocol.DOMStorage.DomStorageItemRemovedEvent];
- 'DOMStorage.domStorageItemUpdated': [Protocol.DOMStorage.DomStorageItemUpdatedEvent];
- 'DOMStorage.domStorageItemsCleared': [Protocol.DOMStorage.DomStorageItemsClearedEvent];
- 'Database.addDatabase': [Protocol.Database.AddDatabaseEvent];
- /**
- * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
- */
- 'Emulation.virtualTimeBudgetExpired': [];
- /**
- * Issued when the target starts or stops needing BeginFrames.
- * Deprecated. Issue beginFrame unconditionally instead and use result from
- * beginFrame to detect whether the frames were suppressed.
- */
- 'HeadlessExperimental.needsBeginFramesChanged': [Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent];
- /**
- * Fired when remote debugging connection is about to be terminated. Contains detach reason.
- */
- 'Inspector.detached': [Protocol.Inspector.DetachedEvent];
- /**
- * Fired when debugging target has crashed
- */
- 'Inspector.targetCrashed': [];
- /**
- * Fired when debugging target has reloaded after crash
- */
- 'Inspector.targetReloadedAfterCrash': [];
- 'LayerTree.layerPainted': [Protocol.LayerTree.LayerPaintedEvent];
- 'LayerTree.layerTreeDidChange': [Protocol.LayerTree.LayerTreeDidChangeEvent];
- /**
- * Issued when new message was logged.
- */
- 'Log.entryAdded': [Protocol.Log.EntryAddedEvent];
- /**
- * Fired when data chunk was received over the network.
- */
- 'Network.dataReceived': [Protocol.Network.DataReceivedEvent];
- /**
- * Fired when EventSource message is received.
- */
- 'Network.eventSourceMessageReceived': [Protocol.Network.EventSourceMessageReceivedEvent];
- /**
- * Fired when HTTP request has failed to load.
- */
- 'Network.loadingFailed': [Protocol.Network.LoadingFailedEvent];
- /**
- * Fired when HTTP request has finished loading.
- */
- 'Network.loadingFinished': [Protocol.Network.LoadingFinishedEvent];
- /**
- * Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
- * mocked.
- * Deprecated, use Fetch.requestPaused instead.
- */
- 'Network.requestIntercepted': [Protocol.Network.RequestInterceptedEvent];
- /**
- * Fired if request ended up loading from cache.
- */
- 'Network.requestServedFromCache': [Protocol.Network.RequestServedFromCacheEvent];
- /**
- * Fired when page is about to send HTTP request.
- */
- 'Network.requestWillBeSent': [Protocol.Network.RequestWillBeSentEvent];
- /**
- * Fired when resource loading priority is changed
- */
- 'Network.resourceChangedPriority': [Protocol.Network.ResourceChangedPriorityEvent];
- /**
- * Fired when a signed exchange was received over the network
- */
- 'Network.signedExchangeReceived': [Protocol.Network.SignedExchangeReceivedEvent];
- /**
- * Fired when HTTP response is available.
- */
- 'Network.responseReceived': [Protocol.Network.ResponseReceivedEvent];
- /**
- * Fired when WebSocket is closed.
- */
- 'Network.webSocketClosed': [Protocol.Network.WebSocketClosedEvent];
- /**
- * Fired upon WebSocket creation.
- */
- 'Network.webSocketCreated': [Protocol.Network.WebSocketCreatedEvent];
- /**
- * Fired when WebSocket message error occurs.
- */
- 'Network.webSocketFrameError': [Protocol.Network.WebSocketFrameErrorEvent];
- /**
- * Fired when WebSocket message is received.
- */
- 'Network.webSocketFrameReceived': [Protocol.Network.WebSocketFrameReceivedEvent];
- /**
- * Fired when WebSocket message is sent.
- */
- 'Network.webSocketFrameSent': [Protocol.Network.WebSocketFrameSentEvent];
- /**
- * Fired when WebSocket handshake response becomes available.
- */
- 'Network.webSocketHandshakeResponseReceived': [Protocol.Network.WebSocketHandshakeResponseReceivedEvent];
- /**
- * Fired when WebSocket is about to initiate handshake.
- */
- 'Network.webSocketWillSendHandshakeRequest': [Protocol.Network.WebSocketWillSendHandshakeRequestEvent];
- /**
- * Fired when additional information about a requestWillBeSent event is available from the
- * network stack. Not every requestWillBeSent event will have an additional
- * requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
- * or requestWillBeSentExtraInfo will be fired first for the same request.
- */
- 'Network.requestWillBeSentExtraInfo': [Protocol.Network.RequestWillBeSentExtraInfoEvent];
- /**
- * Fired when additional information about a responseReceived event is available from the network
- * stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
- * it, and responseReceivedExtraInfo may be fired before or after responseReceived.
- */
- 'Network.responseReceivedExtraInfo': [Protocol.Network.ResponseReceivedExtraInfoEvent];
- /**
- * Fired when the node should be inspected. This happens after call to `setInspectMode` or when
- * user manually inspects an element.
- */
- 'Overlay.inspectNodeRequested': [Protocol.Overlay.InspectNodeRequestedEvent];
- /**
- * Fired when the node should be highlighted. This happens after call to `setInspectMode`.
- */
- 'Overlay.nodeHighlightRequested': [Protocol.Overlay.NodeHighlightRequestedEvent];
- /**
- * Fired when user asks to capture screenshot of some area on the page.
- */
- 'Overlay.screenshotRequested': [Protocol.Overlay.ScreenshotRequestedEvent];
- /**
- * Fired when user cancels the inspect mode.
- */
- 'Overlay.inspectModeCanceled': [];
- 'Page.domContentEventFired': [Protocol.Page.DomContentEventFiredEvent];
- /**
- * Emitted only when `page.interceptFileChooser` is enabled.
- */
- 'Page.fileChooserOpened': [Protocol.Page.FileChooserOpenedEvent];
- /**
- * Fired when frame has been attached to its parent.
- */
- 'Page.frameAttached': [Protocol.Page.FrameAttachedEvent];
- /**
- * Fired when frame no longer has a scheduled navigation.
- */
- 'Page.frameClearedScheduledNavigation': [Protocol.Page.FrameClearedScheduledNavigationEvent];
- /**
- * Fired when frame has been detached from its parent.
- */
- 'Page.frameDetached': [Protocol.Page.FrameDetachedEvent];
- /**
- * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
- */
- 'Page.frameNavigated': [Protocol.Page.FrameNavigatedEvent];
- 'Page.frameResized': [];
- /**
- * Fired when a renderer-initiated navigation is requested.
- * Navigation may still be cancelled after the event is issued.
- */
- 'Page.frameRequestedNavigation': [Protocol.Page.FrameRequestedNavigationEvent];
- /**
- * Fired when frame schedules a potential navigation.
- */
- 'Page.frameScheduledNavigation': [Protocol.Page.FrameScheduledNavigationEvent];
- /**
- * Fired when frame has started loading.
- */
- 'Page.frameStartedLoading': [Protocol.Page.FrameStartedLoadingEvent];
- /**
- * Fired when frame has stopped loading.
- */
- 'Page.frameStoppedLoading': [Protocol.Page.FrameStoppedLoadingEvent];
- /**
- * Fired when page is about to start a download.
- */
- 'Page.downloadWillBegin': [Protocol.Page.DownloadWillBeginEvent];
- /**
- * Fired when download makes progress. Last call has |done| == true.
- */
- 'Page.downloadProgress': [Protocol.Page.DownloadProgressEvent];
- /**
- * Fired when interstitial page was hidden
- */
- 'Page.interstitialHidden': [];
- /**
- * Fired when interstitial page was shown
- */
- 'Page.interstitialShown': [];
- /**
- * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
- * closed.
- */
- 'Page.javascriptDialogClosed': [Protocol.Page.JavascriptDialogClosedEvent];
- /**
- * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
- * open.
- */
- 'Page.javascriptDialogOpening': [Protocol.Page.JavascriptDialogOpeningEvent];
- /**
- * Fired for top level page lifecycle events such as navigation, load, paint, etc.
- */
- 'Page.lifecycleEvent': [Protocol.Page.LifecycleEventEvent];
- 'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
- /**
- * Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
- */
- 'Page.navigatedWithinDocument': [Protocol.Page.NavigatedWithinDocumentEvent];
- /**
- * Compressed image data requested by the `startScreencast`.
- */
- 'Page.screencastFrame': [Protocol.Page.ScreencastFrameEvent];
- /**
- * Fired when the page with currently enabled screencast was shown or hidden `.
- */
- 'Page.screencastVisibilityChanged': [Protocol.Page.ScreencastVisibilityChangedEvent];
- /**
- * Fired when a new window is going to be opened, via window.open(), link click, form submission,
- * etc.
- */
- 'Page.windowOpen': [Protocol.Page.WindowOpenEvent];
- /**
- * Issued for every compilation cache generated. Is only available
- * if Page.setGenerateCompilationCache is enabled.
- */
- 'Page.compilationCacheProduced': [Protocol.Page.CompilationCacheProducedEvent];
- /**
- * Current values of the metrics.
- */
- 'Performance.metrics': [Protocol.Performance.MetricsEvent];
- /**
- * There is a certificate error. If overriding certificate errors is enabled, then it should be
- * handled with the `handleCertificateError` command. Note: this event does not fire if the
- * certificate error has been allowed internally. Only one client per target should override
- * certificate errors at the same time.
- */
- 'Security.certificateError': [Protocol.Security.CertificateErrorEvent];
- /**
- * The security state of the page changed.
- */
- 'Security.visibleSecurityStateChanged': [Protocol.Security.VisibleSecurityStateChangedEvent];
- /**
- * The security state of the page changed.
- */
- 'Security.securityStateChanged': [Protocol.Security.SecurityStateChangedEvent];
- 'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
- 'ServiceWorker.workerRegistrationUpdated': [Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent];
- 'ServiceWorker.workerVersionUpdated': [Protocol.ServiceWorker.WorkerVersionUpdatedEvent];
- /**
- * A cache's contents have been modified.
- */
- 'Storage.cacheStorageContentUpdated': [Protocol.Storage.CacheStorageContentUpdatedEvent];
- /**
- * A cache has been added/deleted.
- */
- 'Storage.cacheStorageListUpdated': [Protocol.Storage.CacheStorageListUpdatedEvent];
- /**
- * The origin's IndexedDB object store has been modified.
- */
- 'Storage.indexedDBContentUpdated': [Protocol.Storage.IndexedDBContentUpdatedEvent];
- /**
- * The origin's IndexedDB database list has been modified.
- */
- 'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
- /**
- * Issued when attached to target because of auto-attach or `attachToTarget` command.
- */
- 'Target.attachedToTarget': [Protocol.Target.AttachedToTargetEvent];
- /**
- * Issued when detached from target for any reason (including `detachFromTarget` command). Can be
- * issued multiple times per target if multiple sessions have been attached to it.
- */
- 'Target.detachedFromTarget': [Protocol.Target.DetachedFromTargetEvent];
- /**
- * Notifies about a new protocol message received from the session (as reported in
- * `attachedToTarget` event).
- */
- 'Target.receivedMessageFromTarget': [Protocol.Target.ReceivedMessageFromTargetEvent];
- /**
- * Issued when a possible inspection target is created.
- */
- 'Target.targetCreated': [Protocol.Target.TargetCreatedEvent];
- /**
- * Issued when a target is destroyed.
- */
- 'Target.targetDestroyed': [Protocol.Target.TargetDestroyedEvent];
- /**
- * Issued when a target has crashed.
- */
- 'Target.targetCrashed': [Protocol.Target.TargetCrashedEvent];
- /**
- * Issued when some information about a target has changed. This only happens between
- * `targetCreated` and `targetDestroyed`.
- */
- 'Target.targetInfoChanged': [Protocol.Target.TargetInfoChangedEvent];
- /**
- * Informs that port was successfully bound and got a specified connection id.
- */
- 'Tethering.accepted': [Protocol.Tethering.AcceptedEvent];
- 'Tracing.bufferUsage': [Protocol.Tracing.BufferUsageEvent];
- /**
- * Contains an bucket of collected trace events. When tracing is stopped collected events will be
- * send as a sequence of dataCollected events followed by tracingComplete event.
- */
- 'Tracing.dataCollected': [Protocol.Tracing.DataCollectedEvent];
- /**
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
- * delivered via dataCollected events.
- */
- 'Tracing.tracingComplete': [Protocol.Tracing.TracingCompleteEvent];
- /**
- * Issued when the domain is enabled and the request URL matches the
- * specified filter. The request is paused until the client responds
- * with one of continueRequest, failRequest or fulfillRequest.
- * The stage of the request can be determined by presence of responseErrorReason
- * and responseStatusCode -- the request is at the response stage if either
- * of these fields is present and in the request stage otherwise.
- */
- 'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
- /**
- * Issued when the domain is enabled with handleAuthRequests set to true.
- * The request is paused until client responds with continueWithAuth.
- */
- 'Fetch.authRequired': [Protocol.Fetch.AuthRequiredEvent];
- /**
- * Notifies that a new BaseAudioContext has been created.
- */
- 'WebAudio.contextCreated': [Protocol.WebAudio.ContextCreatedEvent];
- /**
- * Notifies that an existing BaseAudioContext will be destroyed.
- */
- 'WebAudio.contextWillBeDestroyed': [Protocol.WebAudio.ContextWillBeDestroyedEvent];
- /**
- * Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
- */
- 'WebAudio.contextChanged': [Protocol.WebAudio.ContextChangedEvent];
- /**
- * Notifies that the construction of an AudioListener has finished.
- */
- 'WebAudio.audioListenerCreated': [Protocol.WebAudio.AudioListenerCreatedEvent];
- /**
- * Notifies that a new AudioListener has been created.
- */
- 'WebAudio.audioListenerWillBeDestroyed': [Protocol.WebAudio.AudioListenerWillBeDestroyedEvent];
- /**
- * Notifies that a new AudioNode has been created.
- */
- 'WebAudio.audioNodeCreated': [Protocol.WebAudio.AudioNodeCreatedEvent];
- /**
- * Notifies that an existing AudioNode has been destroyed.
- */
- 'WebAudio.audioNodeWillBeDestroyed': [Protocol.WebAudio.AudioNodeWillBeDestroyedEvent];
- /**
- * Notifies that a new AudioParam has been created.
- */
- 'WebAudio.audioParamCreated': [Protocol.WebAudio.AudioParamCreatedEvent];
- /**
- * Notifies that an existing AudioParam has been destroyed.
- */
- 'WebAudio.audioParamWillBeDestroyed': [Protocol.WebAudio.AudioParamWillBeDestroyedEvent];
- /**
- * Notifies that two AudioNodes are connected.
- */
- 'WebAudio.nodesConnected': [Protocol.WebAudio.NodesConnectedEvent];
- /**
- * Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
- */
- 'WebAudio.nodesDisconnected': [Protocol.WebAudio.NodesDisconnectedEvent];
- /**
- * Notifies that an AudioNode is connected to an AudioParam.
- */
- 'WebAudio.nodeParamConnected': [Protocol.WebAudio.NodeParamConnectedEvent];
- /**
- * Notifies that an AudioNode is disconnected to an AudioParam.
- */
- 'WebAudio.nodeParamDisconnected': [Protocol.WebAudio.NodeParamDisconnectedEvent];
- /**
- * This can be called multiple times, and can be used to set / override /
- * remove player properties. A null propValue indicates removal.
- */
- 'Media.playerPropertiesChanged': [Protocol.Media.PlayerPropertiesChangedEvent];
- /**
- * Send events as a list, allowing them to be batched on the browser for less
- * congestion. If batched, events must ALWAYS be in chronological order.
- */
- 'Media.playerEventsAdded': [Protocol.Media.PlayerEventsAddedEvent];
- /**
- * Send a list of any messages that need to be delivered.
- */
- 'Media.playerMessagesLogged': [Protocol.Media.PlayerMessagesLoggedEvent];
- /**
- * Send a list of any errors that need to be delivered.
- */
- 'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
- /**
- * Called whenever a player is created, or when a new agent joins and recieves
- * a list of active players. If an agent is restored, it will recieve the full
- * list of player ids and all events again.
- */
- 'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
- }
-
- export interface Commands {
- /**
- * Does nothing.
- */
- 'Console.clearMessages': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disables console domain, prevents further console messages from being reported to the client.
- */
- 'Console.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables console domain, sends the messages collected so far to the client by means of the
- * `messageAdded` notification.
- */
- 'Console.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Continues execution until specific location is reached.
- */
- 'Debugger.continueToLocation': {
- paramsType: [Protocol.Debugger.ContinueToLocationRequest];
- returnType: void;
- };
- /**
- * Disables debugger for given page.
- */
- 'Debugger.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables debugger for the given page. Clients should not assume that the debugging has been
- * enabled until the result for this command is received.
- */
- 'Debugger.enable': {
- paramsType: [Protocol.Debugger.EnableRequest?];
- returnType: Protocol.Debugger.EnableResponse;
- };
- /**
- * Evaluates expression on a given call frame.
- */
- 'Debugger.evaluateOnCallFrame': {
- paramsType: [Protocol.Debugger.EvaluateOnCallFrameRequest];
- returnType: Protocol.Debugger.EvaluateOnCallFrameResponse;
- };
- /**
- * Execute a Wasm Evaluator module on a given call frame.
- */
- 'Debugger.executeWasmEvaluator': {
- paramsType: [Protocol.Debugger.ExecuteWasmEvaluatorRequest];
- returnType: Protocol.Debugger.ExecuteWasmEvaluatorResponse;
- };
- /**
- * Returns possible locations for breakpoint. scriptId in start and end range locations should be
- * the same.
- */
- 'Debugger.getPossibleBreakpoints': {
- paramsType: [Protocol.Debugger.GetPossibleBreakpointsRequest];
- returnType: Protocol.Debugger.GetPossibleBreakpointsResponse;
- };
- /**
- * Returns source for the script with given id.
- */
- 'Debugger.getScriptSource': {
- paramsType: [Protocol.Debugger.GetScriptSourceRequest];
- returnType: Protocol.Debugger.GetScriptSourceResponse;
- };
- /**
- * This command is deprecated. Use getScriptSource instead.
- */
- 'Debugger.getWasmBytecode': {
- paramsType: [Protocol.Debugger.GetWasmBytecodeRequest];
- returnType: Protocol.Debugger.GetWasmBytecodeResponse;
- };
- /**
- * Returns stack trace with given `stackTraceId`.
- */
- 'Debugger.getStackTrace': {
- paramsType: [Protocol.Debugger.GetStackTraceRequest];
- returnType: Protocol.Debugger.GetStackTraceResponse;
- };
- /**
- * Stops on the next JavaScript statement.
- */
- 'Debugger.pause': {
- paramsType: [];
- returnType: void;
- };
- 'Debugger.pauseOnAsyncCall': {
- paramsType: [Protocol.Debugger.PauseOnAsyncCallRequest];
- returnType: void;
- };
- /**
- * Removes JavaScript breakpoint.
- */
- 'Debugger.removeBreakpoint': {
- paramsType: [Protocol.Debugger.RemoveBreakpointRequest];
- returnType: void;
- };
- /**
- * Restarts particular call frame from the beginning.
- */
- 'Debugger.restartFrame': {
- paramsType: [Protocol.Debugger.RestartFrameRequest];
- returnType: Protocol.Debugger.RestartFrameResponse;
- };
- /**
- * Resumes JavaScript execution.
- */
- 'Debugger.resume': {
- paramsType: [Protocol.Debugger.ResumeRequest?];
- returnType: void;
- };
- /**
- * Searches for given string in script content.
- */
- 'Debugger.searchInContent': {
- paramsType: [Protocol.Debugger.SearchInContentRequest];
- returnType: Protocol.Debugger.SearchInContentResponse;
- };
- /**
- * Enables or disables async call stacks tracking.
- */
- 'Debugger.setAsyncCallStackDepth': {
- paramsType: [Protocol.Debugger.SetAsyncCallStackDepthRequest];
- returnType: void;
- };
- /**
- * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
- * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
- * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
- */
- 'Debugger.setBlackboxPatterns': {
- paramsType: [Protocol.Debugger.SetBlackboxPatternsRequest];
- returnType: void;
- };
- /**
- * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
- * scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
- * Positions array contains positions where blackbox state is changed. First interval isn't
- * blackboxed. Array should be sorted.
- */
- 'Debugger.setBlackboxedRanges': {
- paramsType: [Protocol.Debugger.SetBlackboxedRangesRequest];
- returnType: void;
- };
- /**
- * Sets JavaScript breakpoint at a given location.
- */
- 'Debugger.setBreakpoint': {
- paramsType: [Protocol.Debugger.SetBreakpointRequest];
- returnType: Protocol.Debugger.SetBreakpointResponse;
- };
- /**
- * Sets instrumentation breakpoint.
- */
- 'Debugger.setInstrumentationBreakpoint': {
- paramsType: [Protocol.Debugger.SetInstrumentationBreakpointRequest];
- returnType: Protocol.Debugger.SetInstrumentationBreakpointResponse;
- };
- /**
- * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
- * command is issued, all existing parsed scripts will have breakpoints resolved and returned in
- * `locations` property. Further matching script parsing will result in subsequent
- * `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
- */
- 'Debugger.setBreakpointByUrl': {
- paramsType: [Protocol.Debugger.SetBreakpointByUrlRequest];
- returnType: Protocol.Debugger.SetBreakpointByUrlResponse;
- };
- /**
- * Sets JavaScript breakpoint before each call to the given function.
- * If another function was created from the same source as a given one,
- * calling it will also trigger the breakpoint.
- */
- 'Debugger.setBreakpointOnFunctionCall': {
- paramsType: [Protocol.Debugger.SetBreakpointOnFunctionCallRequest];
- returnType: Protocol.Debugger.SetBreakpointOnFunctionCallResponse;
- };
- /**
- * Activates / deactivates all breakpoints on the page.
- */
- 'Debugger.setBreakpointsActive': {
- paramsType: [Protocol.Debugger.SetBreakpointsActiveRequest];
- returnType: void;
- };
- /**
- * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
- * no exceptions. Initial pause on exceptions state is `none`.
- */
- 'Debugger.setPauseOnExceptions': {
- paramsType: [Protocol.Debugger.SetPauseOnExceptionsRequest];
- returnType: void;
- };
- /**
- * Changes return value in top frame. Available only at return break position.
- */
- 'Debugger.setReturnValue': {
- paramsType: [Protocol.Debugger.SetReturnValueRequest];
- returnType: void;
- };
- /**
- * Edits JavaScript source live.
- */
- 'Debugger.setScriptSource': {
- paramsType: [Protocol.Debugger.SetScriptSourceRequest];
- returnType: Protocol.Debugger.SetScriptSourceResponse;
- };
- /**
- * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
- */
- 'Debugger.setSkipAllPauses': {
- paramsType: [Protocol.Debugger.SetSkipAllPausesRequest];
- returnType: void;
- };
- /**
- * Changes value of variable in a callframe. Object-based scopes are not supported and must be
- * mutated manually.
- */
- 'Debugger.setVariableValue': {
- paramsType: [Protocol.Debugger.SetVariableValueRequest];
- returnType: void;
- };
- /**
- * Steps into the function call.
- */
- 'Debugger.stepInto': {
- paramsType: [Protocol.Debugger.StepIntoRequest?];
- returnType: void;
- };
- /**
- * Steps out of the function call.
- */
- 'Debugger.stepOut': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Steps over the statement.
- */
- 'Debugger.stepOver': {
- paramsType: [Protocol.Debugger.StepOverRequest?];
- returnType: void;
- };
- /**
- * Enables console to refer to the node with given id via $x (see Command Line API for more details
- * $x functions).
- */
- 'HeapProfiler.addInspectedHeapObject': {
- paramsType: [Protocol.HeapProfiler.AddInspectedHeapObjectRequest];
- returnType: void;
- };
- 'HeapProfiler.collectGarbage': {
- paramsType: [];
- returnType: void;
- };
- 'HeapProfiler.disable': {
- paramsType: [];
- returnType: void;
- };
- 'HeapProfiler.enable': {
- paramsType: [];
- returnType: void;
- };
- 'HeapProfiler.getHeapObjectId': {
- paramsType: [Protocol.HeapProfiler.GetHeapObjectIdRequest];
- returnType: Protocol.HeapProfiler.GetHeapObjectIdResponse;
- };
- 'HeapProfiler.getObjectByHeapObjectId': {
- paramsType: [Protocol.HeapProfiler.GetObjectByHeapObjectIdRequest];
- returnType: Protocol.HeapProfiler.GetObjectByHeapObjectIdResponse;
- };
- 'HeapProfiler.getSamplingProfile': {
- paramsType: [];
- returnType: Protocol.HeapProfiler.GetSamplingProfileResponse;
- };
- 'HeapProfiler.startSampling': {
- paramsType: [Protocol.HeapProfiler.StartSamplingRequest?];
- returnType: void;
- };
- 'HeapProfiler.startTrackingHeapObjects': {
- paramsType: [Protocol.HeapProfiler.StartTrackingHeapObjectsRequest?];
- returnType: void;
- };
- 'HeapProfiler.stopSampling': {
- paramsType: [];
- returnType: Protocol.HeapProfiler.StopSamplingResponse;
- };
- 'HeapProfiler.stopTrackingHeapObjects': {
- paramsType: [Protocol.HeapProfiler.StopTrackingHeapObjectsRequest?];
- returnType: void;
- };
- 'HeapProfiler.takeHeapSnapshot': {
- paramsType: [Protocol.HeapProfiler.TakeHeapSnapshotRequest?];
- returnType: void;
- };
- 'Profiler.disable': {
- paramsType: [];
- returnType: void;
- };
- 'Profiler.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Collect coverage data for the current isolate. The coverage data may be incomplete due to
- * garbage collection.
- */
- 'Profiler.getBestEffortCoverage': {
- paramsType: [];
- returnType: Protocol.Profiler.GetBestEffortCoverageResponse;
- };
- /**
- * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
- */
- 'Profiler.setSamplingInterval': {
- paramsType: [Protocol.Profiler.SetSamplingIntervalRequest];
- returnType: void;
- };
- 'Profiler.start': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
- * coverage may be incomplete. Enabling prevents running optimized code and resets execution
- * counters.
- */
- 'Profiler.startPreciseCoverage': {
- paramsType: [Protocol.Profiler.StartPreciseCoverageRequest?];
- returnType: Protocol.Profiler.StartPreciseCoverageResponse;
- };
- /**
- * Enable type profile.
- */
- 'Profiler.startTypeProfile': {
- paramsType: [];
- returnType: void;
- };
- 'Profiler.stop': {
- paramsType: [];
- returnType: Protocol.Profiler.StopResponse;
- };
- /**
- * Disable precise code coverage. Disabling releases unnecessary execution count records and allows
- * executing optimized code.
- */
- 'Profiler.stopPreciseCoverage': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disable type profile. Disabling releases type profile data collected so far.
- */
- 'Profiler.stopTypeProfile': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Collect coverage data for the current isolate, and resets execution counters. Precise code
- * coverage needs to have started.
- */
- 'Profiler.takePreciseCoverage': {
- paramsType: [];
- returnType: Protocol.Profiler.TakePreciseCoverageResponse;
- };
- /**
- * Collect type profile.
- */
- 'Profiler.takeTypeProfile': {
- paramsType: [];
- returnType: Protocol.Profiler.TakeTypeProfileResponse;
- };
- /**
- * Enable counters collection.
- */
- 'Profiler.enableCounters': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disable counters collection.
- */
- 'Profiler.disableCounters': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Retrieve counters.
- */
- 'Profiler.getCounters': {
- paramsType: [];
- returnType: Protocol.Profiler.GetCountersResponse;
- };
- /**
- * Enable run time call stats collection.
- */
- 'Profiler.enableRuntimeCallStats': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disable run time call stats collection.
- */
- 'Profiler.disableRuntimeCallStats': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Retrieve run time call stats.
- */
- 'Profiler.getRuntimeCallStats': {
- paramsType: [];
- returnType: Protocol.Profiler.GetRuntimeCallStatsResponse;
- };
- /**
- * Add handler to promise with given promise object id.
- */
- 'Runtime.awaitPromise': {
- paramsType: [Protocol.Runtime.AwaitPromiseRequest];
- returnType: Protocol.Runtime.AwaitPromiseResponse;
- };
- /**
- * Calls function with given declaration on the given object. Object group of the result is
- * inherited from the target object.
- */
- 'Runtime.callFunctionOn': {
- paramsType: [Protocol.Runtime.CallFunctionOnRequest];
- returnType: Protocol.Runtime.CallFunctionOnResponse;
- };
- /**
- * Compiles expression.
- */
- 'Runtime.compileScript': {
- paramsType: [Protocol.Runtime.CompileScriptRequest];
- returnType: Protocol.Runtime.CompileScriptResponse;
- };
- /**
- * Disables reporting of execution contexts creation.
- */
- 'Runtime.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Discards collected exceptions and console API calls.
- */
- 'Runtime.discardConsoleEntries': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables reporting of execution contexts creation by means of `executionContextCreated` event.
- * When the reporting gets enabled the event will be sent immediately for each existing execution
- * context.
- */
- 'Runtime.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Evaluates expression on global object.
- */
- 'Runtime.evaluate': {
- paramsType: [Protocol.Runtime.EvaluateRequest];
- returnType: Protocol.Runtime.EvaluateResponse;
- };
- /**
- * Returns the isolate id.
- */
- 'Runtime.getIsolateId': {
- paramsType: [];
- returnType: Protocol.Runtime.GetIsolateIdResponse;
- };
- /**
- * Returns the JavaScript heap usage.
- * It is the total usage of the corresponding isolate not scoped to a particular Runtime.
- */
- 'Runtime.getHeapUsage': {
- paramsType: [];
- returnType: Protocol.Runtime.GetHeapUsageResponse;
- };
- /**
- * Returns properties of a given object. Object group of the result is inherited from the target
- * object.
- */
- 'Runtime.getProperties': {
- paramsType: [Protocol.Runtime.GetPropertiesRequest];
- returnType: Protocol.Runtime.GetPropertiesResponse;
- };
- /**
- * Returns all let, const and class variables from global scope.
- */
- 'Runtime.globalLexicalScopeNames': {
- paramsType: [Protocol.Runtime.GlobalLexicalScopeNamesRequest?];
- returnType: Protocol.Runtime.GlobalLexicalScopeNamesResponse;
- };
- 'Runtime.queryObjects': {
- paramsType: [Protocol.Runtime.QueryObjectsRequest];
- returnType: Protocol.Runtime.QueryObjectsResponse;
- };
- /**
- * Releases remote object with given id.
- */
- 'Runtime.releaseObject': {
- paramsType: [Protocol.Runtime.ReleaseObjectRequest];
- returnType: void;
- };
- /**
- * Releases all remote objects that belong to a given group.
- */
- 'Runtime.releaseObjectGroup': {
- paramsType: [Protocol.Runtime.ReleaseObjectGroupRequest];
- returnType: void;
- };
- /**
- * Tells inspected instance to run if it was waiting for debugger to attach.
- */
- 'Runtime.runIfWaitingForDebugger': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Runs script with given id in a given context.
- */
- 'Runtime.runScript': {
- paramsType: [Protocol.Runtime.RunScriptRequest];
- returnType: Protocol.Runtime.RunScriptResponse;
- };
- /**
- * Enables or disables async call stacks tracking.
- */
- 'Runtime.setAsyncCallStackDepth': {
- paramsType: [Protocol.Runtime.SetAsyncCallStackDepthRequest];
- returnType: void;
- };
- 'Runtime.setCustomObjectFormatterEnabled': {
- paramsType: [Protocol.Runtime.SetCustomObjectFormatterEnabledRequest];
- returnType: void;
- };
- 'Runtime.setMaxCallStackSizeToCapture': {
- paramsType: [Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest];
- returnType: void;
- };
- /**
- * Terminate current or next JavaScript execution.
- * Will cancel the termination when the outer-most script execution ends.
- */
- 'Runtime.terminateExecution': {
- paramsType: [];
- returnType: void;
- };
- /**
- * If executionContextId is empty, adds binding with the given name on the
- * global objects of all inspected contexts, including those created later,
- * bindings survive reloads.
- * If executionContextId is specified, adds binding only on global object of
- * given execution context.
- * Binding function takes exactly one argument, this argument should be string,
- * in case of any other input, function throws an exception.
- * Each binding function call produces Runtime.bindingCalled notification.
- */
- 'Runtime.addBinding': {
- paramsType: [Protocol.Runtime.AddBindingRequest];
- returnType: void;
- };
- /**
- * This method does not remove binding function from global object but
- * unsubscribes current runtime agent from Runtime.bindingCalled notifications.
- */
- 'Runtime.removeBinding': {
- paramsType: [Protocol.Runtime.RemoveBindingRequest];
- returnType: void;
- };
- /**
- * Returns supported domains.
- */
- 'Schema.getDomains': {
- paramsType: [];
- returnType: Protocol.Schema.GetDomainsResponse;
- };
- /**
- * Disables the accessibility domain.
- */
- 'Accessibility.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.
- * This turns on accessibility for the page, which can impact performance until accessibility is disabled.
- */
- 'Accessibility.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
- */
- 'Accessibility.getPartialAXTree': {
- paramsType: [Protocol.Accessibility.GetPartialAXTreeRequest?];
- returnType: Protocol.Accessibility.GetPartialAXTreeResponse;
- };
- /**
- * Fetches the entire accessibility tree
- */
- 'Accessibility.getFullAXTree': {
- paramsType: [];
- returnType: Protocol.Accessibility.GetFullAXTreeResponse;
- };
- /**
- * Query a DOM node's accessibility subtree for accessible name and role.
- * This command computes the name and role for all nodes in the subtree, including those that are
- * ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
- * node is specified, or the DOM node does not exist, the command returns an error. If neither
- * `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
- */
- 'Accessibility.queryAXTree': {
- paramsType: [Protocol.Accessibility.QueryAXTreeRequest?];
- returnType: Protocol.Accessibility.QueryAXTreeResponse;
- };
- /**
- * Disables animation domain notifications.
- */
- 'Animation.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables animation domain notifications.
- */
- 'Animation.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns the current time of the an animation.
- */
- 'Animation.getCurrentTime': {
- paramsType: [Protocol.Animation.GetCurrentTimeRequest];
- returnType: Protocol.Animation.GetCurrentTimeResponse;
- };
- /**
- * Gets the playback rate of the document timeline.
- */
- 'Animation.getPlaybackRate': {
- paramsType: [];
- returnType: Protocol.Animation.GetPlaybackRateResponse;
- };
- /**
- * Releases a set of animations to no longer be manipulated.
- */
- 'Animation.releaseAnimations': {
- paramsType: [Protocol.Animation.ReleaseAnimationsRequest];
- returnType: void;
- };
- /**
- * Gets the remote object of the Animation.
- */
- 'Animation.resolveAnimation': {
- paramsType: [Protocol.Animation.ResolveAnimationRequest];
- returnType: Protocol.Animation.ResolveAnimationResponse;
- };
- /**
- * Seek a set of animations to a particular time within each animation.
- */
- 'Animation.seekAnimations': {
- paramsType: [Protocol.Animation.SeekAnimationsRequest];
- returnType: void;
- };
- /**
- * Sets the paused state of a set of animations.
- */
- 'Animation.setPaused': {
- paramsType: [Protocol.Animation.SetPausedRequest];
- returnType: void;
- };
- /**
- * Sets the playback rate of the document timeline.
- */
- 'Animation.setPlaybackRate': {
- paramsType: [Protocol.Animation.SetPlaybackRateRequest];
- returnType: void;
- };
- /**
- * Sets the timing of an animation node.
- */
- 'Animation.setTiming': {
- paramsType: [Protocol.Animation.SetTimingRequest];
- returnType: void;
- };
- /**
- * Enables application cache domain notifications.
- */
- 'ApplicationCache.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns relevant application cache data for the document in given frame.
- */
- 'ApplicationCache.getApplicationCacheForFrame': {
- paramsType: [Protocol.ApplicationCache.GetApplicationCacheForFrameRequest];
- returnType: Protocol.ApplicationCache.GetApplicationCacheForFrameResponse;
- };
- /**
- * Returns array of frame identifiers with manifest urls for each frame containing a document
- * associated with some application cache.
- */
- 'ApplicationCache.getFramesWithManifests': {
- paramsType: [];
- returnType: Protocol.ApplicationCache.GetFramesWithManifestsResponse;
- };
- /**
- * Returns manifest URL for document in the given frame.
- */
- 'ApplicationCache.getManifestForFrame': {
- paramsType: [Protocol.ApplicationCache.GetManifestForFrameRequest];
- returnType: Protocol.ApplicationCache.GetManifestForFrameResponse;
- };
- /**
- * Returns the response body and size if it were re-encoded with the specified settings. Only
- * applies to images.
- */
- 'Audits.getEncodedResponse': {
- paramsType: [Protocol.Audits.GetEncodedResponseRequest];
- returnType: Protocol.Audits.GetEncodedResponseResponse;
- };
- /**
- * Disables issues domain, prevents further issues from being reported to the client.
- */
- 'Audits.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables issues domain, sends the issues collected so far to the client by means of the
- * `issueAdded` event.
- */
- 'Audits.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables event updates for the service.
- */
- 'BackgroundService.startObserving': {
- paramsType: [Protocol.BackgroundService.StartObservingRequest];
- returnType: void;
- };
- /**
- * Disables event updates for the service.
- */
- 'BackgroundService.stopObserving': {
- paramsType: [Protocol.BackgroundService.StopObservingRequest];
- returnType: void;
- };
- /**
- * Set the recording state for the service.
- */
- 'BackgroundService.setRecording': {
- paramsType: [Protocol.BackgroundService.SetRecordingRequest];
- returnType: void;
- };
- /**
- * Clears all stored data for the service.
- */
- 'BackgroundService.clearEvents': {
- paramsType: [Protocol.BackgroundService.ClearEventsRequest];
- returnType: void;
- };
- /**
- * Set permission settings for given origin.
- */
- 'Browser.setPermission': {
- paramsType: [Protocol.Browser.SetPermissionRequest];
- returnType: void;
- };
- /**
- * Grant specific permissions to the given origin and reject all others.
- */
- 'Browser.grantPermissions': {
- paramsType: [Protocol.Browser.GrantPermissionsRequest];
- returnType: void;
- };
- /**
- * Reset all permission management for all origins.
- */
- 'Browser.resetPermissions': {
- paramsType: [Protocol.Browser.ResetPermissionsRequest?];
- returnType: void;
- };
- /**
- * Set the behavior when downloading a file.
- */
- 'Browser.setDownloadBehavior': {
- paramsType: [Protocol.Browser.SetDownloadBehaviorRequest];
- returnType: void;
- };
- /**
- * Close browser gracefully.
- */
- 'Browser.close': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Crashes browser on the main thread.
- */
- 'Browser.crash': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Crashes GPU process.
- */
- 'Browser.crashGpuProcess': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns version information.
- */
- 'Browser.getVersion': {
- paramsType: [];
- returnType: Protocol.Browser.GetVersionResponse;
- };
- /**
- * Returns the command line switches for the browser process if, and only if
- * --enable-automation is on the commandline.
- */
- 'Browser.getBrowserCommandLine': {
- paramsType: [];
- returnType: Protocol.Browser.GetBrowserCommandLineResponse;
- };
- /**
- * Get Chrome histograms.
- */
- 'Browser.getHistograms': {
- paramsType: [Protocol.Browser.GetHistogramsRequest?];
- returnType: Protocol.Browser.GetHistogramsResponse;
- };
- /**
- * Get a Chrome histogram by name.
- */
- 'Browser.getHistogram': {
- paramsType: [Protocol.Browser.GetHistogramRequest];
- returnType: Protocol.Browser.GetHistogramResponse;
- };
- /**
- * Get position and size of the browser window.
- */
- 'Browser.getWindowBounds': {
- paramsType: [Protocol.Browser.GetWindowBoundsRequest];
- returnType: Protocol.Browser.GetWindowBoundsResponse;
- };
- /**
- * Get the browser window that contains the devtools target.
- */
- 'Browser.getWindowForTarget': {
- paramsType: [Protocol.Browser.GetWindowForTargetRequest?];
- returnType: Protocol.Browser.GetWindowForTargetResponse;
- };
- /**
- * Set position and/or size of the browser window.
- */
- 'Browser.setWindowBounds': {
- paramsType: [Protocol.Browser.SetWindowBoundsRequest];
- returnType: void;
- };
- /**
- * Set dock tile details, platform-specific.
- */
- 'Browser.setDockTile': {
- paramsType: [Protocol.Browser.SetDockTileRequest?];
- returnType: void;
- };
- /**
- * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
- * position specified by `location`.
- */
- 'CSS.addRule': {
- paramsType: [Protocol.CSS.AddRuleRequest];
- returnType: Protocol.CSS.AddRuleResponse;
- };
- /**
- * Returns all class names from specified stylesheet.
- */
- 'CSS.collectClassNames': {
- paramsType: [Protocol.CSS.CollectClassNamesRequest];
- returnType: Protocol.CSS.CollectClassNamesResponse;
- };
- /**
- * Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
- */
- 'CSS.createStyleSheet': {
- paramsType: [Protocol.CSS.CreateStyleSheetRequest];
- returnType: Protocol.CSS.CreateStyleSheetResponse;
- };
- /**
- * Disables the CSS agent for the given page.
- */
- 'CSS.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been
- * enabled until the result of this command is received.
- */
- 'CSS.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Ensures that the given node will have specified pseudo-classes whenever its style is computed by
- * the browser.
- */
- 'CSS.forcePseudoState': {
- paramsType: [Protocol.CSS.ForcePseudoStateRequest];
- returnType: void;
- };
- 'CSS.getBackgroundColors': {
- paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
- returnType: Protocol.CSS.GetBackgroundColorsResponse;
- };
- /**
- * Returns the computed style for a DOM node identified by `nodeId`.
- */
- 'CSS.getComputedStyleForNode': {
- paramsType: [Protocol.CSS.GetComputedStyleForNodeRequest];
- returnType: Protocol.CSS.GetComputedStyleForNodeResponse;
- };
- /**
- * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
- * attributes) for a DOM node identified by `nodeId`.
- */
- 'CSS.getInlineStylesForNode': {
- paramsType: [Protocol.CSS.GetInlineStylesForNodeRequest];
- returnType: Protocol.CSS.GetInlineStylesForNodeResponse;
- };
- /**
- * Returns requested styles for a DOM node identified by `nodeId`.
- */
- 'CSS.getMatchedStylesForNode': {
- paramsType: [Protocol.CSS.GetMatchedStylesForNodeRequest];
- returnType: Protocol.CSS.GetMatchedStylesForNodeResponse;
- };
- /**
- * Returns all media queries parsed by the rendering engine.
- */
- 'CSS.getMediaQueries': {
- paramsType: [];
- returnType: Protocol.CSS.GetMediaQueriesResponse;
- };
- /**
- * Requests information about platform fonts which we used to render child TextNodes in the given
- * node.
- */
- 'CSS.getPlatformFontsForNode': {
- paramsType: [Protocol.CSS.GetPlatformFontsForNodeRequest];
- returnType: Protocol.CSS.GetPlatformFontsForNodeResponse;
- };
- /**
- * Returns the current textual content for a stylesheet.
- */
- 'CSS.getStyleSheetText': {
- paramsType: [Protocol.CSS.GetStyleSheetTextRequest];
- returnType: Protocol.CSS.GetStyleSheetTextResponse;
- };
- /**
- * Starts tracking the given computed styles for updates. The specified array of properties
- * replaces the one previously specified. Pass empty array to disable tracking.
- * Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
- * The changes to computed style properties are only tracked for nodes pushed to the front-end
- * by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
- * to the front-end, no updates will be issued for the node.
- */
- 'CSS.trackComputedStyleUpdates': {
- paramsType: [Protocol.CSS.TrackComputedStyleUpdatesRequest];
- returnType: void;
- };
- /**
- * Polls the next batch of computed style updates.
- */
- 'CSS.takeComputedStyleUpdates': {
- paramsType: [];
- returnType: Protocol.CSS.TakeComputedStyleUpdatesResponse;
- };
- /**
- * Find a rule with the given active property for the given node and set the new value for this
- * property
- */
- 'CSS.setEffectivePropertyValueForNode': {
- paramsType: [Protocol.CSS.SetEffectivePropertyValueForNodeRequest];
- returnType: void;
- };
- /**
- * Modifies the keyframe rule key text.
- */
- 'CSS.setKeyframeKey': {
- paramsType: [Protocol.CSS.SetKeyframeKeyRequest];
- returnType: Protocol.CSS.SetKeyframeKeyResponse;
- };
- /**
- * Modifies the rule selector.
- */
- 'CSS.setMediaText': {
- paramsType: [Protocol.CSS.SetMediaTextRequest];
- returnType: Protocol.CSS.SetMediaTextResponse;
- };
- /**
- * Modifies the rule selector.
- */
- 'CSS.setRuleSelector': {
- paramsType: [Protocol.CSS.SetRuleSelectorRequest];
- returnType: Protocol.CSS.SetRuleSelectorResponse;
- };
- /**
- * Sets the new stylesheet text.
- */
- 'CSS.setStyleSheetText': {
- paramsType: [Protocol.CSS.SetStyleSheetTextRequest];
- returnType: Protocol.CSS.SetStyleSheetTextResponse;
- };
- /**
- * Applies specified style edits one after another in the given order.
- */
- 'CSS.setStyleTexts': {
- paramsType: [Protocol.CSS.SetStyleTextsRequest];
- returnType: Protocol.CSS.SetStyleTextsResponse;
- };
- /**
- * Enables the selector recording.
- */
- 'CSS.startRuleUsageTracking': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Stop tracking rule usage and return the list of rules that were used since last call to
- * `takeCoverageDelta` (or since start of coverage instrumentation)
- */
- 'CSS.stopRuleUsageTracking': {
- paramsType: [];
- returnType: Protocol.CSS.StopRuleUsageTrackingResponse;
- };
- /**
- * Obtain list of rules that became used since last call to this method (or since start of coverage
- * instrumentation)
- */
- 'CSS.takeCoverageDelta': {
- paramsType: [];
- returnType: Protocol.CSS.TakeCoverageDeltaResponse;
- };
- /**
- * Enables/disables rendering of local CSS fonts (enabled by default).
- */
- 'CSS.setLocalFontsEnabled': {
- paramsType: [Protocol.CSS.SetLocalFontsEnabledRequest];
- returnType: void;
- };
- /**
- * Deletes a cache.
- */
- 'CacheStorage.deleteCache': {
- paramsType: [Protocol.CacheStorage.DeleteCacheRequest];
- returnType: void;
- };
- /**
- * Deletes a cache entry.
- */
- 'CacheStorage.deleteEntry': {
- paramsType: [Protocol.CacheStorage.DeleteEntryRequest];
- returnType: void;
- };
- /**
- * Requests cache names.
- */
- 'CacheStorage.requestCacheNames': {
- paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest];
- returnType: Protocol.CacheStorage.RequestCacheNamesResponse;
- };
- /**
- * Fetches cache entry.
- */
- 'CacheStorage.requestCachedResponse': {
- paramsType: [Protocol.CacheStorage.RequestCachedResponseRequest];
- returnType: Protocol.CacheStorage.RequestCachedResponseResponse;
- };
- /**
- * Requests data from cache.
- */
- 'CacheStorage.requestEntries': {
- paramsType: [Protocol.CacheStorage.RequestEntriesRequest];
- returnType: Protocol.CacheStorage.RequestEntriesResponse;
- };
- /**
- * Starts observing for sinks that can be used for tab mirroring, and if set,
- * sinks compatible with |presentationUrl| as well. When sinks are found, a
- * |sinksUpdated| event is fired.
- * Also starts observing for issue messages. When an issue is added or removed,
- * an |issueUpdated| event is fired.
- */
- 'Cast.enable': {
- paramsType: [Protocol.Cast.EnableRequest?];
- returnType: void;
- };
- /**
- * Stops observing for sinks and issues.
- */
- 'Cast.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Sets a sink to be used when the web page requests the browser to choose a
- * sink via Presentation API, Remote Playback API, or Cast SDK.
- */
- 'Cast.setSinkToUse': {
- paramsType: [Protocol.Cast.SetSinkToUseRequest];
- returnType: void;
- };
- /**
- * Starts mirroring the tab to the sink.
- */
- 'Cast.startTabMirroring': {
- paramsType: [Protocol.Cast.StartTabMirroringRequest];
- returnType: void;
- };
- /**
- * Stops the active Cast session on the sink.
- */
- 'Cast.stopCasting': {
- paramsType: [Protocol.Cast.StopCastingRequest];
- returnType: void;
- };
- /**
- * Collects class names for the node with given id and all of it's child nodes.
- */
- 'DOM.collectClassNamesFromSubtree': {
- paramsType: [Protocol.DOM.CollectClassNamesFromSubtreeRequest];
- returnType: Protocol.DOM.CollectClassNamesFromSubtreeResponse;
- };
- /**
- * Creates a deep copy of the specified node and places it into the target container before the
- * given anchor.
- */
- 'DOM.copyTo': {
- paramsType: [Protocol.DOM.CopyToRequest];
- returnType: Protocol.DOM.CopyToResponse;
- };
- /**
- * Describes node given its id, does not require domain to be enabled. Does not start tracking any
- * objects, can be used for automation.
- */
- 'DOM.describeNode': {
- paramsType: [Protocol.DOM.DescribeNodeRequest?];
- returnType: Protocol.DOM.DescribeNodeResponse;
- };
- /**
- * Scrolls the specified rect of the given node into view if not already visible.
- * Note: exactly one between nodeId, backendNodeId and objectId should be passed
- * to identify the node.
- */
- 'DOM.scrollIntoViewIfNeeded': {
- paramsType: [Protocol.DOM.ScrollIntoViewIfNeededRequest?];
- returnType: void;
- };
- /**
- * Disables DOM agent for the given page.
- */
- 'DOM.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Discards search results from the session with the given id. `getSearchResults` should no longer
- * be called for that search.
- */
- 'DOM.discardSearchResults': {
- paramsType: [Protocol.DOM.DiscardSearchResultsRequest];
- returnType: void;
- };
- /**
- * Enables DOM agent for the given page.
- */
- 'DOM.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Focuses the given element.
- */
- 'DOM.focus': {
- paramsType: [Protocol.DOM.FocusRequest?];
- returnType: void;
- };
- /**
- * Returns attributes for the specified node.
- */
- 'DOM.getAttributes': {
- paramsType: [Protocol.DOM.GetAttributesRequest];
- returnType: Protocol.DOM.GetAttributesResponse;
- };
- /**
- * Returns boxes for the given node.
- */
- 'DOM.getBoxModel': {
- paramsType: [Protocol.DOM.GetBoxModelRequest?];
- returnType: Protocol.DOM.GetBoxModelResponse;
- };
- /**
- * Returns quads that describe node position on the page. This method
- * might return multiple quads for inline nodes.
- */
- 'DOM.getContentQuads': {
- paramsType: [Protocol.DOM.GetContentQuadsRequest?];
- returnType: Protocol.DOM.GetContentQuadsResponse;
- };
- /**
- * Returns the root DOM node (and optionally the subtree) to the caller.
- */
- 'DOM.getDocument': {
- paramsType: [Protocol.DOM.GetDocumentRequest?];
- returnType: Protocol.DOM.GetDocumentResponse;
- };
- /**
- * Returns the root DOM node (and optionally the subtree) to the caller.
- * Deprecated, as it is not designed to work well with the rest of the DOM agent.
- * Use DOMSnapshot.captureSnapshot instead.
- */
- 'DOM.getFlattenedDocument': {
- paramsType: [Protocol.DOM.GetFlattenedDocumentRequest?];
- returnType: Protocol.DOM.GetFlattenedDocumentResponse;
- };
- /**
- * Finds nodes with a given computed style in a subtree.
- */
- 'DOM.getNodesForSubtreeByStyle': {
- paramsType: [Protocol.DOM.GetNodesForSubtreeByStyleRequest];
- returnType: Protocol.DOM.GetNodesForSubtreeByStyleResponse;
- };
- /**
- * Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is
- * either returned or not.
- */
- 'DOM.getNodeForLocation': {
- paramsType: [Protocol.DOM.GetNodeForLocationRequest];
- returnType: Protocol.DOM.GetNodeForLocationResponse;
- };
- /**
- * Returns node's HTML markup.
- */
- 'DOM.getOuterHTML': {
- paramsType: [Protocol.DOM.GetOuterHTMLRequest?];
- returnType: Protocol.DOM.GetOuterHTMLResponse;
- };
- /**
- * Returns the id of the nearest ancestor that is a relayout boundary.
- */
- 'DOM.getRelayoutBoundary': {
- paramsType: [Protocol.DOM.GetRelayoutBoundaryRequest];
- returnType: Protocol.DOM.GetRelayoutBoundaryResponse;
- };
- /**
- * Returns search results from given `fromIndex` to given `toIndex` from the search with the given
- * identifier.
- */
- 'DOM.getSearchResults': {
- paramsType: [Protocol.DOM.GetSearchResultsRequest];
- returnType: Protocol.DOM.GetSearchResultsResponse;
- };
- /**
- * Hides any highlight.
- */
- 'DOM.hideHighlight': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Highlights DOM node.
- */
- 'DOM.highlightNode': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Highlights given rectangle.
- */
- 'DOM.highlightRect': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Marks last undoable state.
- */
- 'DOM.markUndoableState': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Moves node into the new container, places it before the given anchor.
- */
- 'DOM.moveTo': {
- paramsType: [Protocol.DOM.MoveToRequest];
- returnType: Protocol.DOM.MoveToResponse;
- };
- /**
- * Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or
- * `cancelSearch` to end this search session.
- */
- 'DOM.performSearch': {
- paramsType: [Protocol.DOM.PerformSearchRequest];
- returnType: Protocol.DOM.PerformSearchResponse;
- };
- /**
- * Requests that the node is sent to the caller given its path. // FIXME, use XPath
- */
- 'DOM.pushNodeByPathToFrontend': {
- paramsType: [Protocol.DOM.PushNodeByPathToFrontendRequest];
- returnType: Protocol.DOM.PushNodeByPathToFrontendResponse;
- };
- /**
- * Requests that a batch of nodes is sent to the caller given their backend node ids.
- */
- 'DOM.pushNodesByBackendIdsToFrontend': {
- paramsType: [Protocol.DOM.PushNodesByBackendIdsToFrontendRequest];
- returnType: Protocol.DOM.PushNodesByBackendIdsToFrontendResponse;
- };
- /**
- * Executes `querySelector` on a given node.
- */
- 'DOM.querySelector': {
- paramsType: [Protocol.DOM.QuerySelectorRequest];
- returnType: Protocol.DOM.QuerySelectorResponse;
- };
- /**
- * Executes `querySelectorAll` on a given node.
- */
- 'DOM.querySelectorAll': {
- paramsType: [Protocol.DOM.QuerySelectorAllRequest];
- returnType: Protocol.DOM.QuerySelectorAllResponse;
- };
- /**
- * Re-does the last undone action.
- */
- 'DOM.redo': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Removes attribute with given name from an element with given id.
- */
- 'DOM.removeAttribute': {
- paramsType: [Protocol.DOM.RemoveAttributeRequest];
- returnType: void;
- };
- /**
- * Removes node with given id.
- */
- 'DOM.removeNode': {
- paramsType: [Protocol.DOM.RemoveNodeRequest];
- returnType: void;
- };
- /**
- * Requests that children of the node with given id are returned to the caller in form of
- * `setChildNodes` events where not only immediate children are retrieved, but all children down to
- * the specified depth.
- */
- 'DOM.requestChildNodes': {
- paramsType: [Protocol.DOM.RequestChildNodesRequest];
- returnType: void;
- };
- /**
- * Requests that the node is sent to the caller given the JavaScript node object reference. All
- * nodes that form the path from the node to the root are also sent to the client as a series of
- * `setChildNodes` notifications.
- */
- 'DOM.requestNode': {
- paramsType: [Protocol.DOM.RequestNodeRequest];
- returnType: Protocol.DOM.RequestNodeResponse;
- };
- /**
- * Resolves the JavaScript node object for a given NodeId or BackendNodeId.
- */
- 'DOM.resolveNode': {
- paramsType: [Protocol.DOM.ResolveNodeRequest?];
- returnType: Protocol.DOM.ResolveNodeResponse;
- };
- /**
- * Sets attribute for an element with given id.
- */
- 'DOM.setAttributeValue': {
- paramsType: [Protocol.DOM.SetAttributeValueRequest];
- returnType: void;
- };
- /**
- * Sets attributes on element with given id. This method is useful when user edits some existing
- * attribute value and types in several attribute name/value pairs.
- */
- 'DOM.setAttributesAsText': {
- paramsType: [Protocol.DOM.SetAttributesAsTextRequest];
- returnType: void;
- };
- /**
- * Sets files for the given file input element.
- */
- 'DOM.setFileInputFiles': {
- paramsType: [Protocol.DOM.SetFileInputFilesRequest];
- returnType: void;
- };
- /**
- * Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.
- */
- 'DOM.setNodeStackTracesEnabled': {
- paramsType: [Protocol.DOM.SetNodeStackTracesEnabledRequest];
- returnType: void;
- };
- /**
- * Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.
- */
- 'DOM.getNodeStackTraces': {
- paramsType: [Protocol.DOM.GetNodeStackTracesRequest];
- returnType: Protocol.DOM.GetNodeStackTracesResponse;
- };
- /**
- * Returns file information for the given
- * File wrapper.
- */
- 'DOM.getFileInfo': {
- paramsType: [Protocol.DOM.GetFileInfoRequest];
- returnType: Protocol.DOM.GetFileInfoResponse;
- };
- /**
- * Enables console to refer to the node with given id via $x (see Command Line API for more details
- * $x functions).
- */
- 'DOM.setInspectedNode': {
- paramsType: [Protocol.DOM.SetInspectedNodeRequest];
- returnType: void;
- };
- /**
- * Sets node name for a node with given id.
- */
- 'DOM.setNodeName': {
- paramsType: [Protocol.DOM.SetNodeNameRequest];
- returnType: Protocol.DOM.SetNodeNameResponse;
- };
- /**
- * Sets node value for a node with given id.
- */
- 'DOM.setNodeValue': {
- paramsType: [Protocol.DOM.SetNodeValueRequest];
- returnType: void;
- };
- /**
- * Sets node HTML markup, returns new node id.
- */
- 'DOM.setOuterHTML': {
- paramsType: [Protocol.DOM.SetOuterHTMLRequest];
- returnType: void;
- };
- /**
- * Undoes the last performed action.
- */
- 'DOM.undo': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns iframe node that owns iframe with the given domain.
- */
- 'DOM.getFrameOwner': {
- paramsType: [Protocol.DOM.GetFrameOwnerRequest];
- returnType: Protocol.DOM.GetFrameOwnerResponse;
- };
- /**
- * Returns event listeners of the given object.
- */
- 'DOMDebugger.getEventListeners': {
- paramsType: [Protocol.DOMDebugger.GetEventListenersRequest];
- returnType: Protocol.DOMDebugger.GetEventListenersResponse;
- };
- /**
- * Removes DOM breakpoint that was set using `setDOMBreakpoint`.
- */
- 'DOMDebugger.removeDOMBreakpoint': {
- paramsType: [Protocol.DOMDebugger.RemoveDOMBreakpointRequest];
- returnType: void;
- };
- /**
- * Removes breakpoint on particular DOM event.
- */
- 'DOMDebugger.removeEventListenerBreakpoint': {
- paramsType: [Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest];
- returnType: void;
- };
- /**
- * Removes breakpoint on particular native event.
- */
- 'DOMDebugger.removeInstrumentationBreakpoint': {
- paramsType: [Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest];
- returnType: void;
- };
- /**
- * Removes breakpoint from XMLHttpRequest.
- */
- 'DOMDebugger.removeXHRBreakpoint': {
- paramsType: [Protocol.DOMDebugger.RemoveXHRBreakpointRequest];
- returnType: void;
- };
- /**
- * Sets breakpoint on particular operation with DOM.
- */
- 'DOMDebugger.setDOMBreakpoint': {
- paramsType: [Protocol.DOMDebugger.SetDOMBreakpointRequest];
- returnType: void;
- };
- /**
- * Sets breakpoint on particular DOM event.
- */
- 'DOMDebugger.setEventListenerBreakpoint': {
- paramsType: [Protocol.DOMDebugger.SetEventListenerBreakpointRequest];
- returnType: void;
- };
- /**
- * Sets breakpoint on particular native event.
- */
- 'DOMDebugger.setInstrumentationBreakpoint': {
- paramsType: [Protocol.DOMDebugger.SetInstrumentationBreakpointRequest];
- returnType: void;
- };
- /**
- * Sets breakpoint on XMLHttpRequest.
- */
- 'DOMDebugger.setXHRBreakpoint': {
- paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest];
- returnType: void;
- };
- /**
- * Disables DOM snapshot agent for the given page.
- */
- 'DOMSnapshot.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables DOM snapshot agent for the given page.
- */
- 'DOMSnapshot.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
- * template contents, and imported documents) in a flattened array, as well as layout and
- * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
- * flattened.
- */
- 'DOMSnapshot.getSnapshot': {
- paramsType: [Protocol.DOMSnapshot.GetSnapshotRequest];
- returnType: Protocol.DOMSnapshot.GetSnapshotResponse;
- };
- /**
- * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
- * template contents, and imported documents) in a flattened array, as well as layout and
- * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
- * flattened.
- */
- 'DOMSnapshot.captureSnapshot': {
- paramsType: [Protocol.DOMSnapshot.CaptureSnapshotRequest];
- returnType: Protocol.DOMSnapshot.CaptureSnapshotResponse;
- };
- 'DOMStorage.clear': {
- paramsType: [Protocol.DOMStorage.ClearRequest];
- returnType: void;
- };
- /**
- * Disables storage tracking, prevents storage events from being sent to the client.
- */
- 'DOMStorage.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables storage tracking, storage events will now be delivered to the client.
- */
- 'DOMStorage.enable': {
- paramsType: [];
- returnType: void;
- };
- 'DOMStorage.getDOMStorageItems': {
- paramsType: [Protocol.DOMStorage.GetDOMStorageItemsRequest];
- returnType: Protocol.DOMStorage.GetDOMStorageItemsResponse;
- };
- 'DOMStorage.removeDOMStorageItem': {
- paramsType: [Protocol.DOMStorage.RemoveDOMStorageItemRequest];
- returnType: void;
- };
- 'DOMStorage.setDOMStorageItem': {
- paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
- returnType: void;
- };
- /**
- * Disables database tracking, prevents database events from being sent to the client.
- */
- 'Database.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables database tracking, database events will now be delivered to the client.
- */
- 'Database.enable': {
- paramsType: [];
- returnType: void;
- };
- 'Database.executeSQL': {
- paramsType: [Protocol.Database.ExecuteSQLRequest];
- returnType: Protocol.Database.ExecuteSQLResponse;
- };
- 'Database.getDatabaseTableNames': {
- paramsType: [Protocol.Database.GetDatabaseTableNamesRequest];
- returnType: Protocol.Database.GetDatabaseTableNamesResponse;
- };
- /**
- * Clears the overridden Device Orientation.
- */
- 'DeviceOrientation.clearDeviceOrientationOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Overrides the Device Orientation.
- */
- 'DeviceOrientation.setDeviceOrientationOverride': {
- paramsType: [Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest];
- returnType: void;
- };
- /**
- * Tells whether emulation is supported.
- */
- 'Emulation.canEmulate': {
- paramsType: [];
- returnType: Protocol.Emulation.CanEmulateResponse;
- };
- /**
- * Clears the overriden device metrics.
- */
- 'Emulation.clearDeviceMetricsOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Clears the overriden Geolocation Position and Error.
- */
- 'Emulation.clearGeolocationOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Requests that page scale factor is reset to initial values.
- */
- 'Emulation.resetPageScaleFactor': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables or disables simulating a focused and active page.
- */
- 'Emulation.setFocusEmulationEnabled': {
- paramsType: [Protocol.Emulation.SetFocusEmulationEnabledRequest];
- returnType: void;
- };
- /**
- * Enables CPU throttling to emulate slow CPUs.
- */
- 'Emulation.setCPUThrottlingRate': {
- paramsType: [Protocol.Emulation.SetCPUThrottlingRateRequest];
- returnType: void;
- };
- /**
- * Sets or clears an override of the default background color of the frame. This override is used
- * if the content does not specify one.
- */
- 'Emulation.setDefaultBackgroundColorOverride': {
- paramsType: [Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest?];
- returnType: void;
- };
- /**
- * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
- * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
- * query results).
- */
- 'Emulation.setDeviceMetricsOverride': {
- paramsType: [Protocol.Emulation.SetDeviceMetricsOverrideRequest];
- returnType: void;
- };
- 'Emulation.setScrollbarsHidden': {
- paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest];
- returnType: void;
- };
- 'Emulation.setDocumentCookieDisabled': {
- paramsType: [Protocol.Emulation.SetDocumentCookieDisabledRequest];
- returnType: void;
- };
- 'Emulation.setEmitTouchEventsForMouse': {
- paramsType: [Protocol.Emulation.SetEmitTouchEventsForMouseRequest];
- returnType: void;
- };
- /**
- * Emulates the given media type or media feature for CSS media queries.
- */
- 'Emulation.setEmulatedMedia': {
- paramsType: [Protocol.Emulation.SetEmulatedMediaRequest?];
- returnType: void;
- };
- /**
- * Emulates the given vision deficiency.
- */
- 'Emulation.setEmulatedVisionDeficiency': {
- paramsType: [Protocol.Emulation.SetEmulatedVisionDeficiencyRequest];
- returnType: void;
- };
- /**
- * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
- * unavailable.
- */
- 'Emulation.setGeolocationOverride': {
- paramsType: [Protocol.Emulation.SetGeolocationOverrideRequest?];
- returnType: void;
- };
- /**
- * Overrides the Idle state.
- */
- 'Emulation.setIdleOverride': {
- paramsType: [Protocol.Emulation.SetIdleOverrideRequest];
- returnType: void;
- };
- /**
- * Clears Idle state overrides.
- */
- 'Emulation.clearIdleOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Overrides value returned by the javascript navigator object.
- */
- 'Emulation.setNavigatorOverrides': {
- paramsType: [Protocol.Emulation.SetNavigatorOverridesRequest];
- returnType: void;
- };
- /**
- * Sets a specified page scale factor.
- */
- 'Emulation.setPageScaleFactor': {
- paramsType: [Protocol.Emulation.SetPageScaleFactorRequest];
- returnType: void;
- };
- /**
- * Switches script execution in the page.
- */
- 'Emulation.setScriptExecutionDisabled': {
- paramsType: [Protocol.Emulation.SetScriptExecutionDisabledRequest];
- returnType: void;
- };
- /**
- * Enables touch on platforms which do not support them.
- */
- 'Emulation.setTouchEmulationEnabled': {
- paramsType: [Protocol.Emulation.SetTouchEmulationEnabledRequest];
- returnType: void;
- };
- /**
- * Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets
- * the current virtual time policy. Note this supersedes any previous time budget.
- */
- 'Emulation.setVirtualTimePolicy': {
- paramsType: [Protocol.Emulation.SetVirtualTimePolicyRequest];
- returnType: Protocol.Emulation.SetVirtualTimePolicyResponse;
- };
- /**
- * Overrides default host system locale with the specified one.
- */
- 'Emulation.setLocaleOverride': {
- paramsType: [Protocol.Emulation.SetLocaleOverrideRequest?];
- returnType: void;
- };
- /**
- * Overrides default host system timezone with the specified one.
- */
- 'Emulation.setTimezoneOverride': {
- paramsType: [Protocol.Emulation.SetTimezoneOverrideRequest];
- returnType: void;
- };
- /**
- * Resizes the frame/viewport of the page. Note that this does not affect the frame's container
- * (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported
- * on Android.
- */
- 'Emulation.setVisibleSize': {
- paramsType: [Protocol.Emulation.SetVisibleSizeRequest];
- returnType: void;
- };
- /**
- * Allows overriding user agent with the given string.
- */
- 'Emulation.setUserAgentOverride': {
- paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest];
- returnType: void;
- };
- /**
- * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
- * screenshot from the resulting frame. Requires that the target was created with enabled
- * BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
- * https://goo.gl/3zHXhB for more background.
- */
- 'HeadlessExperimental.beginFrame': {
- paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
- returnType: Protocol.HeadlessExperimental.BeginFrameResponse;
- };
- /**
- * Disables headless events for the target.
- */
- 'HeadlessExperimental.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables headless events for the target.
- */
- 'HeadlessExperimental.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Close the stream, discard any temporary backing storage.
- */
- 'IO.close': {
- paramsType: [Protocol.IO.CloseRequest];
- returnType: void;
- };
- /**
- * Read a chunk of the stream
- */
- 'IO.read': {
- paramsType: [Protocol.IO.ReadRequest];
- returnType: Protocol.IO.ReadResponse;
- };
- /**
- * Return UUID of Blob object specified by a remote object id.
- */
- 'IO.resolveBlob': {
- paramsType: [Protocol.IO.ResolveBlobRequest];
- returnType: Protocol.IO.ResolveBlobResponse;
- };
- /**
- * Clears all entries from an object store.
- */
- 'IndexedDB.clearObjectStore': {
- paramsType: [Protocol.IndexedDB.ClearObjectStoreRequest];
- returnType: void;
- };
- /**
- * Deletes a database.
- */
- 'IndexedDB.deleteDatabase': {
- paramsType: [Protocol.IndexedDB.DeleteDatabaseRequest];
- returnType: void;
- };
- /**
- * Delete a range of entries from an object store
- */
- 'IndexedDB.deleteObjectStoreEntries': {
- paramsType: [Protocol.IndexedDB.DeleteObjectStoreEntriesRequest];
- returnType: void;
- };
- /**
- * Disables events from backend.
- */
- 'IndexedDB.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables events from backend.
- */
- 'IndexedDB.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Requests data from object store or index.
- */
- 'IndexedDB.requestData': {
- paramsType: [Protocol.IndexedDB.RequestDataRequest];
- returnType: Protocol.IndexedDB.RequestDataResponse;
- };
- /**
- * Gets metadata of an object store
- */
- 'IndexedDB.getMetadata': {
- paramsType: [Protocol.IndexedDB.GetMetadataRequest];
- returnType: Protocol.IndexedDB.GetMetadataResponse;
- };
- /**
- * Requests database with given name in given frame.
- */
- 'IndexedDB.requestDatabase': {
- paramsType: [Protocol.IndexedDB.RequestDatabaseRequest];
- returnType: Protocol.IndexedDB.RequestDatabaseResponse;
- };
- /**
- * Requests database names for given security origin.
- */
- 'IndexedDB.requestDatabaseNames': {
- paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest];
- returnType: Protocol.IndexedDB.RequestDatabaseNamesResponse;
- };
- /**
- * Dispatches a key event to the page.
- */
- 'Input.dispatchKeyEvent': {
- paramsType: [Protocol.Input.DispatchKeyEventRequest];
- returnType: void;
- };
- /**
- * This method emulates inserting text that doesn't come from a key press,
- * for example an emoji keyboard or an IME.
- */
- 'Input.insertText': {
- paramsType: [Protocol.Input.InsertTextRequest];
- returnType: void;
- };
- /**
- * Dispatches a mouse event to the page.
- */
- 'Input.dispatchMouseEvent': {
- paramsType: [Protocol.Input.DispatchMouseEventRequest];
- returnType: void;
- };
- /**
- * Dispatches a touch event to the page.
- */
- 'Input.dispatchTouchEvent': {
- paramsType: [Protocol.Input.DispatchTouchEventRequest];
- returnType: void;
- };
- /**
- * Emulates touch event from the mouse event parameters.
- */
- 'Input.emulateTouchFromMouseEvent': {
- paramsType: [Protocol.Input.EmulateTouchFromMouseEventRequest];
- returnType: void;
- };
- /**
- * Ignores input events (useful while auditing page).
- */
- 'Input.setIgnoreInputEvents': {
- paramsType: [Protocol.Input.SetIgnoreInputEventsRequest];
- returnType: void;
- };
- /**
- * Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
- */
- 'Input.synthesizePinchGesture': {
- paramsType: [Protocol.Input.SynthesizePinchGestureRequest];
- returnType: void;
- };
- /**
- * Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
- */
- 'Input.synthesizeScrollGesture': {
- paramsType: [Protocol.Input.SynthesizeScrollGestureRequest];
- returnType: void;
- };
- /**
- * Synthesizes a tap gesture over a time period by issuing appropriate touch events.
- */
- 'Input.synthesizeTapGesture': {
- paramsType: [Protocol.Input.SynthesizeTapGestureRequest];
- returnType: void;
- };
- /**
- * Disables inspector domain notifications.
- */
- 'Inspector.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables inspector domain notifications.
- */
- 'Inspector.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Provides the reasons why the given layer was composited.
- */
- 'LayerTree.compositingReasons': {
- paramsType: [Protocol.LayerTree.CompositingReasonsRequest];
- returnType: Protocol.LayerTree.CompositingReasonsResponse;
- };
- /**
- * Disables compositing tree inspection.
- */
- 'LayerTree.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables compositing tree inspection.
- */
- 'LayerTree.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns the snapshot identifier.
- */
- 'LayerTree.loadSnapshot': {
- paramsType: [Protocol.LayerTree.LoadSnapshotRequest];
- returnType: Protocol.LayerTree.LoadSnapshotResponse;
- };
- /**
- * Returns the layer snapshot identifier.
- */
- 'LayerTree.makeSnapshot': {
- paramsType: [Protocol.LayerTree.MakeSnapshotRequest];
- returnType: Protocol.LayerTree.MakeSnapshotResponse;
- };
- 'LayerTree.profileSnapshot': {
- paramsType: [Protocol.LayerTree.ProfileSnapshotRequest];
- returnType: Protocol.LayerTree.ProfileSnapshotResponse;
- };
- /**
- * Releases layer snapshot captured by the back-end.
- */
- 'LayerTree.releaseSnapshot': {
- paramsType: [Protocol.LayerTree.ReleaseSnapshotRequest];
- returnType: void;
- };
- /**
- * Replays the layer snapshot and returns the resulting bitmap.
- */
- 'LayerTree.replaySnapshot': {
- paramsType: [Protocol.LayerTree.ReplaySnapshotRequest];
- returnType: Protocol.LayerTree.ReplaySnapshotResponse;
- };
- /**
- * Replays the layer snapshot and returns canvas log.
- */
- 'LayerTree.snapshotCommandLog': {
- paramsType: [Protocol.LayerTree.SnapshotCommandLogRequest];
- returnType: Protocol.LayerTree.SnapshotCommandLogResponse;
- };
- /**
- * Clears the log.
- */
- 'Log.clear': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disables log domain, prevents further log entries from being reported to the client.
- */
- 'Log.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables log domain, sends the entries collected so far to the client by means of the
- * `entryAdded` notification.
- */
- 'Log.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * start violation reporting.
- */
- 'Log.startViolationsReport': {
- paramsType: [Protocol.Log.StartViolationsReportRequest];
- returnType: void;
- };
- /**
- * Stop violation reporting.
- */
- 'Log.stopViolationsReport': {
- paramsType: [];
- returnType: void;
- };
- 'Memory.getDOMCounters': {
- paramsType: [];
- returnType: Protocol.Memory.GetDOMCountersResponse;
- };
- 'Memory.prepareForLeakDetection': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Simulate OomIntervention by purging V8 memory.
- */
- 'Memory.forciblyPurgeJavaScriptMemory': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enable/disable suppressing memory pressure notifications in all processes.
- */
- 'Memory.setPressureNotificationsSuppressed': {
- paramsType: [Protocol.Memory.SetPressureNotificationsSuppressedRequest];
- returnType: void;
- };
- /**
- * Simulate a memory pressure notification in all processes.
- */
- 'Memory.simulatePressureNotification': {
- paramsType: [Protocol.Memory.SimulatePressureNotificationRequest];
- returnType: void;
- };
- /**
- * Start collecting native memory profile.
- */
- 'Memory.startSampling': {
- paramsType: [Protocol.Memory.StartSamplingRequest?];
- returnType: void;
- };
- /**
- * Stop collecting native memory profile.
- */
- 'Memory.stopSampling': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Retrieve native memory allocations profile
- * collected since renderer process startup.
- */
- 'Memory.getAllTimeSamplingProfile': {
- paramsType: [];
- returnType: Protocol.Memory.GetAllTimeSamplingProfileResponse;
- };
- /**
- * Retrieve native memory allocations profile
- * collected since browser process startup.
- */
- 'Memory.getBrowserSamplingProfile': {
- paramsType: [];
- returnType: Protocol.Memory.GetBrowserSamplingProfileResponse;
- };
- /**
- * Retrieve native memory allocations profile collected since last
- * `startSampling` call.
- */
- 'Memory.getSamplingProfile': {
- paramsType: [];
- returnType: Protocol.Memory.GetSamplingProfileResponse;
- };
- /**
- * Tells whether clearing browser cache is supported.
- */
- 'Network.canClearBrowserCache': {
- paramsType: [];
- returnType: Protocol.Network.CanClearBrowserCacheResponse;
- };
- /**
- * Tells whether clearing browser cookies is supported.
- */
- 'Network.canClearBrowserCookies': {
- paramsType: [];
- returnType: Protocol.Network.CanClearBrowserCookiesResponse;
- };
- /**
- * Tells whether emulation of network conditions is supported.
- */
- 'Network.canEmulateNetworkConditions': {
- paramsType: [];
- returnType: Protocol.Network.CanEmulateNetworkConditionsResponse;
- };
- /**
- * Clears browser cache.
- */
- 'Network.clearBrowserCache': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Clears browser cookies.
- */
- 'Network.clearBrowserCookies': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Response to Network.requestIntercepted which either modifies the request to continue with any
- * modifications, or blocks it, or completes it with the provided response bytes. If a network
- * fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
- * event will be sent with the same InterceptionId.
- * Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
- */
- 'Network.continueInterceptedRequest': {
- paramsType: [Protocol.Network.ContinueInterceptedRequestRequest];
- returnType: void;
- };
- /**
- * Deletes browser cookies with matching name and url or domain/path pair.
- */
- 'Network.deleteCookies': {
- paramsType: [Protocol.Network.DeleteCookiesRequest];
- returnType: void;
- };
- /**
- * Disables network tracking, prevents network events from being sent to the client.
- */
- 'Network.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Activates emulation of network conditions.
- */
- 'Network.emulateNetworkConditions': {
- paramsType: [Protocol.Network.EmulateNetworkConditionsRequest];
- returnType: void;
- };
- /**
- * Enables network tracking, network events will now be delivered to the client.
- */
- 'Network.enable': {
- paramsType: [Protocol.Network.EnableRequest?];
- returnType: void;
- };
- /**
- * Returns all browser cookies. Depending on the backend support, will return detailed cookie
- * information in the `cookies` field.
- */
- 'Network.getAllCookies': {
- paramsType: [];
- returnType: Protocol.Network.GetAllCookiesResponse;
- };
- /**
- * Returns the DER-encoded certificate.
- */
- 'Network.getCertificate': {
- paramsType: [Protocol.Network.GetCertificateRequest];
- returnType: Protocol.Network.GetCertificateResponse;
- };
- /**
- * Returns all browser cookies for the current URL. Depending on the backend support, will return
- * detailed cookie information in the `cookies` field.
- */
- 'Network.getCookies': {
- paramsType: [Protocol.Network.GetCookiesRequest?];
- returnType: Protocol.Network.GetCookiesResponse;
- };
- /**
- * Returns content served for the given request.
- */
- 'Network.getResponseBody': {
- paramsType: [Protocol.Network.GetResponseBodyRequest];
- returnType: Protocol.Network.GetResponseBodyResponse;
- };
- /**
- * Returns post data sent with the request. Returns an error when no data was sent with the request.
- */
- 'Network.getRequestPostData': {
- paramsType: [Protocol.Network.GetRequestPostDataRequest];
- returnType: Protocol.Network.GetRequestPostDataResponse;
- };
- /**
- * Returns content served for the given currently intercepted request.
- */
- 'Network.getResponseBodyForInterception': {
- paramsType: [Protocol.Network.GetResponseBodyForInterceptionRequest];
- returnType: Protocol.Network.GetResponseBodyForInterceptionResponse;
- };
- /**
- * Returns a handle to the stream representing the response body. Note that after this command,
- * the intercepted request can't be continued as is -- you either need to cancel it or to provide
- * the response body. The stream only supports sequential read, IO.read will fail if the position
- * is specified.
- */
- 'Network.takeResponseBodyForInterceptionAsStream': {
- paramsType: [Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest];
- returnType: Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse;
- };
- /**
- * This method sends a new XMLHttpRequest which is identical to the original one. The following
- * parameters should be identical: method, url, async, request body, extra headers, withCredentials
- * attribute, user, password.
- */
- 'Network.replayXHR': {
- paramsType: [Protocol.Network.ReplayXHRRequest];
- returnType: void;
- };
- /**
- * Searches for given string in response content.
- */
- 'Network.searchInResponseBody': {
- paramsType: [Protocol.Network.SearchInResponseBodyRequest];
- returnType: Protocol.Network.SearchInResponseBodyResponse;
- };
- /**
- * Blocks URLs from loading.
- */
- 'Network.setBlockedURLs': {
- paramsType: [Protocol.Network.SetBlockedURLsRequest];
- returnType: void;
- };
- /**
- * Toggles ignoring of service worker for each request.
- */
- 'Network.setBypassServiceWorker': {
- paramsType: [Protocol.Network.SetBypassServiceWorkerRequest];
- returnType: void;
- };
- /**
- * Toggles ignoring cache for each request. If `true`, cache will not be used.
- */
- 'Network.setCacheDisabled': {
- paramsType: [Protocol.Network.SetCacheDisabledRequest];
- returnType: void;
- };
- /**
- * Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
- */
- 'Network.setCookie': {
- paramsType: [Protocol.Network.SetCookieRequest];
- returnType: Protocol.Network.SetCookieResponse;
- };
- /**
- * Sets given cookies.
- */
- 'Network.setCookies': {
- paramsType: [Protocol.Network.SetCookiesRequest];
- returnType: void;
- };
- /**
- * For testing.
- */
- 'Network.setDataSizeLimitsForTest': {
- paramsType: [Protocol.Network.SetDataSizeLimitsForTestRequest];
- returnType: void;
- };
- /**
- * Specifies whether to always send extra HTTP headers with the requests from this page.
- */
- 'Network.setExtraHTTPHeaders': {
- paramsType: [Protocol.Network.SetExtraHTTPHeadersRequest];
- returnType: void;
- };
- /**
- * Specifies whether to sned a debug header to all outgoing requests.
- */
- 'Network.setAttachDebugHeader': {
- paramsType: [Protocol.Network.SetAttachDebugHeaderRequest];
- returnType: void;
- };
- /**
- * Sets the requests to intercept that match the provided patterns and optionally resource types.
- * Deprecated, please use Fetch.enable instead.
- */
- 'Network.setRequestInterception': {
- paramsType: [Protocol.Network.SetRequestInterceptionRequest];
- returnType: void;
- };
- /**
- * Allows overriding user agent with the given string.
- */
- 'Network.setUserAgentOverride': {
- paramsType: [Protocol.Network.SetUserAgentOverrideRequest];
- returnType: void;
- };
- /**
- * Returns information about the COEP/COOP isolation status.
- */
- 'Network.getSecurityIsolationStatus': {
- paramsType: [Protocol.Network.GetSecurityIsolationStatusRequest?];
- returnType: Protocol.Network.GetSecurityIsolationStatusResponse;
- };
- /**
- * Fetches the resource and returns the content.
- */
- 'Network.loadNetworkResource': {
- paramsType: [Protocol.Network.LoadNetworkResourceRequest];
- returnType: Protocol.Network.LoadNetworkResourceResponse;
- };
- /**
- * Disables domain notifications.
- */
- 'Overlay.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables domain notifications.
- */
- 'Overlay.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * For testing.
- */
- 'Overlay.getHighlightObjectForTest': {
- paramsType: [Protocol.Overlay.GetHighlightObjectForTestRequest];
- returnType: Protocol.Overlay.GetHighlightObjectForTestResponse;
- };
- /**
- * For Persistent Grid testing.
- */
- 'Overlay.getGridHighlightObjectsForTest': {
- paramsType: [Protocol.Overlay.GetGridHighlightObjectsForTestRequest];
- returnType: Protocol.Overlay.GetGridHighlightObjectsForTestResponse;
- };
- /**
- * For Source Order Viewer testing.
- */
- 'Overlay.getSourceOrderHighlightObjectForTest': {
- paramsType: [Protocol.Overlay.GetSourceOrderHighlightObjectForTestRequest];
- returnType: Protocol.Overlay.GetSourceOrderHighlightObjectForTestResponse;
- };
- /**
- * Hides any highlight.
- */
- 'Overlay.hideHighlight': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Highlights owner element of the frame with given id.
- */
- 'Overlay.highlightFrame': {
- paramsType: [Protocol.Overlay.HighlightFrameRequest];
- returnType: void;
- };
- /**
- * Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
- * objectId must be specified.
- */
- 'Overlay.highlightNode': {
- paramsType: [Protocol.Overlay.HighlightNodeRequest];
- returnType: void;
- };
- /**
- * Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
- */
- 'Overlay.highlightQuad': {
- paramsType: [Protocol.Overlay.HighlightQuadRequest];
- returnType: void;
- };
- /**
- * Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
- */
- 'Overlay.highlightRect': {
- paramsType: [Protocol.Overlay.HighlightRectRequest];
- returnType: void;
- };
- /**
- * Highlights the source order of the children of the DOM node with given id or with the given
- * JavaScript object wrapper. Either nodeId or objectId must be specified.
- */
- 'Overlay.highlightSourceOrder': {
- paramsType: [Protocol.Overlay.HighlightSourceOrderRequest];
- returnType: void;
- };
- /**
- * Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.
- * Backend then generates 'inspectNodeRequested' event upon element selection.
- */
- 'Overlay.setInspectMode': {
- paramsType: [Protocol.Overlay.SetInspectModeRequest];
- returnType: void;
- };
- /**
- * Highlights owner element of all frames detected to be ads.
- */
- 'Overlay.setShowAdHighlights': {
- paramsType: [Protocol.Overlay.SetShowAdHighlightsRequest];
- returnType: void;
- };
- 'Overlay.setPausedInDebuggerMessage': {
- paramsType: [Protocol.Overlay.SetPausedInDebuggerMessageRequest?];
- returnType: void;
- };
- /**
- * Requests that backend shows debug borders on layers
- */
- 'Overlay.setShowDebugBorders': {
- paramsType: [Protocol.Overlay.SetShowDebugBordersRequest];
- returnType: void;
- };
- /**
- * Requests that backend shows the FPS counter
- */
- 'Overlay.setShowFPSCounter': {
- paramsType: [Protocol.Overlay.SetShowFPSCounterRequest];
- returnType: void;
- };
- /**
- * Highlight multiple elements with the CSS Grid overlay.
- */
- 'Overlay.setShowGridOverlays': {
- paramsType: [Protocol.Overlay.SetShowGridOverlaysRequest];
- returnType: void;
- };
- /**
- * Requests that backend shows paint rectangles
- */
- 'Overlay.setShowPaintRects': {
- paramsType: [Protocol.Overlay.SetShowPaintRectsRequest];
- returnType: void;
- };
- /**
- * Requests that backend shows layout shift regions
- */
- 'Overlay.setShowLayoutShiftRegions': {
- paramsType: [Protocol.Overlay.SetShowLayoutShiftRegionsRequest];
- returnType: void;
- };
- /**
- * Requests that backend shows scroll bottleneck rects
- */
- 'Overlay.setShowScrollBottleneckRects': {
- paramsType: [Protocol.Overlay.SetShowScrollBottleneckRectsRequest];
- returnType: void;
- };
- /**
- * Requests that backend shows hit-test borders on layers
- */
- 'Overlay.setShowHitTestBorders': {
- paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest];
- returnType: void;
- };
- /**
- * Paints viewport size upon main frame resize.
- */
- 'Overlay.setShowViewportSizeOnResize': {
- paramsType: [Protocol.Overlay.SetShowViewportSizeOnResizeRequest];
- returnType: void;
- };
- /**
- * Add a dual screen device hinge
- */
- 'Overlay.setShowHinge': {
- paramsType: [Protocol.Overlay.SetShowHingeRequest?];
- returnType: void;
- };
- /**
- * Deprecated, please use addScriptToEvaluateOnNewDocument instead.
- */
- 'Page.addScriptToEvaluateOnLoad': {
- paramsType: [Protocol.Page.AddScriptToEvaluateOnLoadRequest];
- returnType: Protocol.Page.AddScriptToEvaluateOnLoadResponse;
- };
- /**
- * Evaluates given script in every frame upon creation (before loading frame's scripts).
- */
- 'Page.addScriptToEvaluateOnNewDocument': {
- paramsType: [Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest];
- returnType: Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse;
- };
- /**
- * Brings page to front (activates tab).
- */
- 'Page.bringToFront': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Capture page screenshot.
- */
- 'Page.captureScreenshot': {
- paramsType: [Protocol.Page.CaptureScreenshotRequest?];
- returnType: Protocol.Page.CaptureScreenshotResponse;
- };
- /**
- * Returns a snapshot of the page as a string. For MHTML format, the serialization includes
- * iframes, shadow DOM, external resources, and element-inline styles.
- */
- 'Page.captureSnapshot': {
- paramsType: [Protocol.Page.CaptureSnapshotRequest?];
- returnType: Protocol.Page.CaptureSnapshotResponse;
- };
- /**
- * Clears the overriden device metrics.
- */
- 'Page.clearDeviceMetricsOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Clears the overridden Device Orientation.
- */
- 'Page.clearDeviceOrientationOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Clears the overriden Geolocation Position and Error.
- */
- 'Page.clearGeolocationOverride': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Creates an isolated world for the given frame.
- */
- 'Page.createIsolatedWorld': {
- paramsType: [Protocol.Page.CreateIsolatedWorldRequest];
- returnType: Protocol.Page.CreateIsolatedWorldResponse;
- };
- /**
- * Deletes browser cookie with given name, domain and path.
- */
- 'Page.deleteCookie': {
- paramsType: [Protocol.Page.DeleteCookieRequest];
- returnType: void;
- };
- /**
- * Disables page domain notifications.
- */
- 'Page.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables page domain notifications.
- */
- 'Page.enable': {
- paramsType: [];
- returnType: void;
- };
- 'Page.getAppManifest': {
- paramsType: [];
- returnType: Protocol.Page.GetAppManifestResponse;
- };
- 'Page.getInstallabilityErrors': {
- paramsType: [];
- returnType: Protocol.Page.GetInstallabilityErrorsResponse;
- };
- 'Page.getManifestIcons': {
- paramsType: [];
- returnType: Protocol.Page.GetManifestIconsResponse;
- };
- /**
- * Returns all browser cookies. Depending on the backend support, will return detailed cookie
- * information in the `cookies` field.
- */
- 'Page.getCookies': {
- paramsType: [];
- returnType: Protocol.Page.GetCookiesResponse;
- };
- /**
- * Returns present frame tree structure.
- */
- 'Page.getFrameTree': {
- paramsType: [];
- returnType: Protocol.Page.GetFrameTreeResponse;
- };
- /**
- * Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
- */
- 'Page.getLayoutMetrics': {
- paramsType: [];
- returnType: Protocol.Page.GetLayoutMetricsResponse;
- };
- /**
- * Returns navigation history for the current page.
- */
- 'Page.getNavigationHistory': {
- paramsType: [];
- returnType: Protocol.Page.GetNavigationHistoryResponse;
- };
- /**
- * Resets navigation history for the current page.
- */
- 'Page.resetNavigationHistory': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Returns content of the given resource.
- */
- 'Page.getResourceContent': {
- paramsType: [Protocol.Page.GetResourceContentRequest];
- returnType: Protocol.Page.GetResourceContentResponse;
- };
- /**
- * Returns present frame / resource tree structure.
- */
- 'Page.getResourceTree': {
- paramsType: [];
- returnType: Protocol.Page.GetResourceTreeResponse;
- };
- /**
- * Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
- */
- 'Page.handleJavaScriptDialog': {
- paramsType: [Protocol.Page.HandleJavaScriptDialogRequest];
- returnType: void;
- };
- /**
- * Navigates current page to the given URL.
- */
- 'Page.navigate': {
- paramsType: [Protocol.Page.NavigateRequest];
- returnType: Protocol.Page.NavigateResponse;
- };
- /**
- * Navigates current page to the given history entry.
- */
- 'Page.navigateToHistoryEntry': {
- paramsType: [Protocol.Page.NavigateToHistoryEntryRequest];
- returnType: void;
- };
- /**
- * Print page as PDF.
- */
- 'Page.printToPDF': {
- paramsType: [Protocol.Page.PrintToPDFRequest?];
- returnType: Protocol.Page.PrintToPDFResponse;
- };
- /**
- * Reloads given page optionally ignoring the cache.
- */
- 'Page.reload': {
- paramsType: [Protocol.Page.ReloadRequest?];
- returnType: void;
- };
- /**
- * Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
- */
- 'Page.removeScriptToEvaluateOnLoad': {
- paramsType: [Protocol.Page.RemoveScriptToEvaluateOnLoadRequest];
- returnType: void;
- };
- /**
- * Removes given script from the list.
- */
- 'Page.removeScriptToEvaluateOnNewDocument': {
- paramsType: [Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest];
- returnType: void;
- };
- /**
- * Acknowledges that a screencast frame has been received by the frontend.
- */
- 'Page.screencastFrameAck': {
- paramsType: [Protocol.Page.ScreencastFrameAckRequest];
- returnType: void;
- };
- /**
- * Searches for given string in resource content.
- */
- 'Page.searchInResource': {
- paramsType: [Protocol.Page.SearchInResourceRequest];
- returnType: Protocol.Page.SearchInResourceResponse;
- };
- /**
- * Enable Chrome's experimental ad filter on all sites.
- */
- 'Page.setAdBlockingEnabled': {
- paramsType: [Protocol.Page.SetAdBlockingEnabledRequest];
- returnType: void;
- };
- /**
- * Enable page Content Security Policy by-passing.
- */
- 'Page.setBypassCSP': {
- paramsType: [Protocol.Page.SetBypassCSPRequest];
- returnType: void;
- };
- /**
- * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
- * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
- * query results).
- */
- 'Page.setDeviceMetricsOverride': {
- paramsType: [Protocol.Page.SetDeviceMetricsOverrideRequest];
- returnType: void;
- };
- /**
- * Overrides the Device Orientation.
- */
- 'Page.setDeviceOrientationOverride': {
- paramsType: [Protocol.Page.SetDeviceOrientationOverrideRequest];
- returnType: void;
- };
- /**
- * Set generic font families.
- */
- 'Page.setFontFamilies': {
- paramsType: [Protocol.Page.SetFontFamiliesRequest];
- returnType: void;
- };
- /**
- * Set default font sizes.
- */
- 'Page.setFontSizes': {
- paramsType: [Protocol.Page.SetFontSizesRequest];
- returnType: void;
- };
- /**
- * Sets given markup as the document's HTML.
- */
- 'Page.setDocumentContent': {
- paramsType: [Protocol.Page.SetDocumentContentRequest];
- returnType: void;
- };
- /**
- * Set the behavior when downloading a file.
- */
- 'Page.setDownloadBehavior': {
- paramsType: [Protocol.Page.SetDownloadBehaviorRequest];
- returnType: void;
- };
- /**
- * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
- * unavailable.
- */
- 'Page.setGeolocationOverride': {
- paramsType: [Protocol.Page.SetGeolocationOverrideRequest?];
- returnType: void;
- };
- /**
- * Controls whether page will emit lifecycle events.
- */
- 'Page.setLifecycleEventsEnabled': {
- paramsType: [Protocol.Page.SetLifecycleEventsEnabledRequest];
- returnType: void;
- };
- /**
- * Toggles mouse event-based touch event emulation.
- */
- 'Page.setTouchEmulationEnabled': {
- paramsType: [Protocol.Page.SetTouchEmulationEnabledRequest];
- returnType: void;
- };
- /**
- * Starts sending each frame using the `screencastFrame` event.
- */
- 'Page.startScreencast': {
- paramsType: [Protocol.Page.StartScreencastRequest?];
- returnType: void;
- };
- /**
- * Force the page stop all navigations and pending resource fetches.
- */
- 'Page.stopLoading': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Crashes renderer on the IO thread, generates minidumps.
- */
- 'Page.crash': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Tries to close page, running its beforeunload hooks, if any.
- */
- 'Page.close': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Tries to update the web lifecycle state of the page.
- * It will transition the page to the given state according to:
- * https://github.com/WICG/web-lifecycle/
- */
- 'Page.setWebLifecycleState': {
- paramsType: [Protocol.Page.SetWebLifecycleStateRequest];
- returnType: void;
- };
- /**
- * Stops sending each frame in the `screencastFrame`.
- */
- 'Page.stopScreencast': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Forces compilation cache to be generated for every subresource script.
- */
- 'Page.setProduceCompilationCache': {
- paramsType: [Protocol.Page.SetProduceCompilationCacheRequest];
- returnType: void;
- };
- /**
- * Seeds compilation cache for given url. Compilation cache does not survive
- * cross-process navigation.
- */
- 'Page.addCompilationCache': {
- paramsType: [Protocol.Page.AddCompilationCacheRequest];
- returnType: void;
- };
- /**
- * Clears seeded compilation cache.
- */
- 'Page.clearCompilationCache': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Generates a report for testing.
- */
- 'Page.generateTestReport': {
- paramsType: [Protocol.Page.GenerateTestReportRequest];
- returnType: void;
- };
- /**
- * Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
- */
- 'Page.waitForDebugger': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Intercept file chooser requests and transfer control to protocol clients.
- * When file chooser interception is enabled, native file chooser dialog is not shown.
- * Instead, a protocol event `Page.fileChooserOpened` is emitted.
- */
- 'Page.setInterceptFileChooserDialog': {
- paramsType: [Protocol.Page.SetInterceptFileChooserDialogRequest];
- returnType: void;
- };
- /**
- * Disable collecting and reporting metrics.
- */
- 'Performance.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enable collecting and reporting metrics.
- */
- 'Performance.enable': {
- paramsType: [Protocol.Performance.EnableRequest?];
- returnType: void;
- };
- /**
- * Sets time domain to use for collecting and reporting duration metrics.
- * Note that this must be called before enabling metrics collection. Calling
- * this method while metrics collection is enabled returns an error.
- */
- 'Performance.setTimeDomain': {
- paramsType: [Protocol.Performance.SetTimeDomainRequest];
- returnType: void;
- };
- /**
- * Retrieve current values of run-time metrics.
- */
- 'Performance.getMetrics': {
- paramsType: [];
- returnType: Protocol.Performance.GetMetricsResponse;
- };
- /**
- * Disables tracking security state changes.
- */
- 'Security.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables tracking security state changes.
- */
- 'Security.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enable/disable whether all certificate errors should be ignored.
- */
- 'Security.setIgnoreCertificateErrors': {
- paramsType: [Protocol.Security.SetIgnoreCertificateErrorsRequest];
- returnType: void;
- };
- /**
- * Handles a certificate error that fired a certificateError event.
- */
- 'Security.handleCertificateError': {
- paramsType: [Protocol.Security.HandleCertificateErrorRequest];
- returnType: void;
- };
- /**
- * Enable/disable overriding certificate errors. If enabled, all certificate error events need to
- * be handled by the DevTools client and should be answered with `handleCertificateError` commands.
- */
- 'Security.setOverrideCertificateErrors': {
- paramsType: [Protocol.Security.SetOverrideCertificateErrorsRequest];
- returnType: void;
- };
- 'ServiceWorker.deliverPushMessage': {
- paramsType: [Protocol.ServiceWorker.DeliverPushMessageRequest];
- returnType: void;
- };
- 'ServiceWorker.disable': {
- paramsType: [];
- returnType: void;
- };
- 'ServiceWorker.dispatchSyncEvent': {
- paramsType: [Protocol.ServiceWorker.DispatchSyncEventRequest];
- returnType: void;
- };
- 'ServiceWorker.dispatchPeriodicSyncEvent': {
- paramsType: [Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest];
- returnType: void;
- };
- 'ServiceWorker.enable': {
- paramsType: [];
- returnType: void;
- };
- 'ServiceWorker.inspectWorker': {
- paramsType: [Protocol.ServiceWorker.InspectWorkerRequest];
- returnType: void;
- };
- 'ServiceWorker.setForceUpdateOnPageLoad': {
- paramsType: [Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest];
- returnType: void;
- };
- 'ServiceWorker.skipWaiting': {
- paramsType: [Protocol.ServiceWorker.SkipWaitingRequest];
- returnType: void;
- };
- 'ServiceWorker.startWorker': {
- paramsType: [Protocol.ServiceWorker.StartWorkerRequest];
- returnType: void;
- };
- 'ServiceWorker.stopAllWorkers': {
- paramsType: [];
- returnType: void;
- };
- 'ServiceWorker.stopWorker': {
- paramsType: [Protocol.ServiceWorker.StopWorkerRequest];
- returnType: void;
- };
- 'ServiceWorker.unregister': {
- paramsType: [Protocol.ServiceWorker.UnregisterRequest];
- returnType: void;
- };
- 'ServiceWorker.updateRegistration': {
- paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
- returnType: void;
- };
- /**
- * Clears storage for origin.
- */
- 'Storage.clearDataForOrigin': {
- paramsType: [Protocol.Storage.ClearDataForOriginRequest];
- returnType: void;
- };
- /**
- * Returns all browser cookies.
- */
- 'Storage.getCookies': {
- paramsType: [Protocol.Storage.GetCookiesRequest?];
- returnType: Protocol.Storage.GetCookiesResponse;
- };
- /**
- * Sets given cookies.
- */
- 'Storage.setCookies': {
- paramsType: [Protocol.Storage.SetCookiesRequest];
- returnType: void;
- };
- /**
- * Clears cookies.
- */
- 'Storage.clearCookies': {
- paramsType: [Protocol.Storage.ClearCookiesRequest?];
- returnType: void;
- };
- /**
- * Returns usage and quota in bytes.
- */
- 'Storage.getUsageAndQuota': {
- paramsType: [Protocol.Storage.GetUsageAndQuotaRequest];
- returnType: Protocol.Storage.GetUsageAndQuotaResponse;
- };
- /**
- * Override quota for the specified origin
- */
- 'Storage.overrideQuotaForOrigin': {
- paramsType: [Protocol.Storage.OverrideQuotaForOriginRequest];
- returnType: void;
- };
- /**
- * Registers origin to be notified when an update occurs to its cache storage list.
- */
- 'Storage.trackCacheStorageForOrigin': {
- paramsType: [Protocol.Storage.TrackCacheStorageForOriginRequest];
- returnType: void;
- };
- /**
- * Registers origin to be notified when an update occurs to its IndexedDB.
- */
- 'Storage.trackIndexedDBForOrigin': {
- paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
- returnType: void;
- };
- /**
- * Unregisters origin from receiving notifications for cache storage.
- */
- 'Storage.untrackCacheStorageForOrigin': {
- paramsType: [Protocol.Storage.UntrackCacheStorageForOriginRequest];
- returnType: void;
- };
- /**
- * Unregisters origin from receiving notifications for IndexedDB.
- */
- 'Storage.untrackIndexedDBForOrigin': {
- paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
- returnType: void;
- };
- /**
- * Returns information about the system.
- */
- 'SystemInfo.getInfo': {
- paramsType: [];
- returnType: Protocol.SystemInfo.GetInfoResponse;
- };
- /**
- * Returns information about all running processes.
- */
- 'SystemInfo.getProcessInfo': {
- paramsType: [];
- returnType: Protocol.SystemInfo.GetProcessInfoResponse;
- };
- /**
- * Activates (focuses) the target.
- */
- 'Target.activateTarget': {
- paramsType: [Protocol.Target.ActivateTargetRequest];
- returnType: void;
- };
- /**
- * Attaches to the target with given id.
- */
- 'Target.attachToTarget': {
- paramsType: [Protocol.Target.AttachToTargetRequest];
- returnType: Protocol.Target.AttachToTargetResponse;
- };
- /**
- * Attaches to the browser target, only uses flat sessionId mode.
- */
- 'Target.attachToBrowserTarget': {
- paramsType: [];
- returnType: Protocol.Target.AttachToBrowserTargetResponse;
- };
- /**
- * Closes the target. If the target is a page that gets closed too.
- */
- 'Target.closeTarget': {
- paramsType: [Protocol.Target.CloseTargetRequest];
- returnType: Protocol.Target.CloseTargetResponse;
- };
- /**
- * Inject object to the target's main frame that provides a communication
- * channel with browser target.
- *
- * Injected object will be available as `window[bindingName]`.
- *
- * The object has the follwing API:
- * - `binding.send(json)` - a method to send messages over the remote debugging protocol
- * - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
- */
- 'Target.exposeDevToolsProtocol': {
- paramsType: [Protocol.Target.ExposeDevToolsProtocolRequest];
- returnType: void;
- };
- /**
- * Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
- * one.
- */
- 'Target.createBrowserContext': {
- paramsType: [Protocol.Target.CreateBrowserContextRequest?];
- returnType: Protocol.Target.CreateBrowserContextResponse;
- };
- /**
- * Returns all browser contexts created with `Target.createBrowserContext` method.
- */
- 'Target.getBrowserContexts': {
- paramsType: [];
- returnType: Protocol.Target.GetBrowserContextsResponse;
- };
- /**
- * Creates a new page.
- */
- 'Target.createTarget': {
- paramsType: [Protocol.Target.CreateTargetRequest];
- returnType: Protocol.Target.CreateTargetResponse;
- };
- /**
- * Detaches session with given id.
- */
- 'Target.detachFromTarget': {
- paramsType: [Protocol.Target.DetachFromTargetRequest?];
- returnType: void;
- };
- /**
- * Deletes a BrowserContext. All the belonging pages will be closed without calling their
- * beforeunload hooks.
- */
- 'Target.disposeBrowserContext': {
- paramsType: [Protocol.Target.DisposeBrowserContextRequest];
- returnType: void;
- };
- /**
- * Returns information about a target.
- */
- 'Target.getTargetInfo': {
- paramsType: [Protocol.Target.GetTargetInfoRequest?];
- returnType: Protocol.Target.GetTargetInfoResponse;
- };
- /**
- * Retrieves a list of available targets.
- */
- 'Target.getTargets': {
- paramsType: [];
- returnType: Protocol.Target.GetTargetsResponse;
- };
- /**
- * Sends protocol message over session with given id.
- * Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
- * and crbug.com/991325.
- */
- 'Target.sendMessageToTarget': {
- paramsType: [Protocol.Target.SendMessageToTargetRequest];
- returnType: void;
- };
- /**
- * Controls whether to automatically attach to new targets which are considered to be related to
- * this one. When turned on, attaches to all existing related targets as well. When turned off,
- * automatically detaches from all currently attached targets.
- */
- 'Target.setAutoAttach': {
- paramsType: [Protocol.Target.SetAutoAttachRequest];
- returnType: void;
- };
- /**
- * Controls whether to discover available targets and notify via
- * `targetCreated/targetInfoChanged/targetDestroyed` events.
- */
- 'Target.setDiscoverTargets': {
- paramsType: [Protocol.Target.SetDiscoverTargetsRequest];
- returnType: void;
- };
- /**
- * Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
- * `true`.
- */
- 'Target.setRemoteLocations': {
- paramsType: [Protocol.Target.SetRemoteLocationsRequest];
- returnType: void;
- };
- /**
- * Request browser port binding.
- */
- 'Tethering.bind': {
- paramsType: [Protocol.Tethering.BindRequest];
- returnType: void;
- };
- /**
- * Request browser port unbinding.
- */
- 'Tethering.unbind': {
- paramsType: [Protocol.Tethering.UnbindRequest];
- returnType: void;
- };
- /**
- * Stop trace events collection.
- */
- 'Tracing.end': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Gets supported tracing categories.
- */
- 'Tracing.getCategories': {
- paramsType: [];
- returnType: Protocol.Tracing.GetCategoriesResponse;
- };
- /**
- * Record a clock sync marker in the trace.
- */
- 'Tracing.recordClockSyncMarker': {
- paramsType: [Protocol.Tracing.RecordClockSyncMarkerRequest];
- returnType: void;
- };
- /**
- * Request a global memory dump.
- */
- 'Tracing.requestMemoryDump': {
- paramsType: [Protocol.Tracing.RequestMemoryDumpRequest?];
- returnType: Protocol.Tracing.RequestMemoryDumpResponse;
- };
- /**
- * Start trace events collection.
- */
- 'Tracing.start': {
- paramsType: [Protocol.Tracing.StartRequest?];
- returnType: void;
- };
- /**
- * Disables the fetch domain.
- */
- 'Fetch.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Enables issuing of requestPaused events. A request will be paused until client
- * calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
- */
- 'Fetch.enable': {
- paramsType: [Protocol.Fetch.EnableRequest?];
- returnType: void;
- };
- /**
- * Causes the request to fail with specified reason.
- */
- 'Fetch.failRequest': {
- paramsType: [Protocol.Fetch.FailRequestRequest];
- returnType: void;
- };
- /**
- * Provides response to the request.
- */
- 'Fetch.fulfillRequest': {
- paramsType: [Protocol.Fetch.FulfillRequestRequest];
- returnType: void;
- };
- /**
- * Continues the request, optionally modifying some of its parameters.
- */
- 'Fetch.continueRequest': {
- paramsType: [Protocol.Fetch.ContinueRequestRequest];
- returnType: void;
- };
- /**
- * Continues a request supplying authChallengeResponse following authRequired event.
- */
- 'Fetch.continueWithAuth': {
- paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
- returnType: void;
- };
- /**
- * Causes the body of the response to be received from the server and
- * returned as a single string. May only be issued for a request that
- * is paused in the Response stage and is mutually exclusive with
- * takeResponseBodyForInterceptionAsStream. Calling other methods that
- * affect the request or disabling fetch domain before body is received
- * results in an undefined behavior.
- */
- 'Fetch.getResponseBody': {
- paramsType: [Protocol.Fetch.GetResponseBodyRequest];
- returnType: Protocol.Fetch.GetResponseBodyResponse;
- };
- /**
- * Returns a handle to the stream representing the response body.
- * The request must be paused in the HeadersReceived stage.
- * Note that after this command the request can't be continued
- * as is -- client either needs to cancel it or to provide the
- * response body.
- * The stream only supports sequential read, IO.read will fail if the position
- * is specified.
- * This method is mutually exclusive with getResponseBody.
- * Calling other methods that affect the request or disabling fetch
- * domain before body is received results in an undefined behavior.
- */
- 'Fetch.takeResponseBodyAsStream': {
- paramsType: [Protocol.Fetch.TakeResponseBodyAsStreamRequest];
- returnType: Protocol.Fetch.TakeResponseBodyAsStreamResponse;
- };
- /**
- * Enables the WebAudio domain and starts sending context lifetime events.
- */
- 'WebAudio.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disables the WebAudio domain.
- */
- 'WebAudio.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Fetch the realtime data from the registered contexts.
- */
- 'WebAudio.getRealtimeData': {
- paramsType: [Protocol.WebAudio.GetRealtimeDataRequest];
- returnType: Protocol.WebAudio.GetRealtimeDataResponse;
- };
- /**
- * Enable the WebAuthn domain and start intercepting credential storage and
- * retrieval with a virtual authenticator.
- */
- 'WebAuthn.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disable the WebAuthn domain.
- */
- 'WebAuthn.disable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Creates and adds a virtual authenticator.
- */
- 'WebAuthn.addVirtualAuthenticator': {
- paramsType: [Protocol.WebAuthn.AddVirtualAuthenticatorRequest];
- returnType: Protocol.WebAuthn.AddVirtualAuthenticatorResponse;
- };
- /**
- * Removes the given authenticator.
- */
- 'WebAuthn.removeVirtualAuthenticator': {
- paramsType: [Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest];
- returnType: void;
- };
- /**
- * Adds the credential to the specified authenticator.
- */
- 'WebAuthn.addCredential': {
- paramsType: [Protocol.WebAuthn.AddCredentialRequest];
- returnType: void;
- };
- /**
- * Returns a single credential stored in the given virtual authenticator that
- * matches the credential ID.
- */
- 'WebAuthn.getCredential': {
- paramsType: [Protocol.WebAuthn.GetCredentialRequest];
- returnType: Protocol.WebAuthn.GetCredentialResponse;
- };
- /**
- * Returns all the credentials stored in the given virtual authenticator.
- */
- 'WebAuthn.getCredentials': {
- paramsType: [Protocol.WebAuthn.GetCredentialsRequest];
- returnType: Protocol.WebAuthn.GetCredentialsResponse;
- };
- /**
- * Removes a credential from the authenticator.
- */
- 'WebAuthn.removeCredential': {
- paramsType: [Protocol.WebAuthn.RemoveCredentialRequest];
- returnType: void;
- };
- /**
- * Clears all the credentials from the specified device.
- */
- 'WebAuthn.clearCredentials': {
- paramsType: [Protocol.WebAuthn.ClearCredentialsRequest];
- returnType: void;
- };
- /**
- * Sets whether User Verification succeeds or fails for an authenticator.
- * The default is true.
- */
- 'WebAuthn.setUserVerified': {
- paramsType: [Protocol.WebAuthn.SetUserVerifiedRequest];
- returnType: void;
- };
- /**
- * Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator.
- * The default is true.
- */
- 'WebAuthn.setAutomaticPresenceSimulation': {
- paramsType: [Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest];
- returnType: void;
- };
- /**
- * Enables the Media domain
- */
- 'Media.enable': {
- paramsType: [];
- returnType: void;
- };
- /**
- * Disables the Media domain.
- */
- 'Media.disable': {
- paramsType: [];
- returnType: void;
- };
- }
- }
-
- export default ProtocolMapping;
|