Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

protocol-mapping.d.ts 150KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115
  1. /**********************************************************************
  2. * Auto-generated by protocol-dts-generator.ts, do not edit manually. *
  3. **********************************************************************/
  4. import Protocol from './protocol'
  5. /**
  6. * Mappings from protocol event and command names to the types required for them.
  7. */
  8. export namespace ProtocolMapping {
  9. export interface Events {
  10. /**
  11. * Issued when new console message is added.
  12. */
  13. 'Console.messageAdded': [Protocol.Console.MessageAddedEvent];
  14. /**
  15. * Fired when breakpoint is resolved to an actual script and location.
  16. */
  17. 'Debugger.breakpointResolved': [Protocol.Debugger.BreakpointResolvedEvent];
  18. /**
  19. * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
  20. */
  21. 'Debugger.paused': [Protocol.Debugger.PausedEvent];
  22. /**
  23. * Fired when the virtual machine resumed execution.
  24. */
  25. 'Debugger.resumed': [];
  26. /**
  27. * Fired when virtual machine fails to parse the script.
  28. */
  29. 'Debugger.scriptFailedToParse': [Protocol.Debugger.ScriptFailedToParseEvent];
  30. /**
  31. * Fired when virtual machine parses script. This event is also fired for all known and uncollected
  32. * scripts upon enabling debugger.
  33. */
  34. 'Debugger.scriptParsed': [Protocol.Debugger.ScriptParsedEvent];
  35. 'HeapProfiler.addHeapSnapshotChunk': [Protocol.HeapProfiler.AddHeapSnapshotChunkEvent];
  36. /**
  37. * If heap objects tracking has been started then backend may send update for one or more fragments
  38. */
  39. 'HeapProfiler.heapStatsUpdate': [Protocol.HeapProfiler.HeapStatsUpdateEvent];
  40. /**
  41. * If heap objects tracking has been started then backend regularly sends a current value for last
  42. * seen object id and corresponding timestamp. If the were changes in the heap since last event
  43. * then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
  44. */
  45. 'HeapProfiler.lastSeenObjectId': [Protocol.HeapProfiler.LastSeenObjectIdEvent];
  46. 'HeapProfiler.reportHeapSnapshotProgress': [Protocol.HeapProfiler.ReportHeapSnapshotProgressEvent];
  47. 'HeapProfiler.resetProfiles': [];
  48. 'Profiler.consoleProfileFinished': [Protocol.Profiler.ConsoleProfileFinishedEvent];
  49. /**
  50. * Sent when new profile recording is started using console.profile() call.
  51. */
  52. 'Profiler.consoleProfileStarted': [Protocol.Profiler.ConsoleProfileStartedEvent];
  53. /**
  54. * Reports coverage delta since the last poll (either from an event like this, or from
  55. * `takePreciseCoverage` for the current isolate. May only be sent if precise code
  56. * coverage has been started. This event can be trigged by the embedder to, for example,
  57. * trigger collection of coverage data immediatelly at a certain point in time.
  58. */
  59. 'Profiler.preciseCoverageDeltaUpdate': [Protocol.Profiler.PreciseCoverageDeltaUpdateEvent];
  60. /**
  61. * Notification is issued every time when binding is called.
  62. */
  63. 'Runtime.bindingCalled': [Protocol.Runtime.BindingCalledEvent];
  64. /**
  65. * Issued when console API was called.
  66. */
  67. 'Runtime.consoleAPICalled': [Protocol.Runtime.ConsoleAPICalledEvent];
  68. /**
  69. * Issued when unhandled exception was revoked.
  70. */
  71. 'Runtime.exceptionRevoked': [Protocol.Runtime.ExceptionRevokedEvent];
  72. /**
  73. * Issued when exception was thrown and unhandled.
  74. */
  75. 'Runtime.exceptionThrown': [Protocol.Runtime.ExceptionThrownEvent];
  76. /**
  77. * Issued when new execution context is created.
  78. */
  79. 'Runtime.executionContextCreated': [Protocol.Runtime.ExecutionContextCreatedEvent];
  80. /**
  81. * Issued when execution context is destroyed.
  82. */
  83. 'Runtime.executionContextDestroyed': [Protocol.Runtime.ExecutionContextDestroyedEvent];
  84. /**
  85. * Issued when all executionContexts were cleared in browser
  86. */
  87. 'Runtime.executionContextsCleared': [];
  88. /**
  89. * Issued when object should be inspected (for example, as a result of inspect() command line API
  90. * call).
  91. */
  92. 'Runtime.inspectRequested': [Protocol.Runtime.InspectRequestedEvent];
  93. /**
  94. * Event for when an animation has been cancelled.
  95. */
  96. 'Animation.animationCanceled': [Protocol.Animation.AnimationCanceledEvent];
  97. /**
  98. * Event for each animation that has been created.
  99. */
  100. 'Animation.animationCreated': [Protocol.Animation.AnimationCreatedEvent];
  101. /**
  102. * Event for animation that has been started.
  103. */
  104. 'Animation.animationStarted': [Protocol.Animation.AnimationStartedEvent];
  105. 'ApplicationCache.applicationCacheStatusUpdated': [Protocol.ApplicationCache.ApplicationCacheStatusUpdatedEvent];
  106. 'ApplicationCache.networkStateUpdated': [Protocol.ApplicationCache.NetworkStateUpdatedEvent];
  107. 'Audits.issueAdded': [Protocol.Audits.IssueAddedEvent];
  108. /**
  109. * Called when the recording state for the service has been updated.
  110. */
  111. 'BackgroundService.recordingStateChanged': [Protocol.BackgroundService.RecordingStateChangedEvent];
  112. /**
  113. * Called with all existing backgroundServiceEvents when enabled, and all new
  114. * events afterwards if enabled and recording.
  115. */
  116. 'BackgroundService.backgroundServiceEventReceived': [Protocol.BackgroundService.BackgroundServiceEventReceivedEvent];
  117. /**
  118. * Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
  119. * web font
  120. */
  121. 'CSS.fontsUpdated': [Protocol.CSS.FontsUpdatedEvent];
  122. /**
  123. * Fires whenever a MediaQuery result changes (for example, after a browser window has been
  124. * resized.) The current implementation considers only viewport-dependent media features.
  125. */
  126. 'CSS.mediaQueryResultChanged': [];
  127. /**
  128. * Fired whenever an active document stylesheet is added.
  129. */
  130. 'CSS.styleSheetAdded': [Protocol.CSS.StyleSheetAddedEvent];
  131. /**
  132. * Fired whenever a stylesheet is changed as a result of the client operation.
  133. */
  134. 'CSS.styleSheetChanged': [Protocol.CSS.StyleSheetChangedEvent];
  135. /**
  136. * Fired whenever an active document stylesheet is removed.
  137. */
  138. 'CSS.styleSheetRemoved': [Protocol.CSS.StyleSheetRemovedEvent];
  139. /**
  140. * This is fired whenever the list of available sinks changes. A sink is a
  141. * device or a software surface that you can cast to.
  142. */
  143. 'Cast.sinksUpdated': [Protocol.Cast.SinksUpdatedEvent];
  144. /**
  145. * This is fired whenever the outstanding issue/error message changes.
  146. * |issueMessage| is empty if there is no issue.
  147. */
  148. 'Cast.issueUpdated': [Protocol.Cast.IssueUpdatedEvent];
  149. /**
  150. * Fired when `Element`'s attribute is modified.
  151. */
  152. 'DOM.attributeModified': [Protocol.DOM.AttributeModifiedEvent];
  153. /**
  154. * Fired when `Element`'s attribute is removed.
  155. */
  156. 'DOM.attributeRemoved': [Protocol.DOM.AttributeRemovedEvent];
  157. /**
  158. * Mirrors `DOMCharacterDataModified` event.
  159. */
  160. 'DOM.characterDataModified': [Protocol.DOM.CharacterDataModifiedEvent];
  161. /**
  162. * Fired when `Container`'s child node count has changed.
  163. */
  164. 'DOM.childNodeCountUpdated': [Protocol.DOM.ChildNodeCountUpdatedEvent];
  165. /**
  166. * Mirrors `DOMNodeInserted` event.
  167. */
  168. 'DOM.childNodeInserted': [Protocol.DOM.ChildNodeInsertedEvent];
  169. /**
  170. * Mirrors `DOMNodeRemoved` event.
  171. */
  172. 'DOM.childNodeRemoved': [Protocol.DOM.ChildNodeRemovedEvent];
  173. /**
  174. * Called when distrubution is changed.
  175. */
  176. 'DOM.distributedNodesUpdated': [Protocol.DOM.DistributedNodesUpdatedEvent];
  177. /**
  178. * Fired when `Document` has been totally updated. Node ids are no longer valid.
  179. */
  180. 'DOM.documentUpdated': [];
  181. /**
  182. * Fired when `Element`'s inline style is modified via a CSS property modification.
  183. */
  184. 'DOM.inlineStyleInvalidated': [Protocol.DOM.InlineStyleInvalidatedEvent];
  185. /**
  186. * Called when a pseudo element is added to an element.
  187. */
  188. 'DOM.pseudoElementAdded': [Protocol.DOM.PseudoElementAddedEvent];
  189. /**
  190. * Called when a pseudo element is removed from an element.
  191. */
  192. 'DOM.pseudoElementRemoved': [Protocol.DOM.PseudoElementRemovedEvent];
  193. /**
  194. * Fired when backend wants to provide client with the missing DOM structure. This happens upon
  195. * most of the calls requesting node ids.
  196. */
  197. 'DOM.setChildNodes': [Protocol.DOM.SetChildNodesEvent];
  198. /**
  199. * Called when shadow root is popped from the element.
  200. */
  201. 'DOM.shadowRootPopped': [Protocol.DOM.ShadowRootPoppedEvent];
  202. /**
  203. * Called when shadow root is pushed into the element.
  204. */
  205. 'DOM.shadowRootPushed': [Protocol.DOM.ShadowRootPushedEvent];
  206. 'DOMStorage.domStorageItemAdded': [Protocol.DOMStorage.DomStorageItemAddedEvent];
  207. 'DOMStorage.domStorageItemRemoved': [Protocol.DOMStorage.DomStorageItemRemovedEvent];
  208. 'DOMStorage.domStorageItemUpdated': [Protocol.DOMStorage.DomStorageItemUpdatedEvent];
  209. 'DOMStorage.domStorageItemsCleared': [Protocol.DOMStorage.DomStorageItemsClearedEvent];
  210. 'Database.addDatabase': [Protocol.Database.AddDatabaseEvent];
  211. /**
  212. * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
  213. */
  214. 'Emulation.virtualTimeBudgetExpired': [];
  215. /**
  216. * Issued when the target starts or stops needing BeginFrames.
  217. * Deprecated. Issue beginFrame unconditionally instead and use result from
  218. * beginFrame to detect whether the frames were suppressed.
  219. */
  220. 'HeadlessExperimental.needsBeginFramesChanged': [Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent];
  221. /**
  222. * Fired when remote debugging connection is about to be terminated. Contains detach reason.
  223. */
  224. 'Inspector.detached': [Protocol.Inspector.DetachedEvent];
  225. /**
  226. * Fired when debugging target has crashed
  227. */
  228. 'Inspector.targetCrashed': [];
  229. /**
  230. * Fired when debugging target has reloaded after crash
  231. */
  232. 'Inspector.targetReloadedAfterCrash': [];
  233. 'LayerTree.layerPainted': [Protocol.LayerTree.LayerPaintedEvent];
  234. 'LayerTree.layerTreeDidChange': [Protocol.LayerTree.LayerTreeDidChangeEvent];
  235. /**
  236. * Issued when new message was logged.
  237. */
  238. 'Log.entryAdded': [Protocol.Log.EntryAddedEvent];
  239. /**
  240. * Fired when data chunk was received over the network.
  241. */
  242. 'Network.dataReceived': [Protocol.Network.DataReceivedEvent];
  243. /**
  244. * Fired when EventSource message is received.
  245. */
  246. 'Network.eventSourceMessageReceived': [Protocol.Network.EventSourceMessageReceivedEvent];
  247. /**
  248. * Fired when HTTP request has failed to load.
  249. */
  250. 'Network.loadingFailed': [Protocol.Network.LoadingFailedEvent];
  251. /**
  252. * Fired when HTTP request has finished loading.
  253. */
  254. 'Network.loadingFinished': [Protocol.Network.LoadingFinishedEvent];
  255. /**
  256. * Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
  257. * mocked.
  258. * Deprecated, use Fetch.requestPaused instead.
  259. */
  260. 'Network.requestIntercepted': [Protocol.Network.RequestInterceptedEvent];
  261. /**
  262. * Fired if request ended up loading from cache.
  263. */
  264. 'Network.requestServedFromCache': [Protocol.Network.RequestServedFromCacheEvent];
  265. /**
  266. * Fired when page is about to send HTTP request.
  267. */
  268. 'Network.requestWillBeSent': [Protocol.Network.RequestWillBeSentEvent];
  269. /**
  270. * Fired when resource loading priority is changed
  271. */
  272. 'Network.resourceChangedPriority': [Protocol.Network.ResourceChangedPriorityEvent];
  273. /**
  274. * Fired when a signed exchange was received over the network
  275. */
  276. 'Network.signedExchangeReceived': [Protocol.Network.SignedExchangeReceivedEvent];
  277. /**
  278. * Fired when HTTP response is available.
  279. */
  280. 'Network.responseReceived': [Protocol.Network.ResponseReceivedEvent];
  281. /**
  282. * Fired when WebSocket is closed.
  283. */
  284. 'Network.webSocketClosed': [Protocol.Network.WebSocketClosedEvent];
  285. /**
  286. * Fired upon WebSocket creation.
  287. */
  288. 'Network.webSocketCreated': [Protocol.Network.WebSocketCreatedEvent];
  289. /**
  290. * Fired when WebSocket message error occurs.
  291. */
  292. 'Network.webSocketFrameError': [Protocol.Network.WebSocketFrameErrorEvent];
  293. /**
  294. * Fired when WebSocket message is received.
  295. */
  296. 'Network.webSocketFrameReceived': [Protocol.Network.WebSocketFrameReceivedEvent];
  297. /**
  298. * Fired when WebSocket message is sent.
  299. */
  300. 'Network.webSocketFrameSent': [Protocol.Network.WebSocketFrameSentEvent];
  301. /**
  302. * Fired when WebSocket handshake response becomes available.
  303. */
  304. 'Network.webSocketHandshakeResponseReceived': [Protocol.Network.WebSocketHandshakeResponseReceivedEvent];
  305. /**
  306. * Fired when WebSocket is about to initiate handshake.
  307. */
  308. 'Network.webSocketWillSendHandshakeRequest': [Protocol.Network.WebSocketWillSendHandshakeRequestEvent];
  309. /**
  310. * Fired when additional information about a requestWillBeSent event is available from the
  311. * network stack. Not every requestWillBeSent event will have an additional
  312. * requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
  313. * or requestWillBeSentExtraInfo will be fired first for the same request.
  314. */
  315. 'Network.requestWillBeSentExtraInfo': [Protocol.Network.RequestWillBeSentExtraInfoEvent];
  316. /**
  317. * Fired when additional information about a responseReceived event is available from the network
  318. * stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
  319. * it, and responseReceivedExtraInfo may be fired before or after responseReceived.
  320. */
  321. 'Network.responseReceivedExtraInfo': [Protocol.Network.ResponseReceivedExtraInfoEvent];
  322. /**
  323. * Fired when the node should be inspected. This happens after call to `setInspectMode` or when
  324. * user manually inspects an element.
  325. */
  326. 'Overlay.inspectNodeRequested': [Protocol.Overlay.InspectNodeRequestedEvent];
  327. /**
  328. * Fired when the node should be highlighted. This happens after call to `setInspectMode`.
  329. */
  330. 'Overlay.nodeHighlightRequested': [Protocol.Overlay.NodeHighlightRequestedEvent];
  331. /**
  332. * Fired when user asks to capture screenshot of some area on the page.
  333. */
  334. 'Overlay.screenshotRequested': [Protocol.Overlay.ScreenshotRequestedEvent];
  335. /**
  336. * Fired when user cancels the inspect mode.
  337. */
  338. 'Overlay.inspectModeCanceled': [];
  339. 'Page.domContentEventFired': [Protocol.Page.DomContentEventFiredEvent];
  340. /**
  341. * Emitted only when `page.interceptFileChooser` is enabled.
  342. */
  343. 'Page.fileChooserOpened': [Protocol.Page.FileChooserOpenedEvent];
  344. /**
  345. * Fired when frame has been attached to its parent.
  346. */
  347. 'Page.frameAttached': [Protocol.Page.FrameAttachedEvent];
  348. /**
  349. * Fired when frame no longer has a scheduled navigation.
  350. */
  351. 'Page.frameClearedScheduledNavigation': [Protocol.Page.FrameClearedScheduledNavigationEvent];
  352. /**
  353. * Fired when frame has been detached from its parent.
  354. */
  355. 'Page.frameDetached': [Protocol.Page.FrameDetachedEvent];
  356. /**
  357. * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
  358. */
  359. 'Page.frameNavigated': [Protocol.Page.FrameNavigatedEvent];
  360. 'Page.frameResized': [];
  361. /**
  362. * Fired when a renderer-initiated navigation is requested.
  363. * Navigation may still be cancelled after the event is issued.
  364. */
  365. 'Page.frameRequestedNavigation': [Protocol.Page.FrameRequestedNavigationEvent];
  366. /**
  367. * Fired when frame schedules a potential navigation.
  368. */
  369. 'Page.frameScheduledNavigation': [Protocol.Page.FrameScheduledNavigationEvent];
  370. /**
  371. * Fired when frame has started loading.
  372. */
  373. 'Page.frameStartedLoading': [Protocol.Page.FrameStartedLoadingEvent];
  374. /**
  375. * Fired when frame has stopped loading.
  376. */
  377. 'Page.frameStoppedLoading': [Protocol.Page.FrameStoppedLoadingEvent];
  378. /**
  379. * Fired when page is about to start a download.
  380. */
  381. 'Page.downloadWillBegin': [Protocol.Page.DownloadWillBeginEvent];
  382. /**
  383. * Fired when download makes progress. Last call has |done| == true.
  384. */
  385. 'Page.downloadProgress': [Protocol.Page.DownloadProgressEvent];
  386. /**
  387. * Fired when interstitial page was hidden
  388. */
  389. 'Page.interstitialHidden': [];
  390. /**
  391. * Fired when interstitial page was shown
  392. */
  393. 'Page.interstitialShown': [];
  394. /**
  395. * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
  396. * closed.
  397. */
  398. 'Page.javascriptDialogClosed': [Protocol.Page.JavascriptDialogClosedEvent];
  399. /**
  400. * Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
  401. * open.
  402. */
  403. 'Page.javascriptDialogOpening': [Protocol.Page.JavascriptDialogOpeningEvent];
  404. /**
  405. * Fired for top level page lifecycle events such as navigation, load, paint, etc.
  406. */
  407. 'Page.lifecycleEvent': [Protocol.Page.LifecycleEventEvent];
  408. 'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
  409. /**
  410. * Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
  411. */
  412. 'Page.navigatedWithinDocument': [Protocol.Page.NavigatedWithinDocumentEvent];
  413. /**
  414. * Compressed image data requested by the `startScreencast`.
  415. */
  416. 'Page.screencastFrame': [Protocol.Page.ScreencastFrameEvent];
  417. /**
  418. * Fired when the page with currently enabled screencast was shown or hidden `.
  419. */
  420. 'Page.screencastVisibilityChanged': [Protocol.Page.ScreencastVisibilityChangedEvent];
  421. /**
  422. * Fired when a new window is going to be opened, via window.open(), link click, form submission,
  423. * etc.
  424. */
  425. 'Page.windowOpen': [Protocol.Page.WindowOpenEvent];
  426. /**
  427. * Issued for every compilation cache generated. Is only available
  428. * if Page.setGenerateCompilationCache is enabled.
  429. */
  430. 'Page.compilationCacheProduced': [Protocol.Page.CompilationCacheProducedEvent];
  431. /**
  432. * Current values of the metrics.
  433. */
  434. 'Performance.metrics': [Protocol.Performance.MetricsEvent];
  435. /**
  436. * There is a certificate error. If overriding certificate errors is enabled, then it should be
  437. * handled with the `handleCertificateError` command. Note: this event does not fire if the
  438. * certificate error has been allowed internally. Only one client per target should override
  439. * certificate errors at the same time.
  440. */
  441. 'Security.certificateError': [Protocol.Security.CertificateErrorEvent];
  442. /**
  443. * The security state of the page changed.
  444. */
  445. 'Security.visibleSecurityStateChanged': [Protocol.Security.VisibleSecurityStateChangedEvent];
  446. /**
  447. * The security state of the page changed.
  448. */
  449. 'Security.securityStateChanged': [Protocol.Security.SecurityStateChangedEvent];
  450. 'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
  451. 'ServiceWorker.workerRegistrationUpdated': [Protocol.ServiceWorker.WorkerRegistrationUpdatedEvent];
  452. 'ServiceWorker.workerVersionUpdated': [Protocol.ServiceWorker.WorkerVersionUpdatedEvent];
  453. /**
  454. * A cache's contents have been modified.
  455. */
  456. 'Storage.cacheStorageContentUpdated': [Protocol.Storage.CacheStorageContentUpdatedEvent];
  457. /**
  458. * A cache has been added/deleted.
  459. */
  460. 'Storage.cacheStorageListUpdated': [Protocol.Storage.CacheStorageListUpdatedEvent];
  461. /**
  462. * The origin's IndexedDB object store has been modified.
  463. */
  464. 'Storage.indexedDBContentUpdated': [Protocol.Storage.IndexedDBContentUpdatedEvent];
  465. /**
  466. * The origin's IndexedDB database list has been modified.
  467. */
  468. 'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
  469. /**
  470. * Issued when attached to target because of auto-attach or `attachToTarget` command.
  471. */
  472. 'Target.attachedToTarget': [Protocol.Target.AttachedToTargetEvent];
  473. /**
  474. * Issued when detached from target for any reason (including `detachFromTarget` command). Can be
  475. * issued multiple times per target if multiple sessions have been attached to it.
  476. */
  477. 'Target.detachedFromTarget': [Protocol.Target.DetachedFromTargetEvent];
  478. /**
  479. * Notifies about a new protocol message received from the session (as reported in
  480. * `attachedToTarget` event).
  481. */
  482. 'Target.receivedMessageFromTarget': [Protocol.Target.ReceivedMessageFromTargetEvent];
  483. /**
  484. * Issued when a possible inspection target is created.
  485. */
  486. 'Target.targetCreated': [Protocol.Target.TargetCreatedEvent];
  487. /**
  488. * Issued when a target is destroyed.
  489. */
  490. 'Target.targetDestroyed': [Protocol.Target.TargetDestroyedEvent];
  491. /**
  492. * Issued when a target has crashed.
  493. */
  494. 'Target.targetCrashed': [Protocol.Target.TargetCrashedEvent];
  495. /**
  496. * Issued when some information about a target has changed. This only happens between
  497. * `targetCreated` and `targetDestroyed`.
  498. */
  499. 'Target.targetInfoChanged': [Protocol.Target.TargetInfoChangedEvent];
  500. /**
  501. * Informs that port was successfully bound and got a specified connection id.
  502. */
  503. 'Tethering.accepted': [Protocol.Tethering.AcceptedEvent];
  504. 'Tracing.bufferUsage': [Protocol.Tracing.BufferUsageEvent];
  505. /**
  506. * Contains an bucket of collected trace events. When tracing is stopped collected events will be
  507. * send as a sequence of dataCollected events followed by tracingComplete event.
  508. */
  509. 'Tracing.dataCollected': [Protocol.Tracing.DataCollectedEvent];
  510. /**
  511. * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
  512. * delivered via dataCollected events.
  513. */
  514. 'Tracing.tracingComplete': [Protocol.Tracing.TracingCompleteEvent];
  515. /**
  516. * Issued when the domain is enabled and the request URL matches the
  517. * specified filter. The request is paused until the client responds
  518. * with one of continueRequest, failRequest or fulfillRequest.
  519. * The stage of the request can be determined by presence of responseErrorReason
  520. * and responseStatusCode -- the request is at the response stage if either
  521. * of these fields is present and in the request stage otherwise.
  522. */
  523. 'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
  524. /**
  525. * Issued when the domain is enabled with handleAuthRequests set to true.
  526. * The request is paused until client responds with continueWithAuth.
  527. */
  528. 'Fetch.authRequired': [Protocol.Fetch.AuthRequiredEvent];
  529. /**
  530. * Notifies that a new BaseAudioContext has been created.
  531. */
  532. 'WebAudio.contextCreated': [Protocol.WebAudio.ContextCreatedEvent];
  533. /**
  534. * Notifies that an existing BaseAudioContext will be destroyed.
  535. */
  536. 'WebAudio.contextWillBeDestroyed': [Protocol.WebAudio.ContextWillBeDestroyedEvent];
  537. /**
  538. * Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
  539. */
  540. 'WebAudio.contextChanged': [Protocol.WebAudio.ContextChangedEvent];
  541. /**
  542. * Notifies that the construction of an AudioListener has finished.
  543. */
  544. 'WebAudio.audioListenerCreated': [Protocol.WebAudio.AudioListenerCreatedEvent];
  545. /**
  546. * Notifies that a new AudioListener has been created.
  547. */
  548. 'WebAudio.audioListenerWillBeDestroyed': [Protocol.WebAudio.AudioListenerWillBeDestroyedEvent];
  549. /**
  550. * Notifies that a new AudioNode has been created.
  551. */
  552. 'WebAudio.audioNodeCreated': [Protocol.WebAudio.AudioNodeCreatedEvent];
  553. /**
  554. * Notifies that an existing AudioNode has been destroyed.
  555. */
  556. 'WebAudio.audioNodeWillBeDestroyed': [Protocol.WebAudio.AudioNodeWillBeDestroyedEvent];
  557. /**
  558. * Notifies that a new AudioParam has been created.
  559. */
  560. 'WebAudio.audioParamCreated': [Protocol.WebAudio.AudioParamCreatedEvent];
  561. /**
  562. * Notifies that an existing AudioParam has been destroyed.
  563. */
  564. 'WebAudio.audioParamWillBeDestroyed': [Protocol.WebAudio.AudioParamWillBeDestroyedEvent];
  565. /**
  566. * Notifies that two AudioNodes are connected.
  567. */
  568. 'WebAudio.nodesConnected': [Protocol.WebAudio.NodesConnectedEvent];
  569. /**
  570. * Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
  571. */
  572. 'WebAudio.nodesDisconnected': [Protocol.WebAudio.NodesDisconnectedEvent];
  573. /**
  574. * Notifies that an AudioNode is connected to an AudioParam.
  575. */
  576. 'WebAudio.nodeParamConnected': [Protocol.WebAudio.NodeParamConnectedEvent];
  577. /**
  578. * Notifies that an AudioNode is disconnected to an AudioParam.
  579. */
  580. 'WebAudio.nodeParamDisconnected': [Protocol.WebAudio.NodeParamDisconnectedEvent];
  581. /**
  582. * This can be called multiple times, and can be used to set / override /
  583. * remove player properties. A null propValue indicates removal.
  584. */
  585. 'Media.playerPropertiesChanged': [Protocol.Media.PlayerPropertiesChangedEvent];
  586. /**
  587. * Send events as a list, allowing them to be batched on the browser for less
  588. * congestion. If batched, events must ALWAYS be in chronological order.
  589. */
  590. 'Media.playerEventsAdded': [Protocol.Media.PlayerEventsAddedEvent];
  591. /**
  592. * Send a list of any messages that need to be delivered.
  593. */
  594. 'Media.playerMessagesLogged': [Protocol.Media.PlayerMessagesLoggedEvent];
  595. /**
  596. * Send a list of any errors that need to be delivered.
  597. */
  598. 'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
  599. /**
  600. * Called whenever a player is created, or when a new agent joins and recieves
  601. * a list of active players. If an agent is restored, it will recieve the full
  602. * list of player ids and all events again.
  603. */
  604. 'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
  605. }
  606. export interface Commands {
  607. /**
  608. * Does nothing.
  609. */
  610. 'Console.clearMessages': {
  611. paramsType: [];
  612. returnType: void;
  613. };
  614. /**
  615. * Disables console domain, prevents further console messages from being reported to the client.
  616. */
  617. 'Console.disable': {
  618. paramsType: [];
  619. returnType: void;
  620. };
  621. /**
  622. * Enables console domain, sends the messages collected so far to the client by means of the
  623. * `messageAdded` notification.
  624. */
  625. 'Console.enable': {
  626. paramsType: [];
  627. returnType: void;
  628. };
  629. /**
  630. * Continues execution until specific location is reached.
  631. */
  632. 'Debugger.continueToLocation': {
  633. paramsType: [Protocol.Debugger.ContinueToLocationRequest];
  634. returnType: void;
  635. };
  636. /**
  637. * Disables debugger for given page.
  638. */
  639. 'Debugger.disable': {
  640. paramsType: [];
  641. returnType: void;
  642. };
  643. /**
  644. * Enables debugger for the given page. Clients should not assume that the debugging has been
  645. * enabled until the result for this command is received.
  646. */
  647. 'Debugger.enable': {
  648. paramsType: [Protocol.Debugger.EnableRequest?];
  649. returnType: Protocol.Debugger.EnableResponse;
  650. };
  651. /**
  652. * Evaluates expression on a given call frame.
  653. */
  654. 'Debugger.evaluateOnCallFrame': {
  655. paramsType: [Protocol.Debugger.EvaluateOnCallFrameRequest];
  656. returnType: Protocol.Debugger.EvaluateOnCallFrameResponse;
  657. };
  658. /**
  659. * Execute a Wasm Evaluator module on a given call frame.
  660. */
  661. 'Debugger.executeWasmEvaluator': {
  662. paramsType: [Protocol.Debugger.ExecuteWasmEvaluatorRequest];
  663. returnType: Protocol.Debugger.ExecuteWasmEvaluatorResponse;
  664. };
  665. /**
  666. * Returns possible locations for breakpoint. scriptId in start and end range locations should be
  667. * the same.
  668. */
  669. 'Debugger.getPossibleBreakpoints': {
  670. paramsType: [Protocol.Debugger.GetPossibleBreakpointsRequest];
  671. returnType: Protocol.Debugger.GetPossibleBreakpointsResponse;
  672. };
  673. /**
  674. * Returns source for the script with given id.
  675. */
  676. 'Debugger.getScriptSource': {
  677. paramsType: [Protocol.Debugger.GetScriptSourceRequest];
  678. returnType: Protocol.Debugger.GetScriptSourceResponse;
  679. };
  680. /**
  681. * This command is deprecated. Use getScriptSource instead.
  682. */
  683. 'Debugger.getWasmBytecode': {
  684. paramsType: [Protocol.Debugger.GetWasmBytecodeRequest];
  685. returnType: Protocol.Debugger.GetWasmBytecodeResponse;
  686. };
  687. /**
  688. * Returns stack trace with given `stackTraceId`.
  689. */
  690. 'Debugger.getStackTrace': {
  691. paramsType: [Protocol.Debugger.GetStackTraceRequest];
  692. returnType: Protocol.Debugger.GetStackTraceResponse;
  693. };
  694. /**
  695. * Stops on the next JavaScript statement.
  696. */
  697. 'Debugger.pause': {
  698. paramsType: [];
  699. returnType: void;
  700. };
  701. 'Debugger.pauseOnAsyncCall': {
  702. paramsType: [Protocol.Debugger.PauseOnAsyncCallRequest];
  703. returnType: void;
  704. };
  705. /**
  706. * Removes JavaScript breakpoint.
  707. */
  708. 'Debugger.removeBreakpoint': {
  709. paramsType: [Protocol.Debugger.RemoveBreakpointRequest];
  710. returnType: void;
  711. };
  712. /**
  713. * Restarts particular call frame from the beginning.
  714. */
  715. 'Debugger.restartFrame': {
  716. paramsType: [Protocol.Debugger.RestartFrameRequest];
  717. returnType: Protocol.Debugger.RestartFrameResponse;
  718. };
  719. /**
  720. * Resumes JavaScript execution.
  721. */
  722. 'Debugger.resume': {
  723. paramsType: [Protocol.Debugger.ResumeRequest?];
  724. returnType: void;
  725. };
  726. /**
  727. * Searches for given string in script content.
  728. */
  729. 'Debugger.searchInContent': {
  730. paramsType: [Protocol.Debugger.SearchInContentRequest];
  731. returnType: Protocol.Debugger.SearchInContentResponse;
  732. };
  733. /**
  734. * Enables or disables async call stacks tracking.
  735. */
  736. 'Debugger.setAsyncCallStackDepth': {
  737. paramsType: [Protocol.Debugger.SetAsyncCallStackDepthRequest];
  738. returnType: void;
  739. };
  740. /**
  741. * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
  742. * scripts with url matching one of the patterns. VM will try to leave blackboxed script by
  743. * performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
  744. */
  745. 'Debugger.setBlackboxPatterns': {
  746. paramsType: [Protocol.Debugger.SetBlackboxPatternsRequest];
  747. returnType: void;
  748. };
  749. /**
  750. * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
  751. * scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
  752. * Positions array contains positions where blackbox state is changed. First interval isn't
  753. * blackboxed. Array should be sorted.
  754. */
  755. 'Debugger.setBlackboxedRanges': {
  756. paramsType: [Protocol.Debugger.SetBlackboxedRangesRequest];
  757. returnType: void;
  758. };
  759. /**
  760. * Sets JavaScript breakpoint at a given location.
  761. */
  762. 'Debugger.setBreakpoint': {
  763. paramsType: [Protocol.Debugger.SetBreakpointRequest];
  764. returnType: Protocol.Debugger.SetBreakpointResponse;
  765. };
  766. /**
  767. * Sets instrumentation breakpoint.
  768. */
  769. 'Debugger.setInstrumentationBreakpoint': {
  770. paramsType: [Protocol.Debugger.SetInstrumentationBreakpointRequest];
  771. returnType: Protocol.Debugger.SetInstrumentationBreakpointResponse;
  772. };
  773. /**
  774. * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
  775. * command is issued, all existing parsed scripts will have breakpoints resolved and returned in
  776. * `locations` property. Further matching script parsing will result in subsequent
  777. * `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
  778. */
  779. 'Debugger.setBreakpointByUrl': {
  780. paramsType: [Protocol.Debugger.SetBreakpointByUrlRequest];
  781. returnType: Protocol.Debugger.SetBreakpointByUrlResponse;
  782. };
  783. /**
  784. * Sets JavaScript breakpoint before each call to the given function.
  785. * If another function was created from the same source as a given one,
  786. * calling it will also trigger the breakpoint.
  787. */
  788. 'Debugger.setBreakpointOnFunctionCall': {
  789. paramsType: [Protocol.Debugger.SetBreakpointOnFunctionCallRequest];
  790. returnType: Protocol.Debugger.SetBreakpointOnFunctionCallResponse;
  791. };
  792. /**
  793. * Activates / deactivates all breakpoints on the page.
  794. */
  795. 'Debugger.setBreakpointsActive': {
  796. paramsType: [Protocol.Debugger.SetBreakpointsActiveRequest];
  797. returnType: void;
  798. };
  799. /**
  800. * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
  801. * no exceptions. Initial pause on exceptions state is `none`.
  802. */
  803. 'Debugger.setPauseOnExceptions': {
  804. paramsType: [Protocol.Debugger.SetPauseOnExceptionsRequest];
  805. returnType: void;
  806. };
  807. /**
  808. * Changes return value in top frame. Available only at return break position.
  809. */
  810. 'Debugger.setReturnValue': {
  811. paramsType: [Protocol.Debugger.SetReturnValueRequest];
  812. returnType: void;
  813. };
  814. /**
  815. * Edits JavaScript source live.
  816. */
  817. 'Debugger.setScriptSource': {
  818. paramsType: [Protocol.Debugger.SetScriptSourceRequest];
  819. returnType: Protocol.Debugger.SetScriptSourceResponse;
  820. };
  821. /**
  822. * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
  823. */
  824. 'Debugger.setSkipAllPauses': {
  825. paramsType: [Protocol.Debugger.SetSkipAllPausesRequest];
  826. returnType: void;
  827. };
  828. /**
  829. * Changes value of variable in a callframe. Object-based scopes are not supported and must be
  830. * mutated manually.
  831. */
  832. 'Debugger.setVariableValue': {
  833. paramsType: [Protocol.Debugger.SetVariableValueRequest];
  834. returnType: void;
  835. };
  836. /**
  837. * Steps into the function call.
  838. */
  839. 'Debugger.stepInto': {
  840. paramsType: [Protocol.Debugger.StepIntoRequest?];
  841. returnType: void;
  842. };
  843. /**
  844. * Steps out of the function call.
  845. */
  846. 'Debugger.stepOut': {
  847. paramsType: [];
  848. returnType: void;
  849. };
  850. /**
  851. * Steps over the statement.
  852. */
  853. 'Debugger.stepOver': {
  854. paramsType: [Protocol.Debugger.StepOverRequest?];
  855. returnType: void;
  856. };
  857. /**
  858. * Enables console to refer to the node with given id via $x (see Command Line API for more details
  859. * $x functions).
  860. */
  861. 'HeapProfiler.addInspectedHeapObject': {
  862. paramsType: [Protocol.HeapProfiler.AddInspectedHeapObjectRequest];
  863. returnType: void;
  864. };
  865. 'HeapProfiler.collectGarbage': {
  866. paramsType: [];
  867. returnType: void;
  868. };
  869. 'HeapProfiler.disable': {
  870. paramsType: [];
  871. returnType: void;
  872. };
  873. 'HeapProfiler.enable': {
  874. paramsType: [];
  875. returnType: void;
  876. };
  877. 'HeapProfiler.getHeapObjectId': {
  878. paramsType: [Protocol.HeapProfiler.GetHeapObjectIdRequest];
  879. returnType: Protocol.HeapProfiler.GetHeapObjectIdResponse;
  880. };
  881. 'HeapProfiler.getObjectByHeapObjectId': {
  882. paramsType: [Protocol.HeapProfiler.GetObjectByHeapObjectIdRequest];
  883. returnType: Protocol.HeapProfiler.GetObjectByHeapObjectIdResponse;
  884. };
  885. 'HeapProfiler.getSamplingProfile': {
  886. paramsType: [];
  887. returnType: Protocol.HeapProfiler.GetSamplingProfileResponse;
  888. };
  889. 'HeapProfiler.startSampling': {
  890. paramsType: [Protocol.HeapProfiler.StartSamplingRequest?];
  891. returnType: void;
  892. };
  893. 'HeapProfiler.startTrackingHeapObjects': {
  894. paramsType: [Protocol.HeapProfiler.StartTrackingHeapObjectsRequest?];
  895. returnType: void;
  896. };
  897. 'HeapProfiler.stopSampling': {
  898. paramsType: [];
  899. returnType: Protocol.HeapProfiler.StopSamplingResponse;
  900. };
  901. 'HeapProfiler.stopTrackingHeapObjects': {
  902. paramsType: [Protocol.HeapProfiler.StopTrackingHeapObjectsRequest?];
  903. returnType: void;
  904. };
  905. 'HeapProfiler.takeHeapSnapshot': {
  906. paramsType: [Protocol.HeapProfiler.TakeHeapSnapshotRequest?];
  907. returnType: void;
  908. };
  909. 'Profiler.disable': {
  910. paramsType: [];
  911. returnType: void;
  912. };
  913. 'Profiler.enable': {
  914. paramsType: [];
  915. returnType: void;
  916. };
  917. /**
  918. * Collect coverage data for the current isolate. The coverage data may be incomplete due to
  919. * garbage collection.
  920. */
  921. 'Profiler.getBestEffortCoverage': {
  922. paramsType: [];
  923. returnType: Protocol.Profiler.GetBestEffortCoverageResponse;
  924. };
  925. /**
  926. * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
  927. */
  928. 'Profiler.setSamplingInterval': {
  929. paramsType: [Protocol.Profiler.SetSamplingIntervalRequest];
  930. returnType: void;
  931. };
  932. 'Profiler.start': {
  933. paramsType: [];
  934. returnType: void;
  935. };
  936. /**
  937. * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
  938. * coverage may be incomplete. Enabling prevents running optimized code and resets execution
  939. * counters.
  940. */
  941. 'Profiler.startPreciseCoverage': {
  942. paramsType: [Protocol.Profiler.StartPreciseCoverageRequest?];
  943. returnType: Protocol.Profiler.StartPreciseCoverageResponse;
  944. };
  945. /**
  946. * Enable type profile.
  947. */
  948. 'Profiler.startTypeProfile': {
  949. paramsType: [];
  950. returnType: void;
  951. };
  952. 'Profiler.stop': {
  953. paramsType: [];
  954. returnType: Protocol.Profiler.StopResponse;
  955. };
  956. /**
  957. * Disable precise code coverage. Disabling releases unnecessary execution count records and allows
  958. * executing optimized code.
  959. */
  960. 'Profiler.stopPreciseCoverage': {
  961. paramsType: [];
  962. returnType: void;
  963. };
  964. /**
  965. * Disable type profile. Disabling releases type profile data collected so far.
  966. */
  967. 'Profiler.stopTypeProfile': {
  968. paramsType: [];
  969. returnType: void;
  970. };
  971. /**
  972. * Collect coverage data for the current isolate, and resets execution counters. Precise code
  973. * coverage needs to have started.
  974. */
  975. 'Profiler.takePreciseCoverage': {
  976. paramsType: [];
  977. returnType: Protocol.Profiler.TakePreciseCoverageResponse;
  978. };
  979. /**
  980. * Collect type profile.
  981. */
  982. 'Profiler.takeTypeProfile': {
  983. paramsType: [];
  984. returnType: Protocol.Profiler.TakeTypeProfileResponse;
  985. };
  986. /**
  987. * Enable counters collection.
  988. */
  989. 'Profiler.enableCounters': {
  990. paramsType: [];
  991. returnType: void;
  992. };
  993. /**
  994. * Disable counters collection.
  995. */
  996. 'Profiler.disableCounters': {
  997. paramsType: [];
  998. returnType: void;
  999. };
  1000. /**
  1001. * Retrieve counters.
  1002. */
  1003. 'Profiler.getCounters': {
  1004. paramsType: [];
  1005. returnType: Protocol.Profiler.GetCountersResponse;
  1006. };
  1007. /**
  1008. * Enable run time call stats collection.
  1009. */
  1010. 'Profiler.enableRuntimeCallStats': {
  1011. paramsType: [];
  1012. returnType: void;
  1013. };
  1014. /**
  1015. * Disable run time call stats collection.
  1016. */
  1017. 'Profiler.disableRuntimeCallStats': {
  1018. paramsType: [];
  1019. returnType: void;
  1020. };
  1021. /**
  1022. * Retrieve run time call stats.
  1023. */
  1024. 'Profiler.getRuntimeCallStats': {
  1025. paramsType: [];
  1026. returnType: Protocol.Profiler.GetRuntimeCallStatsResponse;
  1027. };
  1028. /**
  1029. * Add handler to promise with given promise object id.
  1030. */
  1031. 'Runtime.awaitPromise': {
  1032. paramsType: [Protocol.Runtime.AwaitPromiseRequest];
  1033. returnType: Protocol.Runtime.AwaitPromiseResponse;
  1034. };
  1035. /**
  1036. * Calls function with given declaration on the given object. Object group of the result is
  1037. * inherited from the target object.
  1038. */
  1039. 'Runtime.callFunctionOn': {
  1040. paramsType: [Protocol.Runtime.CallFunctionOnRequest];
  1041. returnType: Protocol.Runtime.CallFunctionOnResponse;
  1042. };
  1043. /**
  1044. * Compiles expression.
  1045. */
  1046. 'Runtime.compileScript': {
  1047. paramsType: [Protocol.Runtime.CompileScriptRequest];
  1048. returnType: Protocol.Runtime.CompileScriptResponse;
  1049. };
  1050. /**
  1051. * Disables reporting of execution contexts creation.
  1052. */
  1053. 'Runtime.disable': {
  1054. paramsType: [];
  1055. returnType: void;
  1056. };
  1057. /**
  1058. * Discards collected exceptions and console API calls.
  1059. */
  1060. 'Runtime.discardConsoleEntries': {
  1061. paramsType: [];
  1062. returnType: void;
  1063. };
  1064. /**
  1065. * Enables reporting of execution contexts creation by means of `executionContextCreated` event.
  1066. * When the reporting gets enabled the event will be sent immediately for each existing execution
  1067. * context.
  1068. */
  1069. 'Runtime.enable': {
  1070. paramsType: [];
  1071. returnType: void;
  1072. };
  1073. /**
  1074. * Evaluates expression on global object.
  1075. */
  1076. 'Runtime.evaluate': {
  1077. paramsType: [Protocol.Runtime.EvaluateRequest];
  1078. returnType: Protocol.Runtime.EvaluateResponse;
  1079. };
  1080. /**
  1081. * Returns the isolate id.
  1082. */
  1083. 'Runtime.getIsolateId': {
  1084. paramsType: [];
  1085. returnType: Protocol.Runtime.GetIsolateIdResponse;
  1086. };
  1087. /**
  1088. * Returns the JavaScript heap usage.
  1089. * It is the total usage of the corresponding isolate not scoped to a particular Runtime.
  1090. */
  1091. 'Runtime.getHeapUsage': {
  1092. paramsType: [];
  1093. returnType: Protocol.Runtime.GetHeapUsageResponse;
  1094. };
  1095. /**
  1096. * Returns properties of a given object. Object group of the result is inherited from the target
  1097. * object.
  1098. */
  1099. 'Runtime.getProperties': {
  1100. paramsType: [Protocol.Runtime.GetPropertiesRequest];
  1101. returnType: Protocol.Runtime.GetPropertiesResponse;
  1102. };
  1103. /**
  1104. * Returns all let, const and class variables from global scope.
  1105. */
  1106. 'Runtime.globalLexicalScopeNames': {
  1107. paramsType: [Protocol.Runtime.GlobalLexicalScopeNamesRequest?];
  1108. returnType: Protocol.Runtime.GlobalLexicalScopeNamesResponse;
  1109. };
  1110. 'Runtime.queryObjects': {
  1111. paramsType: [Protocol.Runtime.QueryObjectsRequest];
  1112. returnType: Protocol.Runtime.QueryObjectsResponse;
  1113. };
  1114. /**
  1115. * Releases remote object with given id.
  1116. */
  1117. 'Runtime.releaseObject': {
  1118. paramsType: [Protocol.Runtime.ReleaseObjectRequest];
  1119. returnType: void;
  1120. };
  1121. /**
  1122. * Releases all remote objects that belong to a given group.
  1123. */
  1124. 'Runtime.releaseObjectGroup': {
  1125. paramsType: [Protocol.Runtime.ReleaseObjectGroupRequest];
  1126. returnType: void;
  1127. };
  1128. /**
  1129. * Tells inspected instance to run if it was waiting for debugger to attach.
  1130. */
  1131. 'Runtime.runIfWaitingForDebugger': {
  1132. paramsType: [];
  1133. returnType: void;
  1134. };
  1135. /**
  1136. * Runs script with given id in a given context.
  1137. */
  1138. 'Runtime.runScript': {
  1139. paramsType: [Protocol.Runtime.RunScriptRequest];
  1140. returnType: Protocol.Runtime.RunScriptResponse;
  1141. };
  1142. /**
  1143. * Enables or disables async call stacks tracking.
  1144. */
  1145. 'Runtime.setAsyncCallStackDepth': {
  1146. paramsType: [Protocol.Runtime.SetAsyncCallStackDepthRequest];
  1147. returnType: void;
  1148. };
  1149. 'Runtime.setCustomObjectFormatterEnabled': {
  1150. paramsType: [Protocol.Runtime.SetCustomObjectFormatterEnabledRequest];
  1151. returnType: void;
  1152. };
  1153. 'Runtime.setMaxCallStackSizeToCapture': {
  1154. paramsType: [Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest];
  1155. returnType: void;
  1156. };
  1157. /**
  1158. * Terminate current or next JavaScript execution.
  1159. * Will cancel the termination when the outer-most script execution ends.
  1160. */
  1161. 'Runtime.terminateExecution': {
  1162. paramsType: [];
  1163. returnType: void;
  1164. };
  1165. /**
  1166. * If executionContextId is empty, adds binding with the given name on the
  1167. * global objects of all inspected contexts, including those created later,
  1168. * bindings survive reloads.
  1169. * If executionContextId is specified, adds binding only on global object of
  1170. * given execution context.
  1171. * Binding function takes exactly one argument, this argument should be string,
  1172. * in case of any other input, function throws an exception.
  1173. * Each binding function call produces Runtime.bindingCalled notification.
  1174. */
  1175. 'Runtime.addBinding': {
  1176. paramsType: [Protocol.Runtime.AddBindingRequest];
  1177. returnType: void;
  1178. };
  1179. /**
  1180. * This method does not remove binding function from global object but
  1181. * unsubscribes current runtime agent from Runtime.bindingCalled notifications.
  1182. */
  1183. 'Runtime.removeBinding': {
  1184. paramsType: [Protocol.Runtime.RemoveBindingRequest];
  1185. returnType: void;
  1186. };
  1187. /**
  1188. * Returns supported domains.
  1189. */
  1190. 'Schema.getDomains': {
  1191. paramsType: [];
  1192. returnType: Protocol.Schema.GetDomainsResponse;
  1193. };
  1194. /**
  1195. * Disables the accessibility domain.
  1196. */
  1197. 'Accessibility.disable': {
  1198. paramsType: [];
  1199. returnType: void;
  1200. };
  1201. /**
  1202. * Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.
  1203. * This turns on accessibility for the page, which can impact performance until accessibility is disabled.
  1204. */
  1205. 'Accessibility.enable': {
  1206. paramsType: [];
  1207. returnType: void;
  1208. };
  1209. /**
  1210. * Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
  1211. */
  1212. 'Accessibility.getPartialAXTree': {
  1213. paramsType: [Protocol.Accessibility.GetPartialAXTreeRequest?];
  1214. returnType: Protocol.Accessibility.GetPartialAXTreeResponse;
  1215. };
  1216. /**
  1217. * Fetches the entire accessibility tree
  1218. */
  1219. 'Accessibility.getFullAXTree': {
  1220. paramsType: [];
  1221. returnType: Protocol.Accessibility.GetFullAXTreeResponse;
  1222. };
  1223. /**
  1224. * Query a DOM node's accessibility subtree for accessible name and role.
  1225. * This command computes the name and role for all nodes in the subtree, including those that are
  1226. * ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
  1227. * node is specified, or the DOM node does not exist, the command returns an error. If neither
  1228. * `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
  1229. */
  1230. 'Accessibility.queryAXTree': {
  1231. paramsType: [Protocol.Accessibility.QueryAXTreeRequest?];
  1232. returnType: Protocol.Accessibility.QueryAXTreeResponse;
  1233. };
  1234. /**
  1235. * Disables animation domain notifications.
  1236. */
  1237. 'Animation.disable': {
  1238. paramsType: [];
  1239. returnType: void;
  1240. };
  1241. /**
  1242. * Enables animation domain notifications.
  1243. */
  1244. 'Animation.enable': {
  1245. paramsType: [];
  1246. returnType: void;
  1247. };
  1248. /**
  1249. * Returns the current time of the an animation.
  1250. */
  1251. 'Animation.getCurrentTime': {
  1252. paramsType: [Protocol.Animation.GetCurrentTimeRequest];
  1253. returnType: Protocol.Animation.GetCurrentTimeResponse;
  1254. };
  1255. /**
  1256. * Gets the playback rate of the document timeline.
  1257. */
  1258. 'Animation.getPlaybackRate': {
  1259. paramsType: [];
  1260. returnType: Protocol.Animation.GetPlaybackRateResponse;
  1261. };
  1262. /**
  1263. * Releases a set of animations to no longer be manipulated.
  1264. */
  1265. 'Animation.releaseAnimations': {
  1266. paramsType: [Protocol.Animation.ReleaseAnimationsRequest];
  1267. returnType: void;
  1268. };
  1269. /**
  1270. * Gets the remote object of the Animation.
  1271. */
  1272. 'Animation.resolveAnimation': {
  1273. paramsType: [Protocol.Animation.ResolveAnimationRequest];
  1274. returnType: Protocol.Animation.ResolveAnimationResponse;
  1275. };
  1276. /**
  1277. * Seek a set of animations to a particular time within each animation.
  1278. */
  1279. 'Animation.seekAnimations': {
  1280. paramsType: [Protocol.Animation.SeekAnimationsRequest];
  1281. returnType: void;
  1282. };
  1283. /**
  1284. * Sets the paused state of a set of animations.
  1285. */
  1286. 'Animation.setPaused': {
  1287. paramsType: [Protocol.Animation.SetPausedRequest];
  1288. returnType: void;
  1289. };
  1290. /**
  1291. * Sets the playback rate of the document timeline.
  1292. */
  1293. 'Animation.setPlaybackRate': {
  1294. paramsType: [Protocol.Animation.SetPlaybackRateRequest];
  1295. returnType: void;
  1296. };
  1297. /**
  1298. * Sets the timing of an animation node.
  1299. */
  1300. 'Animation.setTiming': {
  1301. paramsType: [Protocol.Animation.SetTimingRequest];
  1302. returnType: void;
  1303. };
  1304. /**
  1305. * Enables application cache domain notifications.
  1306. */
  1307. 'ApplicationCache.enable': {
  1308. paramsType: [];
  1309. returnType: void;
  1310. };
  1311. /**
  1312. * Returns relevant application cache data for the document in given frame.
  1313. */
  1314. 'ApplicationCache.getApplicationCacheForFrame': {
  1315. paramsType: [Protocol.ApplicationCache.GetApplicationCacheForFrameRequest];
  1316. returnType: Protocol.ApplicationCache.GetApplicationCacheForFrameResponse;
  1317. };
  1318. /**
  1319. * Returns array of frame identifiers with manifest urls for each frame containing a document
  1320. * associated with some application cache.
  1321. */
  1322. 'ApplicationCache.getFramesWithManifests': {
  1323. paramsType: [];
  1324. returnType: Protocol.ApplicationCache.GetFramesWithManifestsResponse;
  1325. };
  1326. /**
  1327. * Returns manifest URL for document in the given frame.
  1328. */
  1329. 'ApplicationCache.getManifestForFrame': {
  1330. paramsType: [Protocol.ApplicationCache.GetManifestForFrameRequest];
  1331. returnType: Protocol.ApplicationCache.GetManifestForFrameResponse;
  1332. };
  1333. /**
  1334. * Returns the response body and size if it were re-encoded with the specified settings. Only
  1335. * applies to images.
  1336. */
  1337. 'Audits.getEncodedResponse': {
  1338. paramsType: [Protocol.Audits.GetEncodedResponseRequest];
  1339. returnType: Protocol.Audits.GetEncodedResponseResponse;
  1340. };
  1341. /**
  1342. * Disables issues domain, prevents further issues from being reported to the client.
  1343. */
  1344. 'Audits.disable': {
  1345. paramsType: [];
  1346. returnType: void;
  1347. };
  1348. /**
  1349. * Enables issues domain, sends the issues collected so far to the client by means of the
  1350. * `issueAdded` event.
  1351. */
  1352. 'Audits.enable': {
  1353. paramsType: [];
  1354. returnType: void;
  1355. };
  1356. /**
  1357. * Enables event updates for the service.
  1358. */
  1359. 'BackgroundService.startObserving': {
  1360. paramsType: [Protocol.BackgroundService.StartObservingRequest];
  1361. returnType: void;
  1362. };
  1363. /**
  1364. * Disables event updates for the service.
  1365. */
  1366. 'BackgroundService.stopObserving': {
  1367. paramsType: [Protocol.BackgroundService.StopObservingRequest];
  1368. returnType: void;
  1369. };
  1370. /**
  1371. * Set the recording state for the service.
  1372. */
  1373. 'BackgroundService.setRecording': {
  1374. paramsType: [Protocol.BackgroundService.SetRecordingRequest];
  1375. returnType: void;
  1376. };
  1377. /**
  1378. * Clears all stored data for the service.
  1379. */
  1380. 'BackgroundService.clearEvents': {
  1381. paramsType: [Protocol.BackgroundService.ClearEventsRequest];
  1382. returnType: void;
  1383. };
  1384. /**
  1385. * Set permission settings for given origin.
  1386. */
  1387. 'Browser.setPermission': {
  1388. paramsType: [Protocol.Browser.SetPermissionRequest];
  1389. returnType: void;
  1390. };
  1391. /**
  1392. * Grant specific permissions to the given origin and reject all others.
  1393. */
  1394. 'Browser.grantPermissions': {
  1395. paramsType: [Protocol.Browser.GrantPermissionsRequest];
  1396. returnType: void;
  1397. };
  1398. /**
  1399. * Reset all permission management for all origins.
  1400. */
  1401. 'Browser.resetPermissions': {
  1402. paramsType: [Protocol.Browser.ResetPermissionsRequest?];
  1403. returnType: void;
  1404. };
  1405. /**
  1406. * Set the behavior when downloading a file.
  1407. */
  1408. 'Browser.setDownloadBehavior': {
  1409. paramsType: [Protocol.Browser.SetDownloadBehaviorRequest];
  1410. returnType: void;
  1411. };
  1412. /**
  1413. * Close browser gracefully.
  1414. */
  1415. 'Browser.close': {
  1416. paramsType: [];
  1417. returnType: void;
  1418. };
  1419. /**
  1420. * Crashes browser on the main thread.
  1421. */
  1422. 'Browser.crash': {
  1423. paramsType: [];
  1424. returnType: void;
  1425. };
  1426. /**
  1427. * Crashes GPU process.
  1428. */
  1429. 'Browser.crashGpuProcess': {
  1430. paramsType: [];
  1431. returnType: void;
  1432. };
  1433. /**
  1434. * Returns version information.
  1435. */
  1436. 'Browser.getVersion': {
  1437. paramsType: [];
  1438. returnType: Protocol.Browser.GetVersionResponse;
  1439. };
  1440. /**
  1441. * Returns the command line switches for the browser process if, and only if
  1442. * --enable-automation is on the commandline.
  1443. */
  1444. 'Browser.getBrowserCommandLine': {
  1445. paramsType: [];
  1446. returnType: Protocol.Browser.GetBrowserCommandLineResponse;
  1447. };
  1448. /**
  1449. * Get Chrome histograms.
  1450. */
  1451. 'Browser.getHistograms': {
  1452. paramsType: [Protocol.Browser.GetHistogramsRequest?];
  1453. returnType: Protocol.Browser.GetHistogramsResponse;
  1454. };
  1455. /**
  1456. * Get a Chrome histogram by name.
  1457. */
  1458. 'Browser.getHistogram': {
  1459. paramsType: [Protocol.Browser.GetHistogramRequest];
  1460. returnType: Protocol.Browser.GetHistogramResponse;
  1461. };
  1462. /**
  1463. * Get position and size of the browser window.
  1464. */
  1465. 'Browser.getWindowBounds': {
  1466. paramsType: [Protocol.Browser.GetWindowBoundsRequest];
  1467. returnType: Protocol.Browser.GetWindowBoundsResponse;
  1468. };
  1469. /**
  1470. * Get the browser window that contains the devtools target.
  1471. */
  1472. 'Browser.getWindowForTarget': {
  1473. paramsType: [Protocol.Browser.GetWindowForTargetRequest?];
  1474. returnType: Protocol.Browser.GetWindowForTargetResponse;
  1475. };
  1476. /**
  1477. * Set position and/or size of the browser window.
  1478. */
  1479. 'Browser.setWindowBounds': {
  1480. paramsType: [Protocol.Browser.SetWindowBoundsRequest];
  1481. returnType: void;
  1482. };
  1483. /**
  1484. * Set dock tile details, platform-specific.
  1485. */
  1486. 'Browser.setDockTile': {
  1487. paramsType: [Protocol.Browser.SetDockTileRequest?];
  1488. returnType: void;
  1489. };
  1490. /**
  1491. * Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
  1492. * position specified by `location`.
  1493. */
  1494. 'CSS.addRule': {
  1495. paramsType: [Protocol.CSS.AddRuleRequest];
  1496. returnType: Protocol.CSS.AddRuleResponse;
  1497. };
  1498. /**
  1499. * Returns all class names from specified stylesheet.
  1500. */
  1501. 'CSS.collectClassNames': {
  1502. paramsType: [Protocol.CSS.CollectClassNamesRequest];
  1503. returnType: Protocol.CSS.CollectClassNamesResponse;
  1504. };
  1505. /**
  1506. * Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
  1507. */
  1508. 'CSS.createStyleSheet': {
  1509. paramsType: [Protocol.CSS.CreateStyleSheetRequest];
  1510. returnType: Protocol.CSS.CreateStyleSheetResponse;
  1511. };
  1512. /**
  1513. * Disables the CSS agent for the given page.
  1514. */
  1515. 'CSS.disable': {
  1516. paramsType: [];
  1517. returnType: void;
  1518. };
  1519. /**
  1520. * Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been
  1521. * enabled until the result of this command is received.
  1522. */
  1523. 'CSS.enable': {
  1524. paramsType: [];
  1525. returnType: void;
  1526. };
  1527. /**
  1528. * Ensures that the given node will have specified pseudo-classes whenever its style is computed by
  1529. * the browser.
  1530. */
  1531. 'CSS.forcePseudoState': {
  1532. paramsType: [Protocol.CSS.ForcePseudoStateRequest];
  1533. returnType: void;
  1534. };
  1535. 'CSS.getBackgroundColors': {
  1536. paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
  1537. returnType: Protocol.CSS.GetBackgroundColorsResponse;
  1538. };
  1539. /**
  1540. * Returns the computed style for a DOM node identified by `nodeId`.
  1541. */
  1542. 'CSS.getComputedStyleForNode': {
  1543. paramsType: [Protocol.CSS.GetComputedStyleForNodeRequest];
  1544. returnType: Protocol.CSS.GetComputedStyleForNodeResponse;
  1545. };
  1546. /**
  1547. * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
  1548. * attributes) for a DOM node identified by `nodeId`.
  1549. */
  1550. 'CSS.getInlineStylesForNode': {
  1551. paramsType: [Protocol.CSS.GetInlineStylesForNodeRequest];
  1552. returnType: Protocol.CSS.GetInlineStylesForNodeResponse;
  1553. };
  1554. /**
  1555. * Returns requested styles for a DOM node identified by `nodeId`.
  1556. */
  1557. 'CSS.getMatchedStylesForNode': {
  1558. paramsType: [Protocol.CSS.GetMatchedStylesForNodeRequest];
  1559. returnType: Protocol.CSS.GetMatchedStylesForNodeResponse;
  1560. };
  1561. /**
  1562. * Returns all media queries parsed by the rendering engine.
  1563. */
  1564. 'CSS.getMediaQueries': {
  1565. paramsType: [];
  1566. returnType: Protocol.CSS.GetMediaQueriesResponse;
  1567. };
  1568. /**
  1569. * Requests information about platform fonts which we used to render child TextNodes in the given
  1570. * node.
  1571. */
  1572. 'CSS.getPlatformFontsForNode': {
  1573. paramsType: [Protocol.CSS.GetPlatformFontsForNodeRequest];
  1574. returnType: Protocol.CSS.GetPlatformFontsForNodeResponse;
  1575. };
  1576. /**
  1577. * Returns the current textual content for a stylesheet.
  1578. */
  1579. 'CSS.getStyleSheetText': {
  1580. paramsType: [Protocol.CSS.GetStyleSheetTextRequest];
  1581. returnType: Protocol.CSS.GetStyleSheetTextResponse;
  1582. };
  1583. /**
  1584. * Starts tracking the given computed styles for updates. The specified array of properties
  1585. * replaces the one previously specified. Pass empty array to disable tracking.
  1586. * Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
  1587. * The changes to computed style properties are only tracked for nodes pushed to the front-end
  1588. * by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
  1589. * to the front-end, no updates will be issued for the node.
  1590. */
  1591. 'CSS.trackComputedStyleUpdates': {
  1592. paramsType: [Protocol.CSS.TrackComputedStyleUpdatesRequest];
  1593. returnType: void;
  1594. };
  1595. /**
  1596. * Polls the next batch of computed style updates.
  1597. */
  1598. 'CSS.takeComputedStyleUpdates': {
  1599. paramsType: [];
  1600. returnType: Protocol.CSS.TakeComputedStyleUpdatesResponse;
  1601. };
  1602. /**
  1603. * Find a rule with the given active property for the given node and set the new value for this
  1604. * property
  1605. */
  1606. 'CSS.setEffectivePropertyValueForNode': {
  1607. paramsType: [Protocol.CSS.SetEffectivePropertyValueForNodeRequest];
  1608. returnType: void;
  1609. };
  1610. /**
  1611. * Modifies the keyframe rule key text.
  1612. */
  1613. 'CSS.setKeyframeKey': {
  1614. paramsType: [Protocol.CSS.SetKeyframeKeyRequest];
  1615. returnType: Protocol.CSS.SetKeyframeKeyResponse;
  1616. };
  1617. /**
  1618. * Modifies the rule selector.
  1619. */
  1620. 'CSS.setMediaText': {
  1621. paramsType: [Protocol.CSS.SetMediaTextRequest];
  1622. returnType: Protocol.CSS.SetMediaTextResponse;
  1623. };
  1624. /**
  1625. * Modifies the rule selector.
  1626. */
  1627. 'CSS.setRuleSelector': {
  1628. paramsType: [Protocol.CSS.SetRuleSelectorRequest];
  1629. returnType: Protocol.CSS.SetRuleSelectorResponse;
  1630. };
  1631. /**
  1632. * Sets the new stylesheet text.
  1633. */
  1634. 'CSS.setStyleSheetText': {
  1635. paramsType: [Protocol.CSS.SetStyleSheetTextRequest];
  1636. returnType: Protocol.CSS.SetStyleSheetTextResponse;
  1637. };
  1638. /**
  1639. * Applies specified style edits one after another in the given order.
  1640. */
  1641. 'CSS.setStyleTexts': {
  1642. paramsType: [Protocol.CSS.SetStyleTextsRequest];
  1643. returnType: Protocol.CSS.SetStyleTextsResponse;
  1644. };
  1645. /**
  1646. * Enables the selector recording.
  1647. */
  1648. 'CSS.startRuleUsageTracking': {
  1649. paramsType: [];
  1650. returnType: void;
  1651. };
  1652. /**
  1653. * Stop tracking rule usage and return the list of rules that were used since last call to
  1654. * `takeCoverageDelta` (or since start of coverage instrumentation)
  1655. */
  1656. 'CSS.stopRuleUsageTracking': {
  1657. paramsType: [];
  1658. returnType: Protocol.CSS.StopRuleUsageTrackingResponse;
  1659. };
  1660. /**
  1661. * Obtain list of rules that became used since last call to this method (or since start of coverage
  1662. * instrumentation)
  1663. */
  1664. 'CSS.takeCoverageDelta': {
  1665. paramsType: [];
  1666. returnType: Protocol.CSS.TakeCoverageDeltaResponse;
  1667. };
  1668. /**
  1669. * Enables/disables rendering of local CSS fonts (enabled by default).
  1670. */
  1671. 'CSS.setLocalFontsEnabled': {
  1672. paramsType: [Protocol.CSS.SetLocalFontsEnabledRequest];
  1673. returnType: void;
  1674. };
  1675. /**
  1676. * Deletes a cache.
  1677. */
  1678. 'CacheStorage.deleteCache': {
  1679. paramsType: [Protocol.CacheStorage.DeleteCacheRequest];
  1680. returnType: void;
  1681. };
  1682. /**
  1683. * Deletes a cache entry.
  1684. */
  1685. 'CacheStorage.deleteEntry': {
  1686. paramsType: [Protocol.CacheStorage.DeleteEntryRequest];
  1687. returnType: void;
  1688. };
  1689. /**
  1690. * Requests cache names.
  1691. */
  1692. 'CacheStorage.requestCacheNames': {
  1693. paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest];
  1694. returnType: Protocol.CacheStorage.RequestCacheNamesResponse;
  1695. };
  1696. /**
  1697. * Fetches cache entry.
  1698. */
  1699. 'CacheStorage.requestCachedResponse': {
  1700. paramsType: [Protocol.CacheStorage.RequestCachedResponseRequest];
  1701. returnType: Protocol.CacheStorage.RequestCachedResponseResponse;
  1702. };
  1703. /**
  1704. * Requests data from cache.
  1705. */
  1706. 'CacheStorage.requestEntries': {
  1707. paramsType: [Protocol.CacheStorage.RequestEntriesRequest];
  1708. returnType: Protocol.CacheStorage.RequestEntriesResponse;
  1709. };
  1710. /**
  1711. * Starts observing for sinks that can be used for tab mirroring, and if set,
  1712. * sinks compatible with |presentationUrl| as well. When sinks are found, a
  1713. * |sinksUpdated| event is fired.
  1714. * Also starts observing for issue messages. When an issue is added or removed,
  1715. * an |issueUpdated| event is fired.
  1716. */
  1717. 'Cast.enable': {
  1718. paramsType: [Protocol.Cast.EnableRequest?];
  1719. returnType: void;
  1720. };
  1721. /**
  1722. * Stops observing for sinks and issues.
  1723. */
  1724. 'Cast.disable': {
  1725. paramsType: [];
  1726. returnType: void;
  1727. };
  1728. /**
  1729. * Sets a sink to be used when the web page requests the browser to choose a
  1730. * sink via Presentation API, Remote Playback API, or Cast SDK.
  1731. */
  1732. 'Cast.setSinkToUse': {
  1733. paramsType: [Protocol.Cast.SetSinkToUseRequest];
  1734. returnType: void;
  1735. };
  1736. /**
  1737. * Starts mirroring the tab to the sink.
  1738. */
  1739. 'Cast.startTabMirroring': {
  1740. paramsType: [Protocol.Cast.StartTabMirroringRequest];
  1741. returnType: void;
  1742. };
  1743. /**
  1744. * Stops the active Cast session on the sink.
  1745. */
  1746. 'Cast.stopCasting': {
  1747. paramsType: [Protocol.Cast.StopCastingRequest];
  1748. returnType: void;
  1749. };
  1750. /**
  1751. * Collects class names for the node with given id and all of it's child nodes.
  1752. */
  1753. 'DOM.collectClassNamesFromSubtree': {
  1754. paramsType: [Protocol.DOM.CollectClassNamesFromSubtreeRequest];
  1755. returnType: Protocol.DOM.CollectClassNamesFromSubtreeResponse;
  1756. };
  1757. /**
  1758. * Creates a deep copy of the specified node and places it into the target container before the
  1759. * given anchor.
  1760. */
  1761. 'DOM.copyTo': {
  1762. paramsType: [Protocol.DOM.CopyToRequest];
  1763. returnType: Protocol.DOM.CopyToResponse;
  1764. };
  1765. /**
  1766. * Describes node given its id, does not require domain to be enabled. Does not start tracking any
  1767. * objects, can be used for automation.
  1768. */
  1769. 'DOM.describeNode': {
  1770. paramsType: [Protocol.DOM.DescribeNodeRequest?];
  1771. returnType: Protocol.DOM.DescribeNodeResponse;
  1772. };
  1773. /**
  1774. * Scrolls the specified rect of the given node into view if not already visible.
  1775. * Note: exactly one between nodeId, backendNodeId and objectId should be passed
  1776. * to identify the node.
  1777. */
  1778. 'DOM.scrollIntoViewIfNeeded': {
  1779. paramsType: [Protocol.DOM.ScrollIntoViewIfNeededRequest?];
  1780. returnType: void;
  1781. };
  1782. /**
  1783. * Disables DOM agent for the given page.
  1784. */
  1785. 'DOM.disable': {
  1786. paramsType: [];
  1787. returnType: void;
  1788. };
  1789. /**
  1790. * Discards search results from the session with the given id. `getSearchResults` should no longer
  1791. * be called for that search.
  1792. */
  1793. 'DOM.discardSearchResults': {
  1794. paramsType: [Protocol.DOM.DiscardSearchResultsRequest];
  1795. returnType: void;
  1796. };
  1797. /**
  1798. * Enables DOM agent for the given page.
  1799. */
  1800. 'DOM.enable': {
  1801. paramsType: [];
  1802. returnType: void;
  1803. };
  1804. /**
  1805. * Focuses the given element.
  1806. */
  1807. 'DOM.focus': {
  1808. paramsType: [Protocol.DOM.FocusRequest?];
  1809. returnType: void;
  1810. };
  1811. /**
  1812. * Returns attributes for the specified node.
  1813. */
  1814. 'DOM.getAttributes': {
  1815. paramsType: [Protocol.DOM.GetAttributesRequest];
  1816. returnType: Protocol.DOM.GetAttributesResponse;
  1817. };
  1818. /**
  1819. * Returns boxes for the given node.
  1820. */
  1821. 'DOM.getBoxModel': {
  1822. paramsType: [Protocol.DOM.GetBoxModelRequest?];
  1823. returnType: Protocol.DOM.GetBoxModelResponse;
  1824. };
  1825. /**
  1826. * Returns quads that describe node position on the page. This method
  1827. * might return multiple quads for inline nodes.
  1828. */
  1829. 'DOM.getContentQuads': {
  1830. paramsType: [Protocol.DOM.GetContentQuadsRequest?];
  1831. returnType: Protocol.DOM.GetContentQuadsResponse;
  1832. };
  1833. /**
  1834. * Returns the root DOM node (and optionally the subtree) to the caller.
  1835. */
  1836. 'DOM.getDocument': {
  1837. paramsType: [Protocol.DOM.GetDocumentRequest?];
  1838. returnType: Protocol.DOM.GetDocumentResponse;
  1839. };
  1840. /**
  1841. * Returns the root DOM node (and optionally the subtree) to the caller.
  1842. * Deprecated, as it is not designed to work well with the rest of the DOM agent.
  1843. * Use DOMSnapshot.captureSnapshot instead.
  1844. */
  1845. 'DOM.getFlattenedDocument': {
  1846. paramsType: [Protocol.DOM.GetFlattenedDocumentRequest?];
  1847. returnType: Protocol.DOM.GetFlattenedDocumentResponse;
  1848. };
  1849. /**
  1850. * Finds nodes with a given computed style in a subtree.
  1851. */
  1852. 'DOM.getNodesForSubtreeByStyle': {
  1853. paramsType: [Protocol.DOM.GetNodesForSubtreeByStyleRequest];
  1854. returnType: Protocol.DOM.GetNodesForSubtreeByStyleResponse;
  1855. };
  1856. /**
  1857. * Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is
  1858. * either returned or not.
  1859. */
  1860. 'DOM.getNodeForLocation': {
  1861. paramsType: [Protocol.DOM.GetNodeForLocationRequest];
  1862. returnType: Protocol.DOM.GetNodeForLocationResponse;
  1863. };
  1864. /**
  1865. * Returns node's HTML markup.
  1866. */
  1867. 'DOM.getOuterHTML': {
  1868. paramsType: [Protocol.DOM.GetOuterHTMLRequest?];
  1869. returnType: Protocol.DOM.GetOuterHTMLResponse;
  1870. };
  1871. /**
  1872. * Returns the id of the nearest ancestor that is a relayout boundary.
  1873. */
  1874. 'DOM.getRelayoutBoundary': {
  1875. paramsType: [Protocol.DOM.GetRelayoutBoundaryRequest];
  1876. returnType: Protocol.DOM.GetRelayoutBoundaryResponse;
  1877. };
  1878. /**
  1879. * Returns search results from given `fromIndex` to given `toIndex` from the search with the given
  1880. * identifier.
  1881. */
  1882. 'DOM.getSearchResults': {
  1883. paramsType: [Protocol.DOM.GetSearchResultsRequest];
  1884. returnType: Protocol.DOM.GetSearchResultsResponse;
  1885. };
  1886. /**
  1887. * Hides any highlight.
  1888. */
  1889. 'DOM.hideHighlight': {
  1890. paramsType: [];
  1891. returnType: void;
  1892. };
  1893. /**
  1894. * Highlights DOM node.
  1895. */
  1896. 'DOM.highlightNode': {
  1897. paramsType: [];
  1898. returnType: void;
  1899. };
  1900. /**
  1901. * Highlights given rectangle.
  1902. */
  1903. 'DOM.highlightRect': {
  1904. paramsType: [];
  1905. returnType: void;
  1906. };
  1907. /**
  1908. * Marks last undoable state.
  1909. */
  1910. 'DOM.markUndoableState': {
  1911. paramsType: [];
  1912. returnType: void;
  1913. };
  1914. /**
  1915. * Moves node into the new container, places it before the given anchor.
  1916. */
  1917. 'DOM.moveTo': {
  1918. paramsType: [Protocol.DOM.MoveToRequest];
  1919. returnType: Protocol.DOM.MoveToResponse;
  1920. };
  1921. /**
  1922. * Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or
  1923. * `cancelSearch` to end this search session.
  1924. */
  1925. 'DOM.performSearch': {
  1926. paramsType: [Protocol.DOM.PerformSearchRequest];
  1927. returnType: Protocol.DOM.PerformSearchResponse;
  1928. };
  1929. /**
  1930. * Requests that the node is sent to the caller given its path. // FIXME, use XPath
  1931. */
  1932. 'DOM.pushNodeByPathToFrontend': {
  1933. paramsType: [Protocol.DOM.PushNodeByPathToFrontendRequest];
  1934. returnType: Protocol.DOM.PushNodeByPathToFrontendResponse;
  1935. };
  1936. /**
  1937. * Requests that a batch of nodes is sent to the caller given their backend node ids.
  1938. */
  1939. 'DOM.pushNodesByBackendIdsToFrontend': {
  1940. paramsType: [Protocol.DOM.PushNodesByBackendIdsToFrontendRequest];
  1941. returnType: Protocol.DOM.PushNodesByBackendIdsToFrontendResponse;
  1942. };
  1943. /**
  1944. * Executes `querySelector` on a given node.
  1945. */
  1946. 'DOM.querySelector': {
  1947. paramsType: [Protocol.DOM.QuerySelectorRequest];
  1948. returnType: Protocol.DOM.QuerySelectorResponse;
  1949. };
  1950. /**
  1951. * Executes `querySelectorAll` on a given node.
  1952. */
  1953. 'DOM.querySelectorAll': {
  1954. paramsType: [Protocol.DOM.QuerySelectorAllRequest];
  1955. returnType: Protocol.DOM.QuerySelectorAllResponse;
  1956. };
  1957. /**
  1958. * Re-does the last undone action.
  1959. */
  1960. 'DOM.redo': {
  1961. paramsType: [];
  1962. returnType: void;
  1963. };
  1964. /**
  1965. * Removes attribute with given name from an element with given id.
  1966. */
  1967. 'DOM.removeAttribute': {
  1968. paramsType: [Protocol.DOM.RemoveAttributeRequest];
  1969. returnType: void;
  1970. };
  1971. /**
  1972. * Removes node with given id.
  1973. */
  1974. 'DOM.removeNode': {
  1975. paramsType: [Protocol.DOM.RemoveNodeRequest];
  1976. returnType: void;
  1977. };
  1978. /**
  1979. * Requests that children of the node with given id are returned to the caller in form of
  1980. * `setChildNodes` events where not only immediate children are retrieved, but all children down to
  1981. * the specified depth.
  1982. */
  1983. 'DOM.requestChildNodes': {
  1984. paramsType: [Protocol.DOM.RequestChildNodesRequest];
  1985. returnType: void;
  1986. };
  1987. /**
  1988. * Requests that the node is sent to the caller given the JavaScript node object reference. All
  1989. * nodes that form the path from the node to the root are also sent to the client as a series of
  1990. * `setChildNodes` notifications.
  1991. */
  1992. 'DOM.requestNode': {
  1993. paramsType: [Protocol.DOM.RequestNodeRequest];
  1994. returnType: Protocol.DOM.RequestNodeResponse;
  1995. };
  1996. /**
  1997. * Resolves the JavaScript node object for a given NodeId or BackendNodeId.
  1998. */
  1999. 'DOM.resolveNode': {
  2000. paramsType: [Protocol.DOM.ResolveNodeRequest?];
  2001. returnType: Protocol.DOM.ResolveNodeResponse;
  2002. };
  2003. /**
  2004. * Sets attribute for an element with given id.
  2005. */
  2006. 'DOM.setAttributeValue': {
  2007. paramsType: [Protocol.DOM.SetAttributeValueRequest];
  2008. returnType: void;
  2009. };
  2010. /**
  2011. * Sets attributes on element with given id. This method is useful when user edits some existing
  2012. * attribute value and types in several attribute name/value pairs.
  2013. */
  2014. 'DOM.setAttributesAsText': {
  2015. paramsType: [Protocol.DOM.SetAttributesAsTextRequest];
  2016. returnType: void;
  2017. };
  2018. /**
  2019. * Sets files for the given file input element.
  2020. */
  2021. 'DOM.setFileInputFiles': {
  2022. paramsType: [Protocol.DOM.SetFileInputFilesRequest];
  2023. returnType: void;
  2024. };
  2025. /**
  2026. * Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.
  2027. */
  2028. 'DOM.setNodeStackTracesEnabled': {
  2029. paramsType: [Protocol.DOM.SetNodeStackTracesEnabledRequest];
  2030. returnType: void;
  2031. };
  2032. /**
  2033. * Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.
  2034. */
  2035. 'DOM.getNodeStackTraces': {
  2036. paramsType: [Protocol.DOM.GetNodeStackTracesRequest];
  2037. returnType: Protocol.DOM.GetNodeStackTracesResponse;
  2038. };
  2039. /**
  2040. * Returns file information for the given
  2041. * File wrapper.
  2042. */
  2043. 'DOM.getFileInfo': {
  2044. paramsType: [Protocol.DOM.GetFileInfoRequest];
  2045. returnType: Protocol.DOM.GetFileInfoResponse;
  2046. };
  2047. /**
  2048. * Enables console to refer to the node with given id via $x (see Command Line API for more details
  2049. * $x functions).
  2050. */
  2051. 'DOM.setInspectedNode': {
  2052. paramsType: [Protocol.DOM.SetInspectedNodeRequest];
  2053. returnType: void;
  2054. };
  2055. /**
  2056. * Sets node name for a node with given id.
  2057. */
  2058. 'DOM.setNodeName': {
  2059. paramsType: [Protocol.DOM.SetNodeNameRequest];
  2060. returnType: Protocol.DOM.SetNodeNameResponse;
  2061. };
  2062. /**
  2063. * Sets node value for a node with given id.
  2064. */
  2065. 'DOM.setNodeValue': {
  2066. paramsType: [Protocol.DOM.SetNodeValueRequest];
  2067. returnType: void;
  2068. };
  2069. /**
  2070. * Sets node HTML markup, returns new node id.
  2071. */
  2072. 'DOM.setOuterHTML': {
  2073. paramsType: [Protocol.DOM.SetOuterHTMLRequest];
  2074. returnType: void;
  2075. };
  2076. /**
  2077. * Undoes the last performed action.
  2078. */
  2079. 'DOM.undo': {
  2080. paramsType: [];
  2081. returnType: void;
  2082. };
  2083. /**
  2084. * Returns iframe node that owns iframe with the given domain.
  2085. */
  2086. 'DOM.getFrameOwner': {
  2087. paramsType: [Protocol.DOM.GetFrameOwnerRequest];
  2088. returnType: Protocol.DOM.GetFrameOwnerResponse;
  2089. };
  2090. /**
  2091. * Returns event listeners of the given object.
  2092. */
  2093. 'DOMDebugger.getEventListeners': {
  2094. paramsType: [Protocol.DOMDebugger.GetEventListenersRequest];
  2095. returnType: Protocol.DOMDebugger.GetEventListenersResponse;
  2096. };
  2097. /**
  2098. * Removes DOM breakpoint that was set using `setDOMBreakpoint`.
  2099. */
  2100. 'DOMDebugger.removeDOMBreakpoint': {
  2101. paramsType: [Protocol.DOMDebugger.RemoveDOMBreakpointRequest];
  2102. returnType: void;
  2103. };
  2104. /**
  2105. * Removes breakpoint on particular DOM event.
  2106. */
  2107. 'DOMDebugger.removeEventListenerBreakpoint': {
  2108. paramsType: [Protocol.DOMDebugger.RemoveEventListenerBreakpointRequest];
  2109. returnType: void;
  2110. };
  2111. /**
  2112. * Removes breakpoint on particular native event.
  2113. */
  2114. 'DOMDebugger.removeInstrumentationBreakpoint': {
  2115. paramsType: [Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest];
  2116. returnType: void;
  2117. };
  2118. /**
  2119. * Removes breakpoint from XMLHttpRequest.
  2120. */
  2121. 'DOMDebugger.removeXHRBreakpoint': {
  2122. paramsType: [Protocol.DOMDebugger.RemoveXHRBreakpointRequest];
  2123. returnType: void;
  2124. };
  2125. /**
  2126. * Sets breakpoint on particular operation with DOM.
  2127. */
  2128. 'DOMDebugger.setDOMBreakpoint': {
  2129. paramsType: [Protocol.DOMDebugger.SetDOMBreakpointRequest];
  2130. returnType: void;
  2131. };
  2132. /**
  2133. * Sets breakpoint on particular DOM event.
  2134. */
  2135. 'DOMDebugger.setEventListenerBreakpoint': {
  2136. paramsType: [Protocol.DOMDebugger.SetEventListenerBreakpointRequest];
  2137. returnType: void;
  2138. };
  2139. /**
  2140. * Sets breakpoint on particular native event.
  2141. */
  2142. 'DOMDebugger.setInstrumentationBreakpoint': {
  2143. paramsType: [Protocol.DOMDebugger.SetInstrumentationBreakpointRequest];
  2144. returnType: void;
  2145. };
  2146. /**
  2147. * Sets breakpoint on XMLHttpRequest.
  2148. */
  2149. 'DOMDebugger.setXHRBreakpoint': {
  2150. paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest];
  2151. returnType: void;
  2152. };
  2153. /**
  2154. * Disables DOM snapshot agent for the given page.
  2155. */
  2156. 'DOMSnapshot.disable': {
  2157. paramsType: [];
  2158. returnType: void;
  2159. };
  2160. /**
  2161. * Enables DOM snapshot agent for the given page.
  2162. */
  2163. 'DOMSnapshot.enable': {
  2164. paramsType: [];
  2165. returnType: void;
  2166. };
  2167. /**
  2168. * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
  2169. * template contents, and imported documents) in a flattened array, as well as layout and
  2170. * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
  2171. * flattened.
  2172. */
  2173. 'DOMSnapshot.getSnapshot': {
  2174. paramsType: [Protocol.DOMSnapshot.GetSnapshotRequest];
  2175. returnType: Protocol.DOMSnapshot.GetSnapshotResponse;
  2176. };
  2177. /**
  2178. * Returns a document snapshot, including the full DOM tree of the root node (including iframes,
  2179. * template contents, and imported documents) in a flattened array, as well as layout and
  2180. * white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
  2181. * flattened.
  2182. */
  2183. 'DOMSnapshot.captureSnapshot': {
  2184. paramsType: [Protocol.DOMSnapshot.CaptureSnapshotRequest];
  2185. returnType: Protocol.DOMSnapshot.CaptureSnapshotResponse;
  2186. };
  2187. 'DOMStorage.clear': {
  2188. paramsType: [Protocol.DOMStorage.ClearRequest];
  2189. returnType: void;
  2190. };
  2191. /**
  2192. * Disables storage tracking, prevents storage events from being sent to the client.
  2193. */
  2194. 'DOMStorage.disable': {
  2195. paramsType: [];
  2196. returnType: void;
  2197. };
  2198. /**
  2199. * Enables storage tracking, storage events will now be delivered to the client.
  2200. */
  2201. 'DOMStorage.enable': {
  2202. paramsType: [];
  2203. returnType: void;
  2204. };
  2205. 'DOMStorage.getDOMStorageItems': {
  2206. paramsType: [Protocol.DOMStorage.GetDOMStorageItemsRequest];
  2207. returnType: Protocol.DOMStorage.GetDOMStorageItemsResponse;
  2208. };
  2209. 'DOMStorage.removeDOMStorageItem': {
  2210. paramsType: [Protocol.DOMStorage.RemoveDOMStorageItemRequest];
  2211. returnType: void;
  2212. };
  2213. 'DOMStorage.setDOMStorageItem': {
  2214. paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
  2215. returnType: void;
  2216. };
  2217. /**
  2218. * Disables database tracking, prevents database events from being sent to the client.
  2219. */
  2220. 'Database.disable': {
  2221. paramsType: [];
  2222. returnType: void;
  2223. };
  2224. /**
  2225. * Enables database tracking, database events will now be delivered to the client.
  2226. */
  2227. 'Database.enable': {
  2228. paramsType: [];
  2229. returnType: void;
  2230. };
  2231. 'Database.executeSQL': {
  2232. paramsType: [Protocol.Database.ExecuteSQLRequest];
  2233. returnType: Protocol.Database.ExecuteSQLResponse;
  2234. };
  2235. 'Database.getDatabaseTableNames': {
  2236. paramsType: [Protocol.Database.GetDatabaseTableNamesRequest];
  2237. returnType: Protocol.Database.GetDatabaseTableNamesResponse;
  2238. };
  2239. /**
  2240. * Clears the overridden Device Orientation.
  2241. */
  2242. 'DeviceOrientation.clearDeviceOrientationOverride': {
  2243. paramsType: [];
  2244. returnType: void;
  2245. };
  2246. /**
  2247. * Overrides the Device Orientation.
  2248. */
  2249. 'DeviceOrientation.setDeviceOrientationOverride': {
  2250. paramsType: [Protocol.DeviceOrientation.SetDeviceOrientationOverrideRequest];
  2251. returnType: void;
  2252. };
  2253. /**
  2254. * Tells whether emulation is supported.
  2255. */
  2256. 'Emulation.canEmulate': {
  2257. paramsType: [];
  2258. returnType: Protocol.Emulation.CanEmulateResponse;
  2259. };
  2260. /**
  2261. * Clears the overriden device metrics.
  2262. */
  2263. 'Emulation.clearDeviceMetricsOverride': {
  2264. paramsType: [];
  2265. returnType: void;
  2266. };
  2267. /**
  2268. * Clears the overriden Geolocation Position and Error.
  2269. */
  2270. 'Emulation.clearGeolocationOverride': {
  2271. paramsType: [];
  2272. returnType: void;
  2273. };
  2274. /**
  2275. * Requests that page scale factor is reset to initial values.
  2276. */
  2277. 'Emulation.resetPageScaleFactor': {
  2278. paramsType: [];
  2279. returnType: void;
  2280. };
  2281. /**
  2282. * Enables or disables simulating a focused and active page.
  2283. */
  2284. 'Emulation.setFocusEmulationEnabled': {
  2285. paramsType: [Protocol.Emulation.SetFocusEmulationEnabledRequest];
  2286. returnType: void;
  2287. };
  2288. /**
  2289. * Enables CPU throttling to emulate slow CPUs.
  2290. */
  2291. 'Emulation.setCPUThrottlingRate': {
  2292. paramsType: [Protocol.Emulation.SetCPUThrottlingRateRequest];
  2293. returnType: void;
  2294. };
  2295. /**
  2296. * Sets or clears an override of the default background color of the frame. This override is used
  2297. * if the content does not specify one.
  2298. */
  2299. 'Emulation.setDefaultBackgroundColorOverride': {
  2300. paramsType: [Protocol.Emulation.SetDefaultBackgroundColorOverrideRequest?];
  2301. returnType: void;
  2302. };
  2303. /**
  2304. * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
  2305. * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
  2306. * query results).
  2307. */
  2308. 'Emulation.setDeviceMetricsOverride': {
  2309. paramsType: [Protocol.Emulation.SetDeviceMetricsOverrideRequest];
  2310. returnType: void;
  2311. };
  2312. 'Emulation.setScrollbarsHidden': {
  2313. paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest];
  2314. returnType: void;
  2315. };
  2316. 'Emulation.setDocumentCookieDisabled': {
  2317. paramsType: [Protocol.Emulation.SetDocumentCookieDisabledRequest];
  2318. returnType: void;
  2319. };
  2320. 'Emulation.setEmitTouchEventsForMouse': {
  2321. paramsType: [Protocol.Emulation.SetEmitTouchEventsForMouseRequest];
  2322. returnType: void;
  2323. };
  2324. /**
  2325. * Emulates the given media type or media feature for CSS media queries.
  2326. */
  2327. 'Emulation.setEmulatedMedia': {
  2328. paramsType: [Protocol.Emulation.SetEmulatedMediaRequest?];
  2329. returnType: void;
  2330. };
  2331. /**
  2332. * Emulates the given vision deficiency.
  2333. */
  2334. 'Emulation.setEmulatedVisionDeficiency': {
  2335. paramsType: [Protocol.Emulation.SetEmulatedVisionDeficiencyRequest];
  2336. returnType: void;
  2337. };
  2338. /**
  2339. * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
  2340. * unavailable.
  2341. */
  2342. 'Emulation.setGeolocationOverride': {
  2343. paramsType: [Protocol.Emulation.SetGeolocationOverrideRequest?];
  2344. returnType: void;
  2345. };
  2346. /**
  2347. * Overrides the Idle state.
  2348. */
  2349. 'Emulation.setIdleOverride': {
  2350. paramsType: [Protocol.Emulation.SetIdleOverrideRequest];
  2351. returnType: void;
  2352. };
  2353. /**
  2354. * Clears Idle state overrides.
  2355. */
  2356. 'Emulation.clearIdleOverride': {
  2357. paramsType: [];
  2358. returnType: void;
  2359. };
  2360. /**
  2361. * Overrides value returned by the javascript navigator object.
  2362. */
  2363. 'Emulation.setNavigatorOverrides': {
  2364. paramsType: [Protocol.Emulation.SetNavigatorOverridesRequest];
  2365. returnType: void;
  2366. };
  2367. /**
  2368. * Sets a specified page scale factor.
  2369. */
  2370. 'Emulation.setPageScaleFactor': {
  2371. paramsType: [Protocol.Emulation.SetPageScaleFactorRequest];
  2372. returnType: void;
  2373. };
  2374. /**
  2375. * Switches script execution in the page.
  2376. */
  2377. 'Emulation.setScriptExecutionDisabled': {
  2378. paramsType: [Protocol.Emulation.SetScriptExecutionDisabledRequest];
  2379. returnType: void;
  2380. };
  2381. /**
  2382. * Enables touch on platforms which do not support them.
  2383. */
  2384. 'Emulation.setTouchEmulationEnabled': {
  2385. paramsType: [Protocol.Emulation.SetTouchEmulationEnabledRequest];
  2386. returnType: void;
  2387. };
  2388. /**
  2389. * Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets
  2390. * the current virtual time policy. Note this supersedes any previous time budget.
  2391. */
  2392. 'Emulation.setVirtualTimePolicy': {
  2393. paramsType: [Protocol.Emulation.SetVirtualTimePolicyRequest];
  2394. returnType: Protocol.Emulation.SetVirtualTimePolicyResponse;
  2395. };
  2396. /**
  2397. * Overrides default host system locale with the specified one.
  2398. */
  2399. 'Emulation.setLocaleOverride': {
  2400. paramsType: [Protocol.Emulation.SetLocaleOverrideRequest?];
  2401. returnType: void;
  2402. };
  2403. /**
  2404. * Overrides default host system timezone with the specified one.
  2405. */
  2406. 'Emulation.setTimezoneOverride': {
  2407. paramsType: [Protocol.Emulation.SetTimezoneOverrideRequest];
  2408. returnType: void;
  2409. };
  2410. /**
  2411. * Resizes the frame/viewport of the page. Note that this does not affect the frame's container
  2412. * (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported
  2413. * on Android.
  2414. */
  2415. 'Emulation.setVisibleSize': {
  2416. paramsType: [Protocol.Emulation.SetVisibleSizeRequest];
  2417. returnType: void;
  2418. };
  2419. /**
  2420. * Allows overriding user agent with the given string.
  2421. */
  2422. 'Emulation.setUserAgentOverride': {
  2423. paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest];
  2424. returnType: void;
  2425. };
  2426. /**
  2427. * Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
  2428. * screenshot from the resulting frame. Requires that the target was created with enabled
  2429. * BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
  2430. * https://goo.gl/3zHXhB for more background.
  2431. */
  2432. 'HeadlessExperimental.beginFrame': {
  2433. paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
  2434. returnType: Protocol.HeadlessExperimental.BeginFrameResponse;
  2435. };
  2436. /**
  2437. * Disables headless events for the target.
  2438. */
  2439. 'HeadlessExperimental.disable': {
  2440. paramsType: [];
  2441. returnType: void;
  2442. };
  2443. /**
  2444. * Enables headless events for the target.
  2445. */
  2446. 'HeadlessExperimental.enable': {
  2447. paramsType: [];
  2448. returnType: void;
  2449. };
  2450. /**
  2451. * Close the stream, discard any temporary backing storage.
  2452. */
  2453. 'IO.close': {
  2454. paramsType: [Protocol.IO.CloseRequest];
  2455. returnType: void;
  2456. };
  2457. /**
  2458. * Read a chunk of the stream
  2459. */
  2460. 'IO.read': {
  2461. paramsType: [Protocol.IO.ReadRequest];
  2462. returnType: Protocol.IO.ReadResponse;
  2463. };
  2464. /**
  2465. * Return UUID of Blob object specified by a remote object id.
  2466. */
  2467. 'IO.resolveBlob': {
  2468. paramsType: [Protocol.IO.ResolveBlobRequest];
  2469. returnType: Protocol.IO.ResolveBlobResponse;
  2470. };
  2471. /**
  2472. * Clears all entries from an object store.
  2473. */
  2474. 'IndexedDB.clearObjectStore': {
  2475. paramsType: [Protocol.IndexedDB.ClearObjectStoreRequest];
  2476. returnType: void;
  2477. };
  2478. /**
  2479. * Deletes a database.
  2480. */
  2481. 'IndexedDB.deleteDatabase': {
  2482. paramsType: [Protocol.IndexedDB.DeleteDatabaseRequest];
  2483. returnType: void;
  2484. };
  2485. /**
  2486. * Delete a range of entries from an object store
  2487. */
  2488. 'IndexedDB.deleteObjectStoreEntries': {
  2489. paramsType: [Protocol.IndexedDB.DeleteObjectStoreEntriesRequest];
  2490. returnType: void;
  2491. };
  2492. /**
  2493. * Disables events from backend.
  2494. */
  2495. 'IndexedDB.disable': {
  2496. paramsType: [];
  2497. returnType: void;
  2498. };
  2499. /**
  2500. * Enables events from backend.
  2501. */
  2502. 'IndexedDB.enable': {
  2503. paramsType: [];
  2504. returnType: void;
  2505. };
  2506. /**
  2507. * Requests data from object store or index.
  2508. */
  2509. 'IndexedDB.requestData': {
  2510. paramsType: [Protocol.IndexedDB.RequestDataRequest];
  2511. returnType: Protocol.IndexedDB.RequestDataResponse;
  2512. };
  2513. /**
  2514. * Gets metadata of an object store
  2515. */
  2516. 'IndexedDB.getMetadata': {
  2517. paramsType: [Protocol.IndexedDB.GetMetadataRequest];
  2518. returnType: Protocol.IndexedDB.GetMetadataResponse;
  2519. };
  2520. /**
  2521. * Requests database with given name in given frame.
  2522. */
  2523. 'IndexedDB.requestDatabase': {
  2524. paramsType: [Protocol.IndexedDB.RequestDatabaseRequest];
  2525. returnType: Protocol.IndexedDB.RequestDatabaseResponse;
  2526. };
  2527. /**
  2528. * Requests database names for given security origin.
  2529. */
  2530. 'IndexedDB.requestDatabaseNames': {
  2531. paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest];
  2532. returnType: Protocol.IndexedDB.RequestDatabaseNamesResponse;
  2533. };
  2534. /**
  2535. * Dispatches a key event to the page.
  2536. */
  2537. 'Input.dispatchKeyEvent': {
  2538. paramsType: [Protocol.Input.DispatchKeyEventRequest];
  2539. returnType: void;
  2540. };
  2541. /**
  2542. * This method emulates inserting text that doesn't come from a key press,
  2543. * for example an emoji keyboard or an IME.
  2544. */
  2545. 'Input.insertText': {
  2546. paramsType: [Protocol.Input.InsertTextRequest];
  2547. returnType: void;
  2548. };
  2549. /**
  2550. * Dispatches a mouse event to the page.
  2551. */
  2552. 'Input.dispatchMouseEvent': {
  2553. paramsType: [Protocol.Input.DispatchMouseEventRequest];
  2554. returnType: void;
  2555. };
  2556. /**
  2557. * Dispatches a touch event to the page.
  2558. */
  2559. 'Input.dispatchTouchEvent': {
  2560. paramsType: [Protocol.Input.DispatchTouchEventRequest];
  2561. returnType: void;
  2562. };
  2563. /**
  2564. * Emulates touch event from the mouse event parameters.
  2565. */
  2566. 'Input.emulateTouchFromMouseEvent': {
  2567. paramsType: [Protocol.Input.EmulateTouchFromMouseEventRequest];
  2568. returnType: void;
  2569. };
  2570. /**
  2571. * Ignores input events (useful while auditing page).
  2572. */
  2573. 'Input.setIgnoreInputEvents': {
  2574. paramsType: [Protocol.Input.SetIgnoreInputEventsRequest];
  2575. returnType: void;
  2576. };
  2577. /**
  2578. * Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
  2579. */
  2580. 'Input.synthesizePinchGesture': {
  2581. paramsType: [Protocol.Input.SynthesizePinchGestureRequest];
  2582. returnType: void;
  2583. };
  2584. /**
  2585. * Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
  2586. */
  2587. 'Input.synthesizeScrollGesture': {
  2588. paramsType: [Protocol.Input.SynthesizeScrollGestureRequest];
  2589. returnType: void;
  2590. };
  2591. /**
  2592. * Synthesizes a tap gesture over a time period by issuing appropriate touch events.
  2593. */
  2594. 'Input.synthesizeTapGesture': {
  2595. paramsType: [Protocol.Input.SynthesizeTapGestureRequest];
  2596. returnType: void;
  2597. };
  2598. /**
  2599. * Disables inspector domain notifications.
  2600. */
  2601. 'Inspector.disable': {
  2602. paramsType: [];
  2603. returnType: void;
  2604. };
  2605. /**
  2606. * Enables inspector domain notifications.
  2607. */
  2608. 'Inspector.enable': {
  2609. paramsType: [];
  2610. returnType: void;
  2611. };
  2612. /**
  2613. * Provides the reasons why the given layer was composited.
  2614. */
  2615. 'LayerTree.compositingReasons': {
  2616. paramsType: [Protocol.LayerTree.CompositingReasonsRequest];
  2617. returnType: Protocol.LayerTree.CompositingReasonsResponse;
  2618. };
  2619. /**
  2620. * Disables compositing tree inspection.
  2621. */
  2622. 'LayerTree.disable': {
  2623. paramsType: [];
  2624. returnType: void;
  2625. };
  2626. /**
  2627. * Enables compositing tree inspection.
  2628. */
  2629. 'LayerTree.enable': {
  2630. paramsType: [];
  2631. returnType: void;
  2632. };
  2633. /**
  2634. * Returns the snapshot identifier.
  2635. */
  2636. 'LayerTree.loadSnapshot': {
  2637. paramsType: [Protocol.LayerTree.LoadSnapshotRequest];
  2638. returnType: Protocol.LayerTree.LoadSnapshotResponse;
  2639. };
  2640. /**
  2641. * Returns the layer snapshot identifier.
  2642. */
  2643. 'LayerTree.makeSnapshot': {
  2644. paramsType: [Protocol.LayerTree.MakeSnapshotRequest];
  2645. returnType: Protocol.LayerTree.MakeSnapshotResponse;
  2646. };
  2647. 'LayerTree.profileSnapshot': {
  2648. paramsType: [Protocol.LayerTree.ProfileSnapshotRequest];
  2649. returnType: Protocol.LayerTree.ProfileSnapshotResponse;
  2650. };
  2651. /**
  2652. * Releases layer snapshot captured by the back-end.
  2653. */
  2654. 'LayerTree.releaseSnapshot': {
  2655. paramsType: [Protocol.LayerTree.ReleaseSnapshotRequest];
  2656. returnType: void;
  2657. };
  2658. /**
  2659. * Replays the layer snapshot and returns the resulting bitmap.
  2660. */
  2661. 'LayerTree.replaySnapshot': {
  2662. paramsType: [Protocol.LayerTree.ReplaySnapshotRequest];
  2663. returnType: Protocol.LayerTree.ReplaySnapshotResponse;
  2664. };
  2665. /**
  2666. * Replays the layer snapshot and returns canvas log.
  2667. */
  2668. 'LayerTree.snapshotCommandLog': {
  2669. paramsType: [Protocol.LayerTree.SnapshotCommandLogRequest];
  2670. returnType: Protocol.LayerTree.SnapshotCommandLogResponse;
  2671. };
  2672. /**
  2673. * Clears the log.
  2674. */
  2675. 'Log.clear': {
  2676. paramsType: [];
  2677. returnType: void;
  2678. };
  2679. /**
  2680. * Disables log domain, prevents further log entries from being reported to the client.
  2681. */
  2682. 'Log.disable': {
  2683. paramsType: [];
  2684. returnType: void;
  2685. };
  2686. /**
  2687. * Enables log domain, sends the entries collected so far to the client by means of the
  2688. * `entryAdded` notification.
  2689. */
  2690. 'Log.enable': {
  2691. paramsType: [];
  2692. returnType: void;
  2693. };
  2694. /**
  2695. * start violation reporting.
  2696. */
  2697. 'Log.startViolationsReport': {
  2698. paramsType: [Protocol.Log.StartViolationsReportRequest];
  2699. returnType: void;
  2700. };
  2701. /**
  2702. * Stop violation reporting.
  2703. */
  2704. 'Log.stopViolationsReport': {
  2705. paramsType: [];
  2706. returnType: void;
  2707. };
  2708. 'Memory.getDOMCounters': {
  2709. paramsType: [];
  2710. returnType: Protocol.Memory.GetDOMCountersResponse;
  2711. };
  2712. 'Memory.prepareForLeakDetection': {
  2713. paramsType: [];
  2714. returnType: void;
  2715. };
  2716. /**
  2717. * Simulate OomIntervention by purging V8 memory.
  2718. */
  2719. 'Memory.forciblyPurgeJavaScriptMemory': {
  2720. paramsType: [];
  2721. returnType: void;
  2722. };
  2723. /**
  2724. * Enable/disable suppressing memory pressure notifications in all processes.
  2725. */
  2726. 'Memory.setPressureNotificationsSuppressed': {
  2727. paramsType: [Protocol.Memory.SetPressureNotificationsSuppressedRequest];
  2728. returnType: void;
  2729. };
  2730. /**
  2731. * Simulate a memory pressure notification in all processes.
  2732. */
  2733. 'Memory.simulatePressureNotification': {
  2734. paramsType: [Protocol.Memory.SimulatePressureNotificationRequest];
  2735. returnType: void;
  2736. };
  2737. /**
  2738. * Start collecting native memory profile.
  2739. */
  2740. 'Memory.startSampling': {
  2741. paramsType: [Protocol.Memory.StartSamplingRequest?];
  2742. returnType: void;
  2743. };
  2744. /**
  2745. * Stop collecting native memory profile.
  2746. */
  2747. 'Memory.stopSampling': {
  2748. paramsType: [];
  2749. returnType: void;
  2750. };
  2751. /**
  2752. * Retrieve native memory allocations profile
  2753. * collected since renderer process startup.
  2754. */
  2755. 'Memory.getAllTimeSamplingProfile': {
  2756. paramsType: [];
  2757. returnType: Protocol.Memory.GetAllTimeSamplingProfileResponse;
  2758. };
  2759. /**
  2760. * Retrieve native memory allocations profile
  2761. * collected since browser process startup.
  2762. */
  2763. 'Memory.getBrowserSamplingProfile': {
  2764. paramsType: [];
  2765. returnType: Protocol.Memory.GetBrowserSamplingProfileResponse;
  2766. };
  2767. /**
  2768. * Retrieve native memory allocations profile collected since last
  2769. * `startSampling` call.
  2770. */
  2771. 'Memory.getSamplingProfile': {
  2772. paramsType: [];
  2773. returnType: Protocol.Memory.GetSamplingProfileResponse;
  2774. };
  2775. /**
  2776. * Tells whether clearing browser cache is supported.
  2777. */
  2778. 'Network.canClearBrowserCache': {
  2779. paramsType: [];
  2780. returnType: Protocol.Network.CanClearBrowserCacheResponse;
  2781. };
  2782. /**
  2783. * Tells whether clearing browser cookies is supported.
  2784. */
  2785. 'Network.canClearBrowserCookies': {
  2786. paramsType: [];
  2787. returnType: Protocol.Network.CanClearBrowserCookiesResponse;
  2788. };
  2789. /**
  2790. * Tells whether emulation of network conditions is supported.
  2791. */
  2792. 'Network.canEmulateNetworkConditions': {
  2793. paramsType: [];
  2794. returnType: Protocol.Network.CanEmulateNetworkConditionsResponse;
  2795. };
  2796. /**
  2797. * Clears browser cache.
  2798. */
  2799. 'Network.clearBrowserCache': {
  2800. paramsType: [];
  2801. returnType: void;
  2802. };
  2803. /**
  2804. * Clears browser cookies.
  2805. */
  2806. 'Network.clearBrowserCookies': {
  2807. paramsType: [];
  2808. returnType: void;
  2809. };
  2810. /**
  2811. * Response to Network.requestIntercepted which either modifies the request to continue with any
  2812. * modifications, or blocks it, or completes it with the provided response bytes. If a network
  2813. * fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
  2814. * event will be sent with the same InterceptionId.
  2815. * Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
  2816. */
  2817. 'Network.continueInterceptedRequest': {
  2818. paramsType: [Protocol.Network.ContinueInterceptedRequestRequest];
  2819. returnType: void;
  2820. };
  2821. /**
  2822. * Deletes browser cookies with matching name and url or domain/path pair.
  2823. */
  2824. 'Network.deleteCookies': {
  2825. paramsType: [Protocol.Network.DeleteCookiesRequest];
  2826. returnType: void;
  2827. };
  2828. /**
  2829. * Disables network tracking, prevents network events from being sent to the client.
  2830. */
  2831. 'Network.disable': {
  2832. paramsType: [];
  2833. returnType: void;
  2834. };
  2835. /**
  2836. * Activates emulation of network conditions.
  2837. */
  2838. 'Network.emulateNetworkConditions': {
  2839. paramsType: [Protocol.Network.EmulateNetworkConditionsRequest];
  2840. returnType: void;
  2841. };
  2842. /**
  2843. * Enables network tracking, network events will now be delivered to the client.
  2844. */
  2845. 'Network.enable': {
  2846. paramsType: [Protocol.Network.EnableRequest?];
  2847. returnType: void;
  2848. };
  2849. /**
  2850. * Returns all browser cookies. Depending on the backend support, will return detailed cookie
  2851. * information in the `cookies` field.
  2852. */
  2853. 'Network.getAllCookies': {
  2854. paramsType: [];
  2855. returnType: Protocol.Network.GetAllCookiesResponse;
  2856. };
  2857. /**
  2858. * Returns the DER-encoded certificate.
  2859. */
  2860. 'Network.getCertificate': {
  2861. paramsType: [Protocol.Network.GetCertificateRequest];
  2862. returnType: Protocol.Network.GetCertificateResponse;
  2863. };
  2864. /**
  2865. * Returns all browser cookies for the current URL. Depending on the backend support, will return
  2866. * detailed cookie information in the `cookies` field.
  2867. */
  2868. 'Network.getCookies': {
  2869. paramsType: [Protocol.Network.GetCookiesRequest?];
  2870. returnType: Protocol.Network.GetCookiesResponse;
  2871. };
  2872. /**
  2873. * Returns content served for the given request.
  2874. */
  2875. 'Network.getResponseBody': {
  2876. paramsType: [Protocol.Network.GetResponseBodyRequest];
  2877. returnType: Protocol.Network.GetResponseBodyResponse;
  2878. };
  2879. /**
  2880. * Returns post data sent with the request. Returns an error when no data was sent with the request.
  2881. */
  2882. 'Network.getRequestPostData': {
  2883. paramsType: [Protocol.Network.GetRequestPostDataRequest];
  2884. returnType: Protocol.Network.GetRequestPostDataResponse;
  2885. };
  2886. /**
  2887. * Returns content served for the given currently intercepted request.
  2888. */
  2889. 'Network.getResponseBodyForInterception': {
  2890. paramsType: [Protocol.Network.GetResponseBodyForInterceptionRequest];
  2891. returnType: Protocol.Network.GetResponseBodyForInterceptionResponse;
  2892. };
  2893. /**
  2894. * Returns a handle to the stream representing the response body. Note that after this command,
  2895. * the intercepted request can't be continued as is -- you either need to cancel it or to provide
  2896. * the response body. The stream only supports sequential read, IO.read will fail if the position
  2897. * is specified.
  2898. */
  2899. 'Network.takeResponseBodyForInterceptionAsStream': {
  2900. paramsType: [Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest];
  2901. returnType: Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse;
  2902. };
  2903. /**
  2904. * This method sends a new XMLHttpRequest which is identical to the original one. The following
  2905. * parameters should be identical: method, url, async, request body, extra headers, withCredentials
  2906. * attribute, user, password.
  2907. */
  2908. 'Network.replayXHR': {
  2909. paramsType: [Protocol.Network.ReplayXHRRequest];
  2910. returnType: void;
  2911. };
  2912. /**
  2913. * Searches for given string in response content.
  2914. */
  2915. 'Network.searchInResponseBody': {
  2916. paramsType: [Protocol.Network.SearchInResponseBodyRequest];
  2917. returnType: Protocol.Network.SearchInResponseBodyResponse;
  2918. };
  2919. /**
  2920. * Blocks URLs from loading.
  2921. */
  2922. 'Network.setBlockedURLs': {
  2923. paramsType: [Protocol.Network.SetBlockedURLsRequest];
  2924. returnType: void;
  2925. };
  2926. /**
  2927. * Toggles ignoring of service worker for each request.
  2928. */
  2929. 'Network.setBypassServiceWorker': {
  2930. paramsType: [Protocol.Network.SetBypassServiceWorkerRequest];
  2931. returnType: void;
  2932. };
  2933. /**
  2934. * Toggles ignoring cache for each request. If `true`, cache will not be used.
  2935. */
  2936. 'Network.setCacheDisabled': {
  2937. paramsType: [Protocol.Network.SetCacheDisabledRequest];
  2938. returnType: void;
  2939. };
  2940. /**
  2941. * Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
  2942. */
  2943. 'Network.setCookie': {
  2944. paramsType: [Protocol.Network.SetCookieRequest];
  2945. returnType: Protocol.Network.SetCookieResponse;
  2946. };
  2947. /**
  2948. * Sets given cookies.
  2949. */
  2950. 'Network.setCookies': {
  2951. paramsType: [Protocol.Network.SetCookiesRequest];
  2952. returnType: void;
  2953. };
  2954. /**
  2955. * For testing.
  2956. */
  2957. 'Network.setDataSizeLimitsForTest': {
  2958. paramsType: [Protocol.Network.SetDataSizeLimitsForTestRequest];
  2959. returnType: void;
  2960. };
  2961. /**
  2962. * Specifies whether to always send extra HTTP headers with the requests from this page.
  2963. */
  2964. 'Network.setExtraHTTPHeaders': {
  2965. paramsType: [Protocol.Network.SetExtraHTTPHeadersRequest];
  2966. returnType: void;
  2967. };
  2968. /**
  2969. * Specifies whether to sned a debug header to all outgoing requests.
  2970. */
  2971. 'Network.setAttachDebugHeader': {
  2972. paramsType: [Protocol.Network.SetAttachDebugHeaderRequest];
  2973. returnType: void;
  2974. };
  2975. /**
  2976. * Sets the requests to intercept that match the provided patterns and optionally resource types.
  2977. * Deprecated, please use Fetch.enable instead.
  2978. */
  2979. 'Network.setRequestInterception': {
  2980. paramsType: [Protocol.Network.SetRequestInterceptionRequest];
  2981. returnType: void;
  2982. };
  2983. /**
  2984. * Allows overriding user agent with the given string.
  2985. */
  2986. 'Network.setUserAgentOverride': {
  2987. paramsType: [Protocol.Network.SetUserAgentOverrideRequest];
  2988. returnType: void;
  2989. };
  2990. /**
  2991. * Returns information about the COEP/COOP isolation status.
  2992. */
  2993. 'Network.getSecurityIsolationStatus': {
  2994. paramsType: [Protocol.Network.GetSecurityIsolationStatusRequest?];
  2995. returnType: Protocol.Network.GetSecurityIsolationStatusResponse;
  2996. };
  2997. /**
  2998. * Fetches the resource and returns the content.
  2999. */
  3000. 'Network.loadNetworkResource': {
  3001. paramsType: [Protocol.Network.LoadNetworkResourceRequest];
  3002. returnType: Protocol.Network.LoadNetworkResourceResponse;
  3003. };
  3004. /**
  3005. * Disables domain notifications.
  3006. */
  3007. 'Overlay.disable': {
  3008. paramsType: [];
  3009. returnType: void;
  3010. };
  3011. /**
  3012. * Enables domain notifications.
  3013. */
  3014. 'Overlay.enable': {
  3015. paramsType: [];
  3016. returnType: void;
  3017. };
  3018. /**
  3019. * For testing.
  3020. */
  3021. 'Overlay.getHighlightObjectForTest': {
  3022. paramsType: [Protocol.Overlay.GetHighlightObjectForTestRequest];
  3023. returnType: Protocol.Overlay.GetHighlightObjectForTestResponse;
  3024. };
  3025. /**
  3026. * For Persistent Grid testing.
  3027. */
  3028. 'Overlay.getGridHighlightObjectsForTest': {
  3029. paramsType: [Protocol.Overlay.GetGridHighlightObjectsForTestRequest];
  3030. returnType: Protocol.Overlay.GetGridHighlightObjectsForTestResponse;
  3031. };
  3032. /**
  3033. * For Source Order Viewer testing.
  3034. */
  3035. 'Overlay.getSourceOrderHighlightObjectForTest': {
  3036. paramsType: [Protocol.Overlay.GetSourceOrderHighlightObjectForTestRequest];
  3037. returnType: Protocol.Overlay.GetSourceOrderHighlightObjectForTestResponse;
  3038. };
  3039. /**
  3040. * Hides any highlight.
  3041. */
  3042. 'Overlay.hideHighlight': {
  3043. paramsType: [];
  3044. returnType: void;
  3045. };
  3046. /**
  3047. * Highlights owner element of the frame with given id.
  3048. */
  3049. 'Overlay.highlightFrame': {
  3050. paramsType: [Protocol.Overlay.HighlightFrameRequest];
  3051. returnType: void;
  3052. };
  3053. /**
  3054. * Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
  3055. * objectId must be specified.
  3056. */
  3057. 'Overlay.highlightNode': {
  3058. paramsType: [Protocol.Overlay.HighlightNodeRequest];
  3059. returnType: void;
  3060. };
  3061. /**
  3062. * Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
  3063. */
  3064. 'Overlay.highlightQuad': {
  3065. paramsType: [Protocol.Overlay.HighlightQuadRequest];
  3066. returnType: void;
  3067. };
  3068. /**
  3069. * Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
  3070. */
  3071. 'Overlay.highlightRect': {
  3072. paramsType: [Protocol.Overlay.HighlightRectRequest];
  3073. returnType: void;
  3074. };
  3075. /**
  3076. * Highlights the source order of the children of the DOM node with given id or with the given
  3077. * JavaScript object wrapper. Either nodeId or objectId must be specified.
  3078. */
  3079. 'Overlay.highlightSourceOrder': {
  3080. paramsType: [Protocol.Overlay.HighlightSourceOrderRequest];
  3081. returnType: void;
  3082. };
  3083. /**
  3084. * Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.
  3085. * Backend then generates 'inspectNodeRequested' event upon element selection.
  3086. */
  3087. 'Overlay.setInspectMode': {
  3088. paramsType: [Protocol.Overlay.SetInspectModeRequest];
  3089. returnType: void;
  3090. };
  3091. /**
  3092. * Highlights owner element of all frames detected to be ads.
  3093. */
  3094. 'Overlay.setShowAdHighlights': {
  3095. paramsType: [Protocol.Overlay.SetShowAdHighlightsRequest];
  3096. returnType: void;
  3097. };
  3098. 'Overlay.setPausedInDebuggerMessage': {
  3099. paramsType: [Protocol.Overlay.SetPausedInDebuggerMessageRequest?];
  3100. returnType: void;
  3101. };
  3102. /**
  3103. * Requests that backend shows debug borders on layers
  3104. */
  3105. 'Overlay.setShowDebugBorders': {
  3106. paramsType: [Protocol.Overlay.SetShowDebugBordersRequest];
  3107. returnType: void;
  3108. };
  3109. /**
  3110. * Requests that backend shows the FPS counter
  3111. */
  3112. 'Overlay.setShowFPSCounter': {
  3113. paramsType: [Protocol.Overlay.SetShowFPSCounterRequest];
  3114. returnType: void;
  3115. };
  3116. /**
  3117. * Highlight multiple elements with the CSS Grid overlay.
  3118. */
  3119. 'Overlay.setShowGridOverlays': {
  3120. paramsType: [Protocol.Overlay.SetShowGridOverlaysRequest];
  3121. returnType: void;
  3122. };
  3123. /**
  3124. * Requests that backend shows paint rectangles
  3125. */
  3126. 'Overlay.setShowPaintRects': {
  3127. paramsType: [Protocol.Overlay.SetShowPaintRectsRequest];
  3128. returnType: void;
  3129. };
  3130. /**
  3131. * Requests that backend shows layout shift regions
  3132. */
  3133. 'Overlay.setShowLayoutShiftRegions': {
  3134. paramsType: [Protocol.Overlay.SetShowLayoutShiftRegionsRequest];
  3135. returnType: void;
  3136. };
  3137. /**
  3138. * Requests that backend shows scroll bottleneck rects
  3139. */
  3140. 'Overlay.setShowScrollBottleneckRects': {
  3141. paramsType: [Protocol.Overlay.SetShowScrollBottleneckRectsRequest];
  3142. returnType: void;
  3143. };
  3144. /**
  3145. * Requests that backend shows hit-test borders on layers
  3146. */
  3147. 'Overlay.setShowHitTestBorders': {
  3148. paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest];
  3149. returnType: void;
  3150. };
  3151. /**
  3152. * Paints viewport size upon main frame resize.
  3153. */
  3154. 'Overlay.setShowViewportSizeOnResize': {
  3155. paramsType: [Protocol.Overlay.SetShowViewportSizeOnResizeRequest];
  3156. returnType: void;
  3157. };
  3158. /**
  3159. * Add a dual screen device hinge
  3160. */
  3161. 'Overlay.setShowHinge': {
  3162. paramsType: [Protocol.Overlay.SetShowHingeRequest?];
  3163. returnType: void;
  3164. };
  3165. /**
  3166. * Deprecated, please use addScriptToEvaluateOnNewDocument instead.
  3167. */
  3168. 'Page.addScriptToEvaluateOnLoad': {
  3169. paramsType: [Protocol.Page.AddScriptToEvaluateOnLoadRequest];
  3170. returnType: Protocol.Page.AddScriptToEvaluateOnLoadResponse;
  3171. };
  3172. /**
  3173. * Evaluates given script in every frame upon creation (before loading frame's scripts).
  3174. */
  3175. 'Page.addScriptToEvaluateOnNewDocument': {
  3176. paramsType: [Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest];
  3177. returnType: Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse;
  3178. };
  3179. /**
  3180. * Brings page to front (activates tab).
  3181. */
  3182. 'Page.bringToFront': {
  3183. paramsType: [];
  3184. returnType: void;
  3185. };
  3186. /**
  3187. * Capture page screenshot.
  3188. */
  3189. 'Page.captureScreenshot': {
  3190. paramsType: [Protocol.Page.CaptureScreenshotRequest?];
  3191. returnType: Protocol.Page.CaptureScreenshotResponse;
  3192. };
  3193. /**
  3194. * Returns a snapshot of the page as a string. For MHTML format, the serialization includes
  3195. * iframes, shadow DOM, external resources, and element-inline styles.
  3196. */
  3197. 'Page.captureSnapshot': {
  3198. paramsType: [Protocol.Page.CaptureSnapshotRequest?];
  3199. returnType: Protocol.Page.CaptureSnapshotResponse;
  3200. };
  3201. /**
  3202. * Clears the overriden device metrics.
  3203. */
  3204. 'Page.clearDeviceMetricsOverride': {
  3205. paramsType: [];
  3206. returnType: void;
  3207. };
  3208. /**
  3209. * Clears the overridden Device Orientation.
  3210. */
  3211. 'Page.clearDeviceOrientationOverride': {
  3212. paramsType: [];
  3213. returnType: void;
  3214. };
  3215. /**
  3216. * Clears the overriden Geolocation Position and Error.
  3217. */
  3218. 'Page.clearGeolocationOverride': {
  3219. paramsType: [];
  3220. returnType: void;
  3221. };
  3222. /**
  3223. * Creates an isolated world for the given frame.
  3224. */
  3225. 'Page.createIsolatedWorld': {
  3226. paramsType: [Protocol.Page.CreateIsolatedWorldRequest];
  3227. returnType: Protocol.Page.CreateIsolatedWorldResponse;
  3228. };
  3229. /**
  3230. * Deletes browser cookie with given name, domain and path.
  3231. */
  3232. 'Page.deleteCookie': {
  3233. paramsType: [Protocol.Page.DeleteCookieRequest];
  3234. returnType: void;
  3235. };
  3236. /**
  3237. * Disables page domain notifications.
  3238. */
  3239. 'Page.disable': {
  3240. paramsType: [];
  3241. returnType: void;
  3242. };
  3243. /**
  3244. * Enables page domain notifications.
  3245. */
  3246. 'Page.enable': {
  3247. paramsType: [];
  3248. returnType: void;
  3249. };
  3250. 'Page.getAppManifest': {
  3251. paramsType: [];
  3252. returnType: Protocol.Page.GetAppManifestResponse;
  3253. };
  3254. 'Page.getInstallabilityErrors': {
  3255. paramsType: [];
  3256. returnType: Protocol.Page.GetInstallabilityErrorsResponse;
  3257. };
  3258. 'Page.getManifestIcons': {
  3259. paramsType: [];
  3260. returnType: Protocol.Page.GetManifestIconsResponse;
  3261. };
  3262. /**
  3263. * Returns all browser cookies. Depending on the backend support, will return detailed cookie
  3264. * information in the `cookies` field.
  3265. */
  3266. 'Page.getCookies': {
  3267. paramsType: [];
  3268. returnType: Protocol.Page.GetCookiesResponse;
  3269. };
  3270. /**
  3271. * Returns present frame tree structure.
  3272. */
  3273. 'Page.getFrameTree': {
  3274. paramsType: [];
  3275. returnType: Protocol.Page.GetFrameTreeResponse;
  3276. };
  3277. /**
  3278. * Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
  3279. */
  3280. 'Page.getLayoutMetrics': {
  3281. paramsType: [];
  3282. returnType: Protocol.Page.GetLayoutMetricsResponse;
  3283. };
  3284. /**
  3285. * Returns navigation history for the current page.
  3286. */
  3287. 'Page.getNavigationHistory': {
  3288. paramsType: [];
  3289. returnType: Protocol.Page.GetNavigationHistoryResponse;
  3290. };
  3291. /**
  3292. * Resets navigation history for the current page.
  3293. */
  3294. 'Page.resetNavigationHistory': {
  3295. paramsType: [];
  3296. returnType: void;
  3297. };
  3298. /**
  3299. * Returns content of the given resource.
  3300. */
  3301. 'Page.getResourceContent': {
  3302. paramsType: [Protocol.Page.GetResourceContentRequest];
  3303. returnType: Protocol.Page.GetResourceContentResponse;
  3304. };
  3305. /**
  3306. * Returns present frame / resource tree structure.
  3307. */
  3308. 'Page.getResourceTree': {
  3309. paramsType: [];
  3310. returnType: Protocol.Page.GetResourceTreeResponse;
  3311. };
  3312. /**
  3313. * Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
  3314. */
  3315. 'Page.handleJavaScriptDialog': {
  3316. paramsType: [Protocol.Page.HandleJavaScriptDialogRequest];
  3317. returnType: void;
  3318. };
  3319. /**
  3320. * Navigates current page to the given URL.
  3321. */
  3322. 'Page.navigate': {
  3323. paramsType: [Protocol.Page.NavigateRequest];
  3324. returnType: Protocol.Page.NavigateResponse;
  3325. };
  3326. /**
  3327. * Navigates current page to the given history entry.
  3328. */
  3329. 'Page.navigateToHistoryEntry': {
  3330. paramsType: [Protocol.Page.NavigateToHistoryEntryRequest];
  3331. returnType: void;
  3332. };
  3333. /**
  3334. * Print page as PDF.
  3335. */
  3336. 'Page.printToPDF': {
  3337. paramsType: [Protocol.Page.PrintToPDFRequest?];
  3338. returnType: Protocol.Page.PrintToPDFResponse;
  3339. };
  3340. /**
  3341. * Reloads given page optionally ignoring the cache.
  3342. */
  3343. 'Page.reload': {
  3344. paramsType: [Protocol.Page.ReloadRequest?];
  3345. returnType: void;
  3346. };
  3347. /**
  3348. * Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
  3349. */
  3350. 'Page.removeScriptToEvaluateOnLoad': {
  3351. paramsType: [Protocol.Page.RemoveScriptToEvaluateOnLoadRequest];
  3352. returnType: void;
  3353. };
  3354. /**
  3355. * Removes given script from the list.
  3356. */
  3357. 'Page.removeScriptToEvaluateOnNewDocument': {
  3358. paramsType: [Protocol.Page.RemoveScriptToEvaluateOnNewDocumentRequest];
  3359. returnType: void;
  3360. };
  3361. /**
  3362. * Acknowledges that a screencast frame has been received by the frontend.
  3363. */
  3364. 'Page.screencastFrameAck': {
  3365. paramsType: [Protocol.Page.ScreencastFrameAckRequest];
  3366. returnType: void;
  3367. };
  3368. /**
  3369. * Searches for given string in resource content.
  3370. */
  3371. 'Page.searchInResource': {
  3372. paramsType: [Protocol.Page.SearchInResourceRequest];
  3373. returnType: Protocol.Page.SearchInResourceResponse;
  3374. };
  3375. /**
  3376. * Enable Chrome's experimental ad filter on all sites.
  3377. */
  3378. 'Page.setAdBlockingEnabled': {
  3379. paramsType: [Protocol.Page.SetAdBlockingEnabledRequest];
  3380. returnType: void;
  3381. };
  3382. /**
  3383. * Enable page Content Security Policy by-passing.
  3384. */
  3385. 'Page.setBypassCSP': {
  3386. paramsType: [Protocol.Page.SetBypassCSPRequest];
  3387. returnType: void;
  3388. };
  3389. /**
  3390. * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
  3391. * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
  3392. * query results).
  3393. */
  3394. 'Page.setDeviceMetricsOverride': {
  3395. paramsType: [Protocol.Page.SetDeviceMetricsOverrideRequest];
  3396. returnType: void;
  3397. };
  3398. /**
  3399. * Overrides the Device Orientation.
  3400. */
  3401. 'Page.setDeviceOrientationOverride': {
  3402. paramsType: [Protocol.Page.SetDeviceOrientationOverrideRequest];
  3403. returnType: void;
  3404. };
  3405. /**
  3406. * Set generic font families.
  3407. */
  3408. 'Page.setFontFamilies': {
  3409. paramsType: [Protocol.Page.SetFontFamiliesRequest];
  3410. returnType: void;
  3411. };
  3412. /**
  3413. * Set default font sizes.
  3414. */
  3415. 'Page.setFontSizes': {
  3416. paramsType: [Protocol.Page.SetFontSizesRequest];
  3417. returnType: void;
  3418. };
  3419. /**
  3420. * Sets given markup as the document's HTML.
  3421. */
  3422. 'Page.setDocumentContent': {
  3423. paramsType: [Protocol.Page.SetDocumentContentRequest];
  3424. returnType: void;
  3425. };
  3426. /**
  3427. * Set the behavior when downloading a file.
  3428. */
  3429. 'Page.setDownloadBehavior': {
  3430. paramsType: [Protocol.Page.SetDownloadBehaviorRequest];
  3431. returnType: void;
  3432. };
  3433. /**
  3434. * Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
  3435. * unavailable.
  3436. */
  3437. 'Page.setGeolocationOverride': {
  3438. paramsType: [Protocol.Page.SetGeolocationOverrideRequest?];
  3439. returnType: void;
  3440. };
  3441. /**
  3442. * Controls whether page will emit lifecycle events.
  3443. */
  3444. 'Page.setLifecycleEventsEnabled': {
  3445. paramsType: [Protocol.Page.SetLifecycleEventsEnabledRequest];
  3446. returnType: void;
  3447. };
  3448. /**
  3449. * Toggles mouse event-based touch event emulation.
  3450. */
  3451. 'Page.setTouchEmulationEnabled': {
  3452. paramsType: [Protocol.Page.SetTouchEmulationEnabledRequest];
  3453. returnType: void;
  3454. };
  3455. /**
  3456. * Starts sending each frame using the `screencastFrame` event.
  3457. */
  3458. 'Page.startScreencast': {
  3459. paramsType: [Protocol.Page.StartScreencastRequest?];
  3460. returnType: void;
  3461. };
  3462. /**
  3463. * Force the page stop all navigations and pending resource fetches.
  3464. */
  3465. 'Page.stopLoading': {
  3466. paramsType: [];
  3467. returnType: void;
  3468. };
  3469. /**
  3470. * Crashes renderer on the IO thread, generates minidumps.
  3471. */
  3472. 'Page.crash': {
  3473. paramsType: [];
  3474. returnType: void;
  3475. };
  3476. /**
  3477. * Tries to close page, running its beforeunload hooks, if any.
  3478. */
  3479. 'Page.close': {
  3480. paramsType: [];
  3481. returnType: void;
  3482. };
  3483. /**
  3484. * Tries to update the web lifecycle state of the page.
  3485. * It will transition the page to the given state according to:
  3486. * https://github.com/WICG/web-lifecycle/
  3487. */
  3488. 'Page.setWebLifecycleState': {
  3489. paramsType: [Protocol.Page.SetWebLifecycleStateRequest];
  3490. returnType: void;
  3491. };
  3492. /**
  3493. * Stops sending each frame in the `screencastFrame`.
  3494. */
  3495. 'Page.stopScreencast': {
  3496. paramsType: [];
  3497. returnType: void;
  3498. };
  3499. /**
  3500. * Forces compilation cache to be generated for every subresource script.
  3501. */
  3502. 'Page.setProduceCompilationCache': {
  3503. paramsType: [Protocol.Page.SetProduceCompilationCacheRequest];
  3504. returnType: void;
  3505. };
  3506. /**
  3507. * Seeds compilation cache for given url. Compilation cache does not survive
  3508. * cross-process navigation.
  3509. */
  3510. 'Page.addCompilationCache': {
  3511. paramsType: [Protocol.Page.AddCompilationCacheRequest];
  3512. returnType: void;
  3513. };
  3514. /**
  3515. * Clears seeded compilation cache.
  3516. */
  3517. 'Page.clearCompilationCache': {
  3518. paramsType: [];
  3519. returnType: void;
  3520. };
  3521. /**
  3522. * Generates a report for testing.
  3523. */
  3524. 'Page.generateTestReport': {
  3525. paramsType: [Protocol.Page.GenerateTestReportRequest];
  3526. returnType: void;
  3527. };
  3528. /**
  3529. * Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
  3530. */
  3531. 'Page.waitForDebugger': {
  3532. paramsType: [];
  3533. returnType: void;
  3534. };
  3535. /**
  3536. * Intercept file chooser requests and transfer control to protocol clients.
  3537. * When file chooser interception is enabled, native file chooser dialog is not shown.
  3538. * Instead, a protocol event `Page.fileChooserOpened` is emitted.
  3539. */
  3540. 'Page.setInterceptFileChooserDialog': {
  3541. paramsType: [Protocol.Page.SetInterceptFileChooserDialogRequest];
  3542. returnType: void;
  3543. };
  3544. /**
  3545. * Disable collecting and reporting metrics.
  3546. */
  3547. 'Performance.disable': {
  3548. paramsType: [];
  3549. returnType: void;
  3550. };
  3551. /**
  3552. * Enable collecting and reporting metrics.
  3553. */
  3554. 'Performance.enable': {
  3555. paramsType: [Protocol.Performance.EnableRequest?];
  3556. returnType: void;
  3557. };
  3558. /**
  3559. * Sets time domain to use for collecting and reporting duration metrics.
  3560. * Note that this must be called before enabling metrics collection. Calling
  3561. * this method while metrics collection is enabled returns an error.
  3562. */
  3563. 'Performance.setTimeDomain': {
  3564. paramsType: [Protocol.Performance.SetTimeDomainRequest];
  3565. returnType: void;
  3566. };
  3567. /**
  3568. * Retrieve current values of run-time metrics.
  3569. */
  3570. 'Performance.getMetrics': {
  3571. paramsType: [];
  3572. returnType: Protocol.Performance.GetMetricsResponse;
  3573. };
  3574. /**
  3575. * Disables tracking security state changes.
  3576. */
  3577. 'Security.disable': {
  3578. paramsType: [];
  3579. returnType: void;
  3580. };
  3581. /**
  3582. * Enables tracking security state changes.
  3583. */
  3584. 'Security.enable': {
  3585. paramsType: [];
  3586. returnType: void;
  3587. };
  3588. /**
  3589. * Enable/disable whether all certificate errors should be ignored.
  3590. */
  3591. 'Security.setIgnoreCertificateErrors': {
  3592. paramsType: [Protocol.Security.SetIgnoreCertificateErrorsRequest];
  3593. returnType: void;
  3594. };
  3595. /**
  3596. * Handles a certificate error that fired a certificateError event.
  3597. */
  3598. 'Security.handleCertificateError': {
  3599. paramsType: [Protocol.Security.HandleCertificateErrorRequest];
  3600. returnType: void;
  3601. };
  3602. /**
  3603. * Enable/disable overriding certificate errors. If enabled, all certificate error events need to
  3604. * be handled by the DevTools client and should be answered with `handleCertificateError` commands.
  3605. */
  3606. 'Security.setOverrideCertificateErrors': {
  3607. paramsType: [Protocol.Security.SetOverrideCertificateErrorsRequest];
  3608. returnType: void;
  3609. };
  3610. 'ServiceWorker.deliverPushMessage': {
  3611. paramsType: [Protocol.ServiceWorker.DeliverPushMessageRequest];
  3612. returnType: void;
  3613. };
  3614. 'ServiceWorker.disable': {
  3615. paramsType: [];
  3616. returnType: void;
  3617. };
  3618. 'ServiceWorker.dispatchSyncEvent': {
  3619. paramsType: [Protocol.ServiceWorker.DispatchSyncEventRequest];
  3620. returnType: void;
  3621. };
  3622. 'ServiceWorker.dispatchPeriodicSyncEvent': {
  3623. paramsType: [Protocol.ServiceWorker.DispatchPeriodicSyncEventRequest];
  3624. returnType: void;
  3625. };
  3626. 'ServiceWorker.enable': {
  3627. paramsType: [];
  3628. returnType: void;
  3629. };
  3630. 'ServiceWorker.inspectWorker': {
  3631. paramsType: [Protocol.ServiceWorker.InspectWorkerRequest];
  3632. returnType: void;
  3633. };
  3634. 'ServiceWorker.setForceUpdateOnPageLoad': {
  3635. paramsType: [Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest];
  3636. returnType: void;
  3637. };
  3638. 'ServiceWorker.skipWaiting': {
  3639. paramsType: [Protocol.ServiceWorker.SkipWaitingRequest];
  3640. returnType: void;
  3641. };
  3642. 'ServiceWorker.startWorker': {
  3643. paramsType: [Protocol.ServiceWorker.StartWorkerRequest];
  3644. returnType: void;
  3645. };
  3646. 'ServiceWorker.stopAllWorkers': {
  3647. paramsType: [];
  3648. returnType: void;
  3649. };
  3650. 'ServiceWorker.stopWorker': {
  3651. paramsType: [Protocol.ServiceWorker.StopWorkerRequest];
  3652. returnType: void;
  3653. };
  3654. 'ServiceWorker.unregister': {
  3655. paramsType: [Protocol.ServiceWorker.UnregisterRequest];
  3656. returnType: void;
  3657. };
  3658. 'ServiceWorker.updateRegistration': {
  3659. paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
  3660. returnType: void;
  3661. };
  3662. /**
  3663. * Clears storage for origin.
  3664. */
  3665. 'Storage.clearDataForOrigin': {
  3666. paramsType: [Protocol.Storage.ClearDataForOriginRequest];
  3667. returnType: void;
  3668. };
  3669. /**
  3670. * Returns all browser cookies.
  3671. */
  3672. 'Storage.getCookies': {
  3673. paramsType: [Protocol.Storage.GetCookiesRequest?];
  3674. returnType: Protocol.Storage.GetCookiesResponse;
  3675. };
  3676. /**
  3677. * Sets given cookies.
  3678. */
  3679. 'Storage.setCookies': {
  3680. paramsType: [Protocol.Storage.SetCookiesRequest];
  3681. returnType: void;
  3682. };
  3683. /**
  3684. * Clears cookies.
  3685. */
  3686. 'Storage.clearCookies': {
  3687. paramsType: [Protocol.Storage.ClearCookiesRequest?];
  3688. returnType: void;
  3689. };
  3690. /**
  3691. * Returns usage and quota in bytes.
  3692. */
  3693. 'Storage.getUsageAndQuota': {
  3694. paramsType: [Protocol.Storage.GetUsageAndQuotaRequest];
  3695. returnType: Protocol.Storage.GetUsageAndQuotaResponse;
  3696. };
  3697. /**
  3698. * Override quota for the specified origin
  3699. */
  3700. 'Storage.overrideQuotaForOrigin': {
  3701. paramsType: [Protocol.Storage.OverrideQuotaForOriginRequest];
  3702. returnType: void;
  3703. };
  3704. /**
  3705. * Registers origin to be notified when an update occurs to its cache storage list.
  3706. */
  3707. 'Storage.trackCacheStorageForOrigin': {
  3708. paramsType: [Protocol.Storage.TrackCacheStorageForOriginRequest];
  3709. returnType: void;
  3710. };
  3711. /**
  3712. * Registers origin to be notified when an update occurs to its IndexedDB.
  3713. */
  3714. 'Storage.trackIndexedDBForOrigin': {
  3715. paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
  3716. returnType: void;
  3717. };
  3718. /**
  3719. * Unregisters origin from receiving notifications for cache storage.
  3720. */
  3721. 'Storage.untrackCacheStorageForOrigin': {
  3722. paramsType: [Protocol.Storage.UntrackCacheStorageForOriginRequest];
  3723. returnType: void;
  3724. };
  3725. /**
  3726. * Unregisters origin from receiving notifications for IndexedDB.
  3727. */
  3728. 'Storage.untrackIndexedDBForOrigin': {
  3729. paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
  3730. returnType: void;
  3731. };
  3732. /**
  3733. * Returns information about the system.
  3734. */
  3735. 'SystemInfo.getInfo': {
  3736. paramsType: [];
  3737. returnType: Protocol.SystemInfo.GetInfoResponse;
  3738. };
  3739. /**
  3740. * Returns information about all running processes.
  3741. */
  3742. 'SystemInfo.getProcessInfo': {
  3743. paramsType: [];
  3744. returnType: Protocol.SystemInfo.GetProcessInfoResponse;
  3745. };
  3746. /**
  3747. * Activates (focuses) the target.
  3748. */
  3749. 'Target.activateTarget': {
  3750. paramsType: [Protocol.Target.ActivateTargetRequest];
  3751. returnType: void;
  3752. };
  3753. /**
  3754. * Attaches to the target with given id.
  3755. */
  3756. 'Target.attachToTarget': {
  3757. paramsType: [Protocol.Target.AttachToTargetRequest];
  3758. returnType: Protocol.Target.AttachToTargetResponse;
  3759. };
  3760. /**
  3761. * Attaches to the browser target, only uses flat sessionId mode.
  3762. */
  3763. 'Target.attachToBrowserTarget': {
  3764. paramsType: [];
  3765. returnType: Protocol.Target.AttachToBrowserTargetResponse;
  3766. };
  3767. /**
  3768. * Closes the target. If the target is a page that gets closed too.
  3769. */
  3770. 'Target.closeTarget': {
  3771. paramsType: [Protocol.Target.CloseTargetRequest];
  3772. returnType: Protocol.Target.CloseTargetResponse;
  3773. };
  3774. /**
  3775. * Inject object to the target's main frame that provides a communication
  3776. * channel with browser target.
  3777. *
  3778. * Injected object will be available as `window[bindingName]`.
  3779. *
  3780. * The object has the follwing API:
  3781. * - `binding.send(json)` - a method to send messages over the remote debugging protocol
  3782. * - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
  3783. */
  3784. 'Target.exposeDevToolsProtocol': {
  3785. paramsType: [Protocol.Target.ExposeDevToolsProtocolRequest];
  3786. returnType: void;
  3787. };
  3788. /**
  3789. * Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
  3790. * one.
  3791. */
  3792. 'Target.createBrowserContext': {
  3793. paramsType: [Protocol.Target.CreateBrowserContextRequest?];
  3794. returnType: Protocol.Target.CreateBrowserContextResponse;
  3795. };
  3796. /**
  3797. * Returns all browser contexts created with `Target.createBrowserContext` method.
  3798. */
  3799. 'Target.getBrowserContexts': {
  3800. paramsType: [];
  3801. returnType: Protocol.Target.GetBrowserContextsResponse;
  3802. };
  3803. /**
  3804. * Creates a new page.
  3805. */
  3806. 'Target.createTarget': {
  3807. paramsType: [Protocol.Target.CreateTargetRequest];
  3808. returnType: Protocol.Target.CreateTargetResponse;
  3809. };
  3810. /**
  3811. * Detaches session with given id.
  3812. */
  3813. 'Target.detachFromTarget': {
  3814. paramsType: [Protocol.Target.DetachFromTargetRequest?];
  3815. returnType: void;
  3816. };
  3817. /**
  3818. * Deletes a BrowserContext. All the belonging pages will be closed without calling their
  3819. * beforeunload hooks.
  3820. */
  3821. 'Target.disposeBrowserContext': {
  3822. paramsType: [Protocol.Target.DisposeBrowserContextRequest];
  3823. returnType: void;
  3824. };
  3825. /**
  3826. * Returns information about a target.
  3827. */
  3828. 'Target.getTargetInfo': {
  3829. paramsType: [Protocol.Target.GetTargetInfoRequest?];
  3830. returnType: Protocol.Target.GetTargetInfoResponse;
  3831. };
  3832. /**
  3833. * Retrieves a list of available targets.
  3834. */
  3835. 'Target.getTargets': {
  3836. paramsType: [];
  3837. returnType: Protocol.Target.GetTargetsResponse;
  3838. };
  3839. /**
  3840. * Sends protocol message over session with given id.
  3841. * Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
  3842. * and crbug.com/991325.
  3843. */
  3844. 'Target.sendMessageToTarget': {
  3845. paramsType: [Protocol.Target.SendMessageToTargetRequest];
  3846. returnType: void;
  3847. };
  3848. /**
  3849. * Controls whether to automatically attach to new targets which are considered to be related to
  3850. * this one. When turned on, attaches to all existing related targets as well. When turned off,
  3851. * automatically detaches from all currently attached targets.
  3852. */
  3853. 'Target.setAutoAttach': {
  3854. paramsType: [Protocol.Target.SetAutoAttachRequest];
  3855. returnType: void;
  3856. };
  3857. /**
  3858. * Controls whether to discover available targets and notify via
  3859. * `targetCreated/targetInfoChanged/targetDestroyed` events.
  3860. */
  3861. 'Target.setDiscoverTargets': {
  3862. paramsType: [Protocol.Target.SetDiscoverTargetsRequest];
  3863. returnType: void;
  3864. };
  3865. /**
  3866. * Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
  3867. * `true`.
  3868. */
  3869. 'Target.setRemoteLocations': {
  3870. paramsType: [Protocol.Target.SetRemoteLocationsRequest];
  3871. returnType: void;
  3872. };
  3873. /**
  3874. * Request browser port binding.
  3875. */
  3876. 'Tethering.bind': {
  3877. paramsType: [Protocol.Tethering.BindRequest];
  3878. returnType: void;
  3879. };
  3880. /**
  3881. * Request browser port unbinding.
  3882. */
  3883. 'Tethering.unbind': {
  3884. paramsType: [Protocol.Tethering.UnbindRequest];
  3885. returnType: void;
  3886. };
  3887. /**
  3888. * Stop trace events collection.
  3889. */
  3890. 'Tracing.end': {
  3891. paramsType: [];
  3892. returnType: void;
  3893. };
  3894. /**
  3895. * Gets supported tracing categories.
  3896. */
  3897. 'Tracing.getCategories': {
  3898. paramsType: [];
  3899. returnType: Protocol.Tracing.GetCategoriesResponse;
  3900. };
  3901. /**
  3902. * Record a clock sync marker in the trace.
  3903. */
  3904. 'Tracing.recordClockSyncMarker': {
  3905. paramsType: [Protocol.Tracing.RecordClockSyncMarkerRequest];
  3906. returnType: void;
  3907. };
  3908. /**
  3909. * Request a global memory dump.
  3910. */
  3911. 'Tracing.requestMemoryDump': {
  3912. paramsType: [Protocol.Tracing.RequestMemoryDumpRequest?];
  3913. returnType: Protocol.Tracing.RequestMemoryDumpResponse;
  3914. };
  3915. /**
  3916. * Start trace events collection.
  3917. */
  3918. 'Tracing.start': {
  3919. paramsType: [Protocol.Tracing.StartRequest?];
  3920. returnType: void;
  3921. };
  3922. /**
  3923. * Disables the fetch domain.
  3924. */
  3925. 'Fetch.disable': {
  3926. paramsType: [];
  3927. returnType: void;
  3928. };
  3929. /**
  3930. * Enables issuing of requestPaused events. A request will be paused until client
  3931. * calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
  3932. */
  3933. 'Fetch.enable': {
  3934. paramsType: [Protocol.Fetch.EnableRequest?];
  3935. returnType: void;
  3936. };
  3937. /**
  3938. * Causes the request to fail with specified reason.
  3939. */
  3940. 'Fetch.failRequest': {
  3941. paramsType: [Protocol.Fetch.FailRequestRequest];
  3942. returnType: void;
  3943. };
  3944. /**
  3945. * Provides response to the request.
  3946. */
  3947. 'Fetch.fulfillRequest': {
  3948. paramsType: [Protocol.Fetch.FulfillRequestRequest];
  3949. returnType: void;
  3950. };
  3951. /**
  3952. * Continues the request, optionally modifying some of its parameters.
  3953. */
  3954. 'Fetch.continueRequest': {
  3955. paramsType: [Protocol.Fetch.ContinueRequestRequest];
  3956. returnType: void;
  3957. };
  3958. /**
  3959. * Continues a request supplying authChallengeResponse following authRequired event.
  3960. */
  3961. 'Fetch.continueWithAuth': {
  3962. paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
  3963. returnType: void;
  3964. };
  3965. /**
  3966. * Causes the body of the response to be received from the server and
  3967. * returned as a single string. May only be issued for a request that
  3968. * is paused in the Response stage and is mutually exclusive with
  3969. * takeResponseBodyForInterceptionAsStream. Calling other methods that
  3970. * affect the request or disabling fetch domain before body is received
  3971. * results in an undefined behavior.
  3972. */
  3973. 'Fetch.getResponseBody': {
  3974. paramsType: [Protocol.Fetch.GetResponseBodyRequest];
  3975. returnType: Protocol.Fetch.GetResponseBodyResponse;
  3976. };
  3977. /**
  3978. * Returns a handle to the stream representing the response body.
  3979. * The request must be paused in the HeadersReceived stage.
  3980. * Note that after this command the request can't be continued
  3981. * as is -- client either needs to cancel it or to provide the
  3982. * response body.
  3983. * The stream only supports sequential read, IO.read will fail if the position
  3984. * is specified.
  3985. * This method is mutually exclusive with getResponseBody.
  3986. * Calling other methods that affect the request or disabling fetch
  3987. * domain before body is received results in an undefined behavior.
  3988. */
  3989. 'Fetch.takeResponseBodyAsStream': {
  3990. paramsType: [Protocol.Fetch.TakeResponseBodyAsStreamRequest];
  3991. returnType: Protocol.Fetch.TakeResponseBodyAsStreamResponse;
  3992. };
  3993. /**
  3994. * Enables the WebAudio domain and starts sending context lifetime events.
  3995. */
  3996. 'WebAudio.enable': {
  3997. paramsType: [];
  3998. returnType: void;
  3999. };
  4000. /**
  4001. * Disables the WebAudio domain.
  4002. */
  4003. 'WebAudio.disable': {
  4004. paramsType: [];
  4005. returnType: void;
  4006. };
  4007. /**
  4008. * Fetch the realtime data from the registered contexts.
  4009. */
  4010. 'WebAudio.getRealtimeData': {
  4011. paramsType: [Protocol.WebAudio.GetRealtimeDataRequest];
  4012. returnType: Protocol.WebAudio.GetRealtimeDataResponse;
  4013. };
  4014. /**
  4015. * Enable the WebAuthn domain and start intercepting credential storage and
  4016. * retrieval with a virtual authenticator.
  4017. */
  4018. 'WebAuthn.enable': {
  4019. paramsType: [];
  4020. returnType: void;
  4021. };
  4022. /**
  4023. * Disable the WebAuthn domain.
  4024. */
  4025. 'WebAuthn.disable': {
  4026. paramsType: [];
  4027. returnType: void;
  4028. };
  4029. /**
  4030. * Creates and adds a virtual authenticator.
  4031. */
  4032. 'WebAuthn.addVirtualAuthenticator': {
  4033. paramsType: [Protocol.WebAuthn.AddVirtualAuthenticatorRequest];
  4034. returnType: Protocol.WebAuthn.AddVirtualAuthenticatorResponse;
  4035. };
  4036. /**
  4037. * Removes the given authenticator.
  4038. */
  4039. 'WebAuthn.removeVirtualAuthenticator': {
  4040. paramsType: [Protocol.WebAuthn.RemoveVirtualAuthenticatorRequest];
  4041. returnType: void;
  4042. };
  4043. /**
  4044. * Adds the credential to the specified authenticator.
  4045. */
  4046. 'WebAuthn.addCredential': {
  4047. paramsType: [Protocol.WebAuthn.AddCredentialRequest];
  4048. returnType: void;
  4049. };
  4050. /**
  4051. * Returns a single credential stored in the given virtual authenticator that
  4052. * matches the credential ID.
  4053. */
  4054. 'WebAuthn.getCredential': {
  4055. paramsType: [Protocol.WebAuthn.GetCredentialRequest];
  4056. returnType: Protocol.WebAuthn.GetCredentialResponse;
  4057. };
  4058. /**
  4059. * Returns all the credentials stored in the given virtual authenticator.
  4060. */
  4061. 'WebAuthn.getCredentials': {
  4062. paramsType: [Protocol.WebAuthn.GetCredentialsRequest];
  4063. returnType: Protocol.WebAuthn.GetCredentialsResponse;
  4064. };
  4065. /**
  4066. * Removes a credential from the authenticator.
  4067. */
  4068. 'WebAuthn.removeCredential': {
  4069. paramsType: [Protocol.WebAuthn.RemoveCredentialRequest];
  4070. returnType: void;
  4071. };
  4072. /**
  4073. * Clears all the credentials from the specified device.
  4074. */
  4075. 'WebAuthn.clearCredentials': {
  4076. paramsType: [Protocol.WebAuthn.ClearCredentialsRequest];
  4077. returnType: void;
  4078. };
  4079. /**
  4080. * Sets whether User Verification succeeds or fails for an authenticator.
  4081. * The default is true.
  4082. */
  4083. 'WebAuthn.setUserVerified': {
  4084. paramsType: [Protocol.WebAuthn.SetUserVerifiedRequest];
  4085. returnType: void;
  4086. };
  4087. /**
  4088. * Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator.
  4089. * The default is true.
  4090. */
  4091. 'WebAuthn.setAutomaticPresenceSimulation': {
  4092. paramsType: [Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest];
  4093. returnType: void;
  4094. };
  4095. /**
  4096. * Enables the Media domain
  4097. */
  4098. 'Media.enable': {
  4099. paramsType: [];
  4100. returnType: void;
  4101. };
  4102. /**
  4103. * Disables the Media domain.
  4104. */
  4105. 'Media.disable': {
  4106. paramsType: [];
  4107. returnType: void;
  4108. };
  4109. }
  4110. }
  4111. export default ProtocolMapping;