| Modifier and Type | Interface and Description |
|---|---|
interface |
Accessibility |
interface |
Animation |
interface |
ApplicationCache |
interface |
Audits
Audits domain allows investigation of page violations and possible improvements.
|
interface |
BackgroundService
Defines events for background web platform features.
|
interface |
CacheStorage |
interface |
Cast
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
|
interface |
CSS
This domain exposes CSS read/write operations.
|
interface |
Database |
interface |
DeviceOrientation |
interface |
DOMSnapshot
This domain facilitates obtaining document snapshots with DOM, layout, and style information.
|
interface |
DOMStorage
Query and modify DOM storage.
|
interface |
Fetch
A domain for letting clients substitute browser's network layer with client code.
|
interface |
HeadlessExperimental
This domain provides experimental commands only supported in headless mode.
|
interface |
HeapProfiler |
interface |
IndexedDB |
interface |
Inspector |
interface |
LayerTree |
interface |
Media
This domain allows detailed inspection of media elements
|
interface |
Memory |
interface |
Overlay
This domain provides various functionality related to drawing atop the inspected page.
|
interface |
ServiceWorker |
interface |
Storage |
interface |
SystemInfo
The SystemInfo domain defines methods and events for querying low-level system information.
|
interface |
Tethering
The Tethering domain defines methods and events for browser port binding.
|
interface |
Tracing |
interface |
WebAudio
This domain allows inspection of Web Audio API.
|
interface |
WebAuthn
This domain allows configuring virtual authenticators to test the WebAuthn API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Runtime.addBinding(String name)
If executionContextId is empty, adds binding with the given name on the global objects of all
inspected contexts, including those created later, bindings survive reloads.
|
void |
Runtime.addBinding(String name,
Integer executionContextId)
If executionContextId is empty, adds binding with the given name on the global objects of all
inspected contexts, including those created later, bindings survive reloads.
|
void |
Page.addCompilationCache(String url,
String data)
Seeds compilation cache for given url.
|
String |
Page.addScriptToEvaluateOnLoad(String scriptSource)
Deprecated.
|
String |
Target.attachToBrowserTarget()
Attaches to the browser target, only uses flat sessionId mode.
|
String |
Page.captureSnapshot()
Returns a snapshot of the page as a string.
|
String |
Page.captureSnapshot(CaptureSnapshotFormat format)
Returns a snapshot of the page as a string.
|
void |
Page.clearCompilationCache()
Clears seeded compilation cache.
|
void |
Page.close()
Tries to close page, running its beforeunload hooks, if any.
|
List<String> |
DOM.collectClassNamesFromSubtree(Integer nodeId)
Collects class names for the node with given id and all of it's child nodes.
|
void |
Network.continueInterceptedRequest(String interceptionId)
Deprecated.
|
void |
Network.continueInterceptedRequest(String interceptionId,
ErrorReason errorReason,
String rawResponse,
String url,
String method,
String postData,
Map<String,Object> headers,
AuthChallengeResponse authChallengeResponse)
Deprecated.
|
Integer |
DOM.copyTo(Integer nodeId,
Integer targetNodeId)
Creates a deep copy of the specified node and places it into the target container before the
given anchor.
|
Integer |
DOM.copyTo(Integer nodeId,
Integer targetNodeId,
Integer insertBeforeNodeId)
Creates a deep copy of the specified node and places it into the target container before the
given anchor.
|
void |
Browser.crash()
Crashes browser on the main thread.
|
void |
Page.crash()
Crashes renderer on the IO thread, generates minidumps.
|
void |
Browser.crashGpuProcess()
Crashes GPU process.
|
String |
Target.createBrowserContext()
Creates a new empty BrowserContext.
|
void |
DOM.discardSearchResults(String searchId)
Discards search results from the session with the given id.
|
void |
Target.disposeBrowserContext(String browserContextId)
Deletes a BrowserContext.
|
void |
Input.emulateTouchFromMouseEvent(EmulateTouchFromMouseEventType type,
Integer x,
Integer y,
EmulateTouchFromMouseEventButton button)
Emulates touch event from the mouse event parameters.
|
void |
Input.emulateTouchFromMouseEvent(EmulateTouchFromMouseEventType type,
Integer x,
Integer y,
EmulateTouchFromMouseEventButton button,
Double timestamp,
Double deltaX,
Double deltaY,
Integer modifiers,
Integer clickCount)
Emulates touch event from the mouse event parameters.
|
void |
Target.exposeDevToolsProtocol(String targetId)
Inject object to the target's main frame that provides a communication channel with browser
target.
|
void |
Target.exposeDevToolsProtocol(String targetId,
String bindingName)
Inject object to the target's main frame that provides a communication channel with browser
target.
|
void |
Page.generateTestReport(String message)
Generates a report for testing.
|
void |
Page.generateTestReport(String message,
String group)
Generates a report for testing.
|
List<String> |
Browser.getBrowserCommandLine()
Returns the command line switches for the browser process if, and only if --enable-automation
is on the commandline.
|
List<String> |
Target.getBrowserContexts()
Returns all browser contexts created with `Target.createBrowserContext` method.
|
List<String> |
Network.getCertificate(String origin)
Returns the DER-encoded certificate.
|
List<List<Double>> |
DOM.getContentQuads()
Returns quads that describe node position on the page.
|
List<List<Double>> |
DOM.getContentQuads(Integer nodeId,
Integer backendNodeId,
String objectId)
Returns quads that describe node position on the page.
|
String |
DOM.getFileInfo(String objectId)
Returns file information for the given File wrapper.
|
FrameOwner |
DOM.getFrameOwner(String frameId)
Returns iframe node that owns iframe with the given domain.
|
List<AXNode> |
Accessibility.getFullAXTree()
Fetches the entire accessibility tree
|
HeapUsage |
Runtime.getHeapUsage()
Returns the JavaScript heap usage.
|
Histogram |
Browser.getHistogram(String name)
Get a Chrome histogram by name.
|
Histogram |
Browser.getHistogram(String name,
Boolean delta)
Get a Chrome histogram by name.
|
List<Histogram> |
Browser.getHistograms()
Get Chrome histograms.
|
List<Histogram> |
Browser.getHistograms(String query,
Boolean delta)
Get Chrome histograms.
|
List<String> |
Page.getInstallabilityErrors() |
String |
Runtime.getIsolateId()
Returns the isolate id.
|
NodeForLocation |
DOM.getNodeForLocation(Integer x,
Integer y)
Returns node id at given location.
|
NodeForLocation |
DOM.getNodeForLocation(Integer x,
Integer y,
Boolean includeUserAgentShadowDOM)
Returns node id at given location.
|
StackTrace |
DOM.getNodeStackTraces(Integer nodeId)
Gets stack traces associated with a Node.
|
List<AXNode> |
Accessibility.getPartialAXTree()
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
|
List<AXNode> |
Accessibility.getPartialAXTree(Integer nodeId,
Integer backendNodeId,
String objectId,
Boolean fetchRelatives)
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
|
Integer |
DOM.getRelayoutBoundary(Integer nodeId)
Returns the id of the nearest ancestor that is a relayout boundary.
|
ResourceContent |
Page.getResourceContent(String frameId,
String url)
Returns content of the given resource.
|
FrameResourceTree |
Page.getResourceTree()
Returns present frame / resource tree structure.
|
ResponseBodyForInterception |
Network.getResponseBodyForInterception(String interceptionId)
Returns content served for the given currently intercepted request.
|
List<Integer> |
DOM.getSearchResults(String searchId,
Integer fromIndex,
Integer toIndex)
Returns search results from given `fromIndex` to given `toIndex` from the search with the given
identifier.
|
StackTrace |
Debugger.getStackTrace(StackTraceId stackTraceId)
Returns stack trace with given `stackTraceId`.
|
TargetInfo |
Target.getTargetInfo()
Returns information about a target.
|
TargetInfo |
Target.getTargetInfo(String targetId)
Returns information about a target.
|
Bounds |
Browser.getWindowBounds(Integer windowId)
Get position and size of the browser window.
|
WindowForTarget |
Browser.getWindowForTarget()
Get the browser window that contains the devtools target.
|
WindowForTarget |
Browser.getWindowForTarget(String targetId)
Get the browser window that contains the devtools target.
|
void |
Browser.grantPermissions(String origin,
List<PermissionType> permissions)
Grant specific permissions to the given origin and reject all others.
|
void |
Browser.grantPermissions(String origin,
List<PermissionType> permissions,
String browserContextId)
Grant specific permissions to the given origin and reject all others.
|
void |
Page.handleFileChooser(HandleFileChooserAction action)
Accepts or cancels an intercepted file chooser dialog.
|
void |
Page.handleFileChooser(HandleFileChooserAction action,
List<String> files)
Accepts or cancels an intercepted file chooser dialog.
|
void |
Input.insertText(String text)
This method emulates inserting text that doesn't come from a key press, for example an emoji
keyboard or an IME.
|
void |
DOM.markUndoableState()
Marks last undoable state.
|
EventListener |
Target.onAttachedToTarget(EventHandler<AttachedToTarget> eventListener)
Issued when attached to target because of auto-attach or `attachToTarget` command.
|
EventListener |
Runtime.onBindingCalled(EventHandler<BindingCalled> eventListener)
Notification is issued every time when binding is called.
|
EventListener |
Page.onCompilationCacheProduced(EventHandler<CompilationCacheProduced> eventListener)
Issued for every compilation cache generated.
|
EventListener |
Target.onDetachedFromTarget(EventHandler<DetachedFromTarget> eventListener)
Issued when detached from target for any reason (including `detachFromTarget` command).
|
EventListener |
DOM.onDistributedNodesUpdated(EventHandler<DistributedNodesUpdated> eventListener)
Called when distrubution is changed.
|
EventListener |
Page.onDownloadWillBegin(EventHandler<DownloadWillBegin> eventListener)
Fired when page is about to start a download.
|
EventListener |
Page.onFrameRequestedNavigation(EventHandler<FrameRequestedNavigation> eventListener)
Fired when a renderer-initiated navigation is requested.
|
EventListener |
Page.onFrameResized(EventHandler<FrameResized> eventListener) |
EventListener |
Page.onFrameStartedLoading(EventHandler<FrameStartedLoading> eventListener)
Fired when frame has started loading.
|
EventListener |
Page.onFrameStoppedLoading(EventHandler<FrameStoppedLoading> eventListener)
Fired when frame has stopped loading.
|
EventListener |
DOM.onInlineStyleInvalidated(EventHandler<InlineStyleInvalidated> eventListener)
Fired when `Element`'s inline style is modified via a CSS property modification.
|
EventListener |
Page.onNavigatedWithinDocument(EventHandler<NavigatedWithinDocument> eventListener)
Fired when same-document navigation happens, e.g.
|
EventListener |
DOM.onPseudoElementAdded(EventHandler<PseudoElementAdded> eventListener)
Called when a pseudo element is added to an element.
|
EventListener |
DOM.onPseudoElementRemoved(EventHandler<PseudoElementRemoved> eventListener)
Called when a pseudo element is removed from an element.
|
EventListener |
Network.onRequestIntercepted(EventHandler<RequestIntercepted> eventListener)
Deprecated.
|
EventListener |
Network.onRequestWillBeSentExtraInfo(EventHandler<RequestWillBeSentExtraInfo> eventListener)
Fired when additional information about a requestWillBeSent event is available from the network
stack.
|
EventListener |
Network.onResourceChangedPriority(EventHandler<ResourceChangedPriority> eventListener)
Fired when resource loading priority is changed
|
EventListener |
Network.onResponseReceivedExtraInfo(EventHandler<ResponseReceivedExtraInfo> eventListener)
Fired when additional information about a responseReceived event is available from the network
stack.
|
EventListener |
Page.onScreencastFrame(EventHandler<ScreencastFrame> eventListener)
Compressed image data requested by the `startScreencast`.
|
EventListener |
Page.onScreencastVisibilityChanged(EventHandler<ScreencastVisibilityChanged> eventListener)
Fired when the page with currently enabled screencast was shown or hidden `.
|
EventListener |
DOM.onShadowRootPopped(EventHandler<ShadowRootPopped> eventListener)
Called when shadow root is popped from the element.
|
EventListener |
DOM.onShadowRootPushed(EventHandler<ShadowRootPushed> eventListener)
Called when shadow root is pushed into the element.
|
EventListener |
Network.onSignedExchangeReceived(EventHandler<SignedExchangeReceived> eventListener)
Fired when a signed exchange was received over the network
|
EventListener |
Emulation.onVirtualTimeBudgetExpired(EventHandler<VirtualTimeBudgetExpired> eventListener)
Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
void |
Debugger.pauseOnAsyncCall(StackTraceId parentStackTraceId) |
PerformSearch |
DOM.performSearch(String query)
Searches for a given string in the DOM tree.
|
PerformSearch |
DOM.performSearch(String query,
Boolean includeUserAgentShadowDOM)
Searches for a given string in the DOM tree.
|
Integer |
DOM.pushNodeByPathToFrontend(String path)
Requests that the node is sent to the caller given its path.
|
List<Integer> |
DOM.pushNodesByBackendIdsToFrontend(List<Integer> backendNodeIds)
Requests that a batch of nodes is sent to the caller given their backend node ids.
|
void |
DOM.redo()
Re-does the last undone action.
|
void |
Runtime.removeBinding(String name)
This method does not remove binding function from global object but unsubscribes current
runtime agent from Runtime.bindingCalled notifications.
|
void |
DOMDebugger.removeInstrumentationBreakpoint(String eventName)
Removes breakpoint on particular native event.
|
void |
Page.removeScriptToEvaluateOnLoad(String identifier)
Deprecated.
|
void |
Network.replayXHR(String requestId)
This method sends a new XMLHttpRequest which is identical to the original one.
|
void |
Emulation.resetPageScaleFactor()
Requests that page scale factor is reset to initial values.
|
void |
Browser.resetPermissions()
Reset all permission management for all origins.
|
void |
Browser.resetPermissions(String browserContextId)
Reset all permission management for all origins.
|
void |
Page.screencastFrameAck(Integer sessionId)
Acknowledges that a screencast frame has been received by the frontend.
|
List<SearchMatch> |
Page.searchInResource(String frameId,
String url,
String query)
Searches for given string in resource content.
|
List<SearchMatch> |
Page.searchInResource(String frameId,
String url,
String query,
Boolean caseSensitive,
Boolean isRegex)
Searches for given string in resource content.
|
List<SearchMatch> |
Network.searchInResponseBody(String requestId,
String query)
Searches for given string in response content.
|
List<SearchMatch> |
Network.searchInResponseBody(String requestId,
String query,
Boolean caseSensitive,
Boolean isRegex)
Searches for given string in response content.
|
void |
Page.setAdBlockingEnabled(Boolean enabled)
Enable Chrome's experimental ad filter on all sites.
|
void |
Target.setAutoAttach(Boolean autoAttach,
Boolean waitForDebuggerOnStart)
Controls whether to automatically attach to new targets which are considered to be related to
this one.
|
void |
Target.setAutoAttach(Boolean autoAttach,
Boolean waitForDebuggerOnStart,
Boolean flatten)
Controls whether to automatically attach to new targets which are considered to be related to
this one.
|
void |
Debugger.setBlackboxedRanges(String scriptId,
List<ScriptPosition> positions)
Makes backend skip steps in the script in blackboxed ranges.
|
void |
Debugger.setBlackboxPatterns(List<String> patterns)
Replace previous blackbox patterns with passed ones.
|
void |
Network.setBlockedURLs(List<String> urls)
Blocks URLs from loading.
|
String |
Debugger.setBreakpointOnFunctionCall(String objectId)
Sets JavaScript breakpoint before each call to the given function.
|
String |
Debugger.setBreakpointOnFunctionCall(String objectId,
String condition)
Sets JavaScript breakpoint before each call to the given function.
|
void |
Page.setBypassCSP(Boolean enabled)
Enable page Content Security Policy by-passing.
|
void |
Network.setBypassServiceWorker(Boolean bypass)
Toggles ignoring of service worker for each request.
|
void |
Emulation.setCPUThrottlingRate(Double rate)
Enables CPU throttling to emulate slow CPUs.
|
void |
Runtime.setCustomObjectFormatterEnabled(Boolean enabled) |
void |
Network.setDataSizeLimitsForTest(Integer maxTotalSize,
Integer maxResourceSize)
For testing.
|
void |
Browser.setDockTile()
Set dock tile details, platform-specific.
|
void |
Browser.setDockTile(String badgeLabel,
String image)
Set dock tile details, platform-specific.
|
void |
Emulation.setDocumentCookieDisabled(Boolean disabled) |
void |
Page.setDownloadBehavior(SetDownloadBehaviorBehavior behavior)
Set the behavior when downloading a file.
|
void |
Page.setDownloadBehavior(SetDownloadBehaviorBehavior behavior,
String downloadPath)
Set the behavior when downloading a file.
|
void |
Emulation.setEmitTouchEventsForMouse(Boolean enabled) |
void |
Emulation.setEmitTouchEventsForMouse(Boolean enabled,
SetEmitTouchEventsForMouseConfiguration configuration) |
void |
Emulation.setFocusEmulationEnabled(Boolean enabled)
Enables or disables simulating a focused and active page.
|
void |
Page.setFontFamilies(FontFamilies fontFamilies)
Set generic font families.
|
void |
Page.setFontSizes(FontSizes fontSizes)
Set default font sizes.
|
void |
Security.setIgnoreCertificateErrors(Boolean ignore)
Enable/disable whether all certificate errors should be ignored.
|
void |
DOM.setInspectedNode(Integer nodeId)
Enables console to refer to the node with given id via $x (see Command Line API for more
details $x functions).
|
void |
DOMDebugger.setInstrumentationBreakpoint(String eventName)
Sets breakpoint on particular native event.
|
void |
Page.setInterceptFileChooserDialog(Boolean enabled)
Intercept file chooser requests and transfer control to protocol clients.
|
void |
Page.setLifecycleEventsEnabled(Boolean enabled)
Controls whether page will emit lifecycle events.
|
void |
Runtime.setMaxCallStackSizeToCapture(Integer size) |
void |
Emulation.setNavigatorOverrides(String platform)
Deprecated.
|
void |
DOM.setNodeStackTracesEnabled(Boolean enable)
Sets if stack traces should be captured for Nodes.
|
void |
Emulation.setPageScaleFactor(Double pageScaleFactor)
Sets a specified page scale factor.
|
void |
Browser.setPermission(String origin,
PermissionDescriptor permission,
PermissionSetting setting)
Set permission settings for given origin.
|
void |
Browser.setPermission(String origin,
PermissionDescriptor permission,
PermissionSetting setting,
String browserContextId)
Set permission settings for given origin.
|
void |
Page.setProduceCompilationCache(Boolean enabled)
Forces compilation cache to be generated for every subresource script.
|
void |
Target.setRemoteLocations(List<RemoteLocation> locations)
Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
`true`.
|
void |
Network.setRequestInterception(List<RequestPattern> patterns)
Deprecated.
|
void |
Debugger.setReturnValue(CallArgument newValue)
Changes return value in top frame.
|
void |
Emulation.setScrollbarsHidden(Boolean hidden) |
void |
Performance.setTimeDomain(SetTimeDomainTimeDomain timeDomain)
Sets time domain to use for collecting and reporting duration metrics.
|
void |
Emulation.setTimezoneOverride(String timezoneId)
Overrides default host system timezone with the specified one.
|
Double |
Emulation.setVirtualTimePolicy(VirtualTimePolicy policy)
Turns on virtual time for all frames (replacing real-time with a synthetic time source) and
sets the current virtual time policy.
|
Double |
Emulation.setVirtualTimePolicy(VirtualTimePolicy policy,
Double budget,
Integer maxVirtualTimeTaskStarvationCount,
Boolean waitForNavigation,
Double initialVirtualTime)
Turns on virtual time for all frames (replacing real-time with a synthetic time source) and
sets the current virtual time policy.
|
void |
Emulation.setVisibleSize(Integer width,
Integer height)
Deprecated.
|
void |
Page.setWebLifecycleState(SetWebLifecycleStateState state)
Tries to update the web lifecycle state of the page.
|
void |
Browser.setWindowBounds(Integer windowId,
Bounds bounds)
Set position and/or size of the browser window.
|
void |
Page.startScreencast()
Starts sending each frame using the `screencastFrame` event.
|
void |
Page.startScreencast(StartScreencastFormat format,
Integer quality,
Integer maxWidth,
Integer maxHeight,
Integer everyNthFrame)
Starts sending each frame using the `screencastFrame` event.
|
void |
Profiler.startTypeProfile()
Enable type profile.
|
void |
Page.stopScreencast()
Stops sending each frame in the `screencastFrame`.
|
void |
Profiler.stopTypeProfile()
Disable type profile.
|
void |
Input.synthesizePinchGesture(Double x,
Double y,
Double scaleFactor)
Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
|
void |
Input.synthesizePinchGesture(Double x,
Double y,
Double scaleFactor,
Integer relativeSpeed,
GestureSourceType gestureSourceType)
Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
|
void |
Input.synthesizeScrollGesture(Double x,
Double y)
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
|
void |
Input.synthesizeScrollGesture(Double x,
Double y,
Double xDistance,
Double yDistance,
Double xOverscroll,
Double yOverscroll,
Boolean preventFling,
Integer speed,
GestureSourceType gestureSourceType,
Integer repeatCount,
Integer repeatDelayMs,
String interactionMarkerName)
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
|
void |
Input.synthesizeTapGesture(Double x,
Double y)
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
|
void |
Input.synthesizeTapGesture(Double x,
Double y,
Integer duration,
Integer tapCount,
GestureSourceType gestureSourceType)
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
|
String |
Network.takeResponseBodyForInterceptionAsStream(String interceptionId)
Returns a handle to the stream representing the response body.
|
List<ScriptTypeProfile> |
Profiler.takeTypeProfile()
Collect type profile.
|
void |
Runtime.terminateExecution()
Terminate current or next JavaScript execution.
|
void |
DOM.undo()
Undoes the last performed action.
|
void |
Page.waitForDebugger()
Pauses page execution.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Page.addScriptToEvaluateOnNewDocument(String source,
String worldName)
Evaluates given script in every frame upon creation (before loading frame's scripts).
|
String |
Target.attachToTarget(String targetId,
Boolean flatten)
Attaches to the target with given id.
|
CallFunctionOn |
Runtime.callFunctionOn(String functionDeclaration,
String objectId,
List<CallArgument> arguments,
Boolean silent,
Boolean returnByValue,
Boolean generatePreview,
Boolean userGesture,
Boolean awaitPromise,
Integer executionContextId,
String objectGroup)
Calls function with given declaration on the given object.
|
String |
Page.captureScreenshot(CaptureScreenshotFormat format,
Integer quality,
Viewport clip,
Boolean fromSurface)
Capture page screenshot.
|
String |
Target.createTarget(String url,
Integer width,
Integer height,
String browserContextId,
Boolean enableBeginFrameControl,
Boolean newWindow,
Boolean background)
Creates a new page.
|
String |
Debugger.enable(Double maxScriptsCacheSize)
Enables debugger for the given page.
|
void |
Network.enable(Integer maxTotalBufferSize,
Integer maxResourceBufferSize,
Integer maxPostDataSize)
Enables network tracking, network events will now be delivered to the client.
|
void |
Network.enable(Integer maxTotalBufferSize,
Integer maxResourceBufferSize,
Integer maxPostDataSize)
Enables network tracking, network events will now be delivered to the client.
|
Evaluate |
Runtime.evaluate(String expression,
String objectGroup,
Boolean includeCommandLineAPI,
Boolean silent,
Integer contextId,
Boolean returnByValue,
Boolean generatePreview,
Boolean userGesture,
Boolean awaitPromise,
Boolean throwOnSideEffect,
Double timeout)
Evaluates expression on global object.
|
Evaluate |
Runtime.evaluate(String expression,
String objectGroup,
Boolean includeCommandLineAPI,
Boolean silent,
Integer contextId,
Boolean returnByValue,
Boolean generatePreview,
Boolean userGesture,
Boolean awaitPromise,
Boolean throwOnSideEffect,
Double timeout)
Evaluates expression on global object.
|
Evaluate |
Runtime.evaluate(String expression,
String objectGroup,
Boolean includeCommandLineAPI,
Boolean silent,
Integer contextId,
Boolean returnByValue,
Boolean generatePreview,
Boolean userGesture,
Boolean awaitPromise,
Boolean throwOnSideEffect,
Double timeout)
Evaluates expression on global object.
|
EvaluateOnCallFrame |
Debugger.evaluateOnCallFrame(String callFrameId,
String expression,
String objectGroup,
Boolean includeCommandLineAPI,
Boolean silent,
Boolean returnByValue,
Boolean generatePreview,
Boolean throwOnSideEffect,
Double timeout)
Evaluates expression on a given call frame.
|
EvaluateOnCallFrame |
Debugger.evaluateOnCallFrame(String callFrameId,
String expression,
String objectGroup,
Boolean includeCommandLineAPI,
Boolean silent,
Boolean returnByValue,
Boolean generatePreview,
Boolean throwOnSideEffect,
Double timeout)
Evaluates expression on a given call frame.
|
Properties |
Runtime.getProperties(String objectId,
Boolean ownProperties,
Boolean accessorPropertiesOnly,
Boolean generatePreview)
Returns properties of a given object.
|
Properties |
Runtime.getProperties(String objectId,
Boolean ownProperties,
Boolean accessorPropertiesOnly,
Boolean generatePreview)
Returns properties of a given object.
|
PrintToPDF |
Page.printToPDF(Boolean landscape,
Boolean displayHeaderFooter,
Boolean printBackground,
Double scale,
Double paperWidth,
Double paperHeight,
Double marginTop,
Double marginBottom,
Double marginLeft,
Double marginRight,
String pageRanges,
Boolean ignoreInvalidPageRanges,
String headerTemplate,
String footerTemplate,
Boolean preferCSSPageSize,
PrintToPDFTransferMode transferMode)
Print page as PDF.
|
void |
DOMDebugger.removeEventListenerBreakpoint(String eventName,
String targetName)
Removes breakpoint on particular DOM event.
|
void |
Target.setAutoAttach(Boolean autoAttach,
Boolean waitForDebuggerOnStart,
Boolean flatten)
Controls whether to automatically attach to new targets which are considered to be related to
this one.
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
Emulation.setDeviceMetricsOverride(Integer width,
Integer height,
Double deviceScaleFactor,
Boolean mobile,
Double scale,
Integer screenWidth,
Integer screenHeight,
Integer positionX,
Integer positionY,
Boolean dontSetVisibleSize,
ScreenOrientation screenOrientation,
Viewport viewport)
Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
query results).
|
void |
DOMDebugger.setEventListenerBreakpoint(String eventName,
String targetName)
Sets breakpoint on particular DOM event.
|
void |
Debugger.stepInto(Boolean breakOnAsyncCall)
Steps into the function call.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedNodesUpdated
Called when distrubution is changed.
|
class |
InlineStyleInvalidated
Fired when `Element`'s inline style is modified via a CSS property modification.
|
class |
PseudoElementAdded
Called when a pseudo element is added to an element.
|
class |
PseudoElementRemoved
Called when a pseudo element is removed from an element.
|
class |
ShadowRootPopped
Called when shadow root is popped from the element.
|
class |
ShadowRootPushed
Called when shadow root is pushed into the element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
VirtualTimeBudgetExpired
Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RequestIntercepted
Deprecated.
|
class |
RequestWillBeSentExtraInfo
Fired when additional information about a requestWillBeSent event is available from the network
stack.
|
class |
ResourceChangedPriority
Fired when resource loading priority is changed
|
class |
ResponseReceivedExtraInfo
Fired when additional information about a responseReceived event is available from the network
stack.
|
class |
SignedExchangeReceived
Fired when a signed exchange was received over the network
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompilationCacheProduced
Issued for every compilation cache generated.
|
class |
DownloadWillBegin
Fired when page is about to start a download.
|
class |
FrameRequestedNavigation
Fired when a renderer-initiated navigation is requested.
|
class |
FrameResized |
class |
FrameStartedLoading
Fired when frame has started loading.
|
class |
FrameStoppedLoading
Fired when frame has stopped loading.
|
class |
NavigatedWithinDocument
Fired when same-document navigation happens, e.g.
|
class |
ScreencastFrame
Compressed image data requested by the `startScreencast`.
|
class |
ScreencastVisibilityChanged
Fired when the page with currently enabled screencast was shown or hidden `.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BindingCalled
Notification is issued every time when binding is called.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AttachedToTarget
Issued when attached to target because of auto-attach or `attachToTarget` command.
|
class |
DetachedFromTarget
Issued when detached from target for any reason (including `detachFromTarget` command).
|
| Modifier and Type | Class and Description |
|---|---|
class |
Bounds
Browser window bounds information
|
class |
Bucket
Chrome histogram bucket.
|
class |
Histogram
Chrome histogram.
|
class |
PermissionDescriptor
Definition of PermissionDescriptor defined in the Permissions API:
https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptPosition
Location in the source code.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthChallenge
Authorization challenge for HTTP status code 401 or 407.
|
class |
AuthChallengeResponse
Response to an AuthChallenge.
|
class |
RequestPattern |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthChallenge
Authorization challenge for HTTP status code 401 or 407.
|
class |
AuthChallengeResponse
Response to an AuthChallenge.
|
class |
BlockedCookieWithReason
A cookie with was not sent with a request with the corresponding reason.
|
class |
BlockedSetCookieWithReason
A cookie which was not stored from a response with the corresponding reason.
|
class |
RequestPattern
Request pattern for interception.
|
class |
SignedExchangeError
Information about a signed exchange response.
|
class |
SignedExchangeHeader
Information about a signed exchange header.
|
class |
SignedExchangeInfo
Information about a signed exchange response.
|
class |
SignedExchangeSignature
Information about a signed exchange signature.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FontFamilies
Generic font families collection.
|
class |
FontSizes
Default font sizes.
|
class |
FrameResource
Information about the Resource on the page.
|
class |
FrameResourceTree
Information about the Frame hierarchy along with their cached resources.
|
class |
ScreencastFrameMetadata
Screencast frame metadata.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptTypeProfile
Type profile data collected during runtime for a JavaScript script.
|
class |
TypeObject
Describes a type collected during runtime.
|
class |
TypeProfileEntry
Source offset and types for a parameter or return value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CustomPreview |
class |
EntryPreview |
class |
ObjectPreview
Object containing abbreviated remote object value.
|
class |
PrivatePropertyDescriptor
Object private field descriptor.
|
class |
PropertyPreview |
class |
StackTraceId
If `debuggerId` is set stack trace comes from another debugger and can be resolved there.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteLocation |
Copyright © 2020. All rights reserved.