_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c179500
// Do executes Network.setRequestInterception against the provided context.
c179501
// Do executes Emulation.clearDeviceMetricsOverride against the provided context.
c179502
// Do executes Emulation.clearGeolocationOverride against the provided context.
c179503
// Do executes Emulation.resetPageScaleFactor against the provided context.
c179504
// Do executes Emulation.setFocusEmulationEnabled against the provided context.
c179505
// Do executes Emulation.setCPUThrottlingRate against the provided context.
c179506
// WithColor rGBA of the default background color. If not specified, any // existing override will be cleared.
c179507
// Do executes Emulation.setDefaultBackgroundColorOverride against the provided context.
c179508
// WithScale scale to apply to resulting view image.
c179509
// WithDontSetVisibleSize do not set visible view size, rely upon explicit // setVisibleSize call.
c179510
// WithScreenOrientation screen orientation override.
c179511
// Do executes Emulation.setDeviceMetricsOverride against the provided context.
c179512
// Do executes Emulation.setScrollbarsHidden against the provided context.
c179513
// Do executes Emulation.setDocumentCookieDisabled against the provided context.
c179514
// Do executes Emulation.setEmitTouchEventsForMouse against the provided context.
c179515
// Do executes Emulation.setEmulatedMedia against the provided context.
c179516
// WithLatitude mock latitude.
c179517
// WithLongitude mock longitude.
c179518
// WithAccuracy mock accuracy.
c179519
// Do executes Emulation.setGeolocationOverride against the provided context.
c179520
// Do executes Emulation.setPageScaleFactor against the provided context.
c179521
// Do executes Emulation.setScriptExecutionDisabled against the provided context.
c179522
// WithMaxTouchPoints maximum touch points supported. Defaults to one.
c179523
// Do executes Emulation.setTouchEmulationEnabled against the provided context.
c179524
// WithBudget if set, after this many virtual milliseconds have elapsed // virtual time will be paused and a virtualTimeBudgetExpired event is sent.
c179525
// WithMaxVirtualTimeTaskStarvationCount if set this specifies the maximum // number of tasks that can be run before virtual is forced forwards to prevent // deadlock.
c179526
// WithWaitForNavigation if set the virtual time policy change should be // deferred until any frame starts navigating. Note any previous deferred policy // change is superseded.
c179527
// WithAcceptLanguage browser langugage to emulate.
c179528
// WithPlatform the platform navigator.platform should return.
c179529
// Do executes Emulation.setUserAgentOverride against the provided context.
c179530
// Do executes Input.dispatchKeyEvent against the provided context.
c179531
// Do executes Input.insertText against the provided context.
c179532
// WithButtons a number indicating which buttons are pressed on the mouse // when a mouse event is triggered. Left=1, Right=2, Middle=4, Back=8, // Forward=16, None=0.
c179533
// Do executes Input.dispatchMouseEvent against the provided context.
c179534
// Do executes Input.dispatchTouchEvent against the provided context.
c179535
// Do executes Input.emulateTouchFromMouseEvent against the provided context.
c179536
// Do executes Input.setIgnoreInputEvents against the provided context.
c179537
// Do executes Input.synthesizePinchGesture against the provided context.
c179538
// WithXOverscroll the number of additional pixels to scroll back along the X // axis, in addition to the given distance.
c179539
// WithYOverscroll the number of additional pixels to scroll back along the Y // axis, in addition to the given distance.
c179540
// Do executes Input.synthesizeScrollGesture against the provided context.
c179541
// Do executes Input.synthesizeTapGesture against the provided context.
c179542
// Domain returns the Chrome DevTools Protocol domain of the event or command.
c179543
// WithDepth the maximum depth at which Node children should be retrieved, // defaults to 1. Use -1 for the entire subtree or provide an integer larger // than 0.
c179544
// Do executes DOMDebugger.removeDOMBreakpoint against the provided context.
c179545
// WithTargetName eventTarget interface name.
c179546
// Do executes DOMDebugger.removeEventListenerBreakpoint against the provided context.
c179547
// Do executes DOMDebugger.removeInstrumentationBreakpoint against the provided context.
c179548
// Do executes DOMDebugger.removeXHRBreakpoint against the provided context.
c179549
// Do executes DOMDebugger.setDOMBreakpoint against the provided context.
c179550
// Do executes DOMDebugger.setEventListenerBreakpoint against the provided context.
c179551
// Do executes DOMDebugger.setInstrumentationBreakpoint against the provided context.
c179552
// Do executes DOMDebugger.setXHRBreakpoint against the provided context.
c179553
// WithExecutor sets the message executor for the context.
c179554
// Execute uses the context's message executor to send a command or event // method marshaling the provided parameters, and unmarshaling to res.
c179555
// AttributeValue returns the named attribute for the node.
c179556
// xpath builds the xpath string.
c179557
// String returns the NodeType as string value.
c179558
// Do executes Cast.setSinkToUse against the provided context.
c179559
// Do executes Cast.startTabMirroring against the provided context.
c179560
// Do executes Cast.stopCasting against the provided context.
c179561
// Do executes BackgroundService.startObserving against the provided context.
c179562
// Do executes BackgroundService.stopObserving against the provided context.
c179563
// Do executes BackgroundService.setRecording against the provided context.
c179564
// Do executes BackgroundService.clearEvents against the provided context.
c179565
// WithObjectID identifier of the object to call function on. Either objectId // or executionContextId should be specified.
c179566
// WithArguments call arguments. All call arguments must belong to the same // JavaScript world as the target object.
c179567
// WithExecutionContextID specifies execution context which global object // will be used to call function on. Either executionContextId or objectId // should be specified.
c179568
// WithObjectGroup symbolic group name that can be used to release multiple // objects. If objectGroup is not specified and objectId is, objectGroup will be // inherited from object.
c179569
// Do executes Runtime.discardConsoleEntries against the provided context.
c179570
// WithContextID specifies in which execution context to perform evaluation. // If the parameter is omitted the evaluation will be performed in the context // of the inspected page.
c179571
// WithOwnProperties if true, returns properties belonging only to the // element itself, not to its prototype chain.
c179572
// WithGeneratePreview whether preview should be generated for the results.
c179573
// WithExecutionContextID specifies in which execution context to lookup // global scope variables.
c179574
// WithObjectGroup symbolic group name that can be used to release the // results.
c179575
// Do executes Runtime.releaseObject against the provided context.
c179576
// Do executes Runtime.releaseObjectGroup against the provided context.
c179577
// Do executes Runtime.runIfWaitingForDebugger against the provided context.
c179578
// Do executes Runtime.setCustomObjectFormatterEnabled against the provided context.
c179579
// Do executes Runtime.setMaxCallStackSizeToCapture against the provided context.
c179580
// Do executes Runtime.terminateExecution against the provided context.
c179581
// Do executes Runtime.addBinding against the provided context.
c179582
// Do executes Runtime.removeBinding against the provided context.
c179583
// Do executes Tracing.end against the provided context.
c179584
// Do executes Tracing.recordClockSyncMarker against the provided context.
c179585
// WithBufferUsageReportingInterval if set, the agent will issue bufferUsage // events at this interval, specified in milliseconds.
c179586
// WithNoDisplayUpdates whether updates should not be committed and drawn // onto the display. False by default. If true, only side effects of the // BeginFrame will be run, such as layout and animations, but any visual updates // may not be visible on the display or in screenshots.
c179587
// WithScreenshot if set, a screenshot of the frame will be captured and // returned in the response. Otherwise, no screenshot will be captured. Note // that capturing a screenshot can fail, for example, during renderer // initialization. In such a case, no screenshot data will be returned.
c179588
// Do executes Page.bringToFront against the provided context.
c179589
// WithClip capture the screenshot of a given region only.
c179590
// WithFromSurface capture the screenshot from the surface, rather than the // view. Defaults to true.
c179591
// WithWorldName an optional name which is reported in the Execution Context.
c179592
// WithGrantUniveralAccess whether or not universal access should be granted // to the isolated world. This is a powerful option, use with caution.
c179593
// Do executes Page.resetNavigationHistory against the provided context.
c179594
// WithPromptText the text to enter into the dialog prompt before accepting. // Used only if this is a prompt dialog.
c179595
// Do executes Page.handleJavaScriptDialog against the provided context.
c179596
// WithReferrer referrer URL.
c179597
// WithTransitionType intended transition type.
c179598
// WithFrameID frame id to navigate, if not specified navigates the top // frame.
c179599
// Do executes Page.navigateToHistoryEntry against the provided context.