| Package | Description |
|---|---|
| com.qeagle.devtools.protocol.commands |
| Modifier and Type | Method and Description |
|---|---|
CSSRule |
CSS.addRule(String styleSheetId,
String ruleText,
SourceRange location)
Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
position specified by `location`.
|
String |
Page.addScriptToEvaluateOnLoad(String scriptSource)
Deprecated.
|
String |
Page.addScriptToEvaluateOnNewDocument(String source)
Evaluates given script in every frame upon creation (before loading frame's scripts).
|
String |
Page.addScriptToEvaluateOnNewDocument(String source,
String worldName)
Evaluates given script in every frame upon creation (before loading frame's scripts).
|
String |
WebAuthn.addVirtualAuthenticator(VirtualAuthenticatorOptions options)
Creates and adds a virtual authenticator.
|
String |
Target.attachToBrowserTarget()
Attaches to the browser target, only uses flat sessionId mode.
|
String |
Target.attachToTarget(String targetId)
Attaches to the target with given id.
|
String |
Target.attachToTarget(String targetId,
Boolean flatten)
Attaches to the target with given id.
|
Boolean |
Network.canClearBrowserCache()
Deprecated.
|
Boolean |
Network.canClearBrowserCookies()
Deprecated.
|
Boolean |
Emulation.canEmulate()
Tells whether emulation is supported.
|
Boolean |
Network.canEmulateNetworkConditions()
Deprecated.
|
String |
Page.captureScreenshot()
Capture page screenshot.
|
String |
Page.captureScreenshot(CaptureScreenshotFormat format,
Integer quality,
Viewport clip,
Boolean fromSurface)
Capture page screenshot.
|
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.
|
Boolean |
Target.closeTarget(String targetId)
Closes the target.
|
List<String> |
CSS.collectClassNames(String styleSheetId)
Returns all class names from specified stylesheet.
|
List<String> |
DOM.collectClassNamesFromSubtree(Integer nodeId)
Collects class names for the node with given id and all of it's child nodes.
|
List<String> |
LayerTree.compositingReasons(String layerId)
Provides the reasons why the given layer was composited.
|
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.
|
String |
Target.createBrowserContext()
Creates a new empty BrowserContext.
|
Integer |
Page.createIsolatedWorld(String frameId)
Creates an isolated world for the given frame.
|
Integer |
Page.createIsolatedWorld(String frameId,
String worldName,
Boolean grantUniveralAccess)
Creates an isolated world for the given frame.
|
String |
CSS.createStyleSheet(String frameId)
Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
|
String |
Target.createTarget(String url)
Creates a new page.
|
String |
Target.createTarget(String url,
Integer width,
Integer height,
String browserContextId,
Boolean enableBeginFrameControl,
Boolean newWindow,
Boolean background)
Creates a new page.
|
Node |
DOM.describeNode()
Describes node given its id, does not require domain to be enabled.
|
Node |
DOM.describeNode(Integer nodeId,
Integer backendNodeId,
String objectId,
Integer depth,
Boolean pierce)
Describes node given its id, does not require domain to be enabled.
|
String |
Debugger.enable()
Enables debugger for the given page.
|
String |
Debugger.enable(Double maxScriptsCacheSize)
Enables debugger for the given page.
|
List<Cookie> |
Network.getAllCookies()
Returns all browser cookies.
|
SamplingProfile |
Memory.getAllTimeSamplingProfile()
Retrieve native memory allocations profile collected since renderer process startup.
|
ApplicationCache |
ApplicationCache.getApplicationCacheForFrame(String frameId)
Returns relevant application cache data for the document in given frame.
|
List<String> |
DOM.getAttributes(Integer nodeId)
Returns attributes for the specified node.
|
List<ScriptCoverage> |
Profiler.getBestEffortCoverage()
Collect coverage data for the current isolate.
|
BoxModel |
DOM.getBoxModel()
Returns boxes for the given node.
|
BoxModel |
DOM.getBoxModel(Integer nodeId,
Integer backendNodeId,
String objectId)
Returns boxes for the given node.
|
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.
|
SamplingProfile |
Memory.getBrowserSamplingProfile()
Retrieve native memory allocations profile collected since browser process startup.
|
List<String> |
Tracing.getCategories()
Gets supported tracing categories.
|
List<String> |
Network.getCertificate(String origin)
Returns the DER-encoded certificate.
|
List<CSSComputedStyleProperty> |
CSS.getComputedStyleForNode(Integer nodeId)
Returns the computed style for a DOM node identified by `nodeId`.
|
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.
|
List<Cookie> |
Network.getCookies()
Returns all browser cookies for the current URL.
|
List<Cookie> |
Network.getCookies(List<String> urls)
Returns all browser cookies for the current URL.
|
Credential |
WebAuthn.getCredential(String authenticatorId,
String credentialId)
Returns a single credential stored in the given virtual authenticator that matches the
credential ID.
|
List<Credential> |
WebAuthn.getCredentials(String authenticatorId)
Returns all the credentials stored in the given virtual authenticator.
|
Double |
Animation.getCurrentTime(String id)
Returns the current time of the an animation.
|
List<String> |
Database.getDatabaseTableNames(String databaseId) |
Node |
DOM.getDocument()
Returns the root DOM node (and optionally the subtree) to the caller.
|
Node |
DOM.getDocument(Integer depth,
Boolean pierce)
Returns the root DOM node (and optionally the subtree) to the caller.
|
List<Domain> |
Schema.getDomains()
Deprecated.
Returns supported domains.
|
List<List<String>> |
DOMStorage.getDOMStorageItems(StorageId storageId) |
List<EventListener> |
DOMDebugger.getEventListeners(String objectId)
Returns event listeners of the given object.
|
List<EventListener> |
DOMDebugger.getEventListeners(String objectId,
Integer depth,
Boolean pierce)
Returns event listeners of the given object.
|
String |
DOM.getFileInfo(String objectId)
Returns file information for the given File wrapper.
|
List<Node> |
DOM.getFlattenedDocument()
Returns the root DOM node (and optionally the subtree) to the caller.
|
List<Node> |
DOM.getFlattenedDocument(Integer depth,
Boolean pierce)
Returns the root DOM node (and optionally the subtree) to the caller.
|
List<FrameWithManifest> |
ApplicationCache.getFramesWithManifests()
Returns array of frame identifiers with manifest urls for each frame containing a document
associated with some application cache.
|
FrameTree |
Page.getFrameTree()
Returns present frame tree structure.
|
List<AXNode> |
Accessibility.getFullAXTree()
Fetches the entire accessibility tree
|
String |
HeapProfiler.getHeapObjectId(String objectId) |
Map<String,Object> |
Overlay.getHighlightObjectForTest(Integer nodeId)
For testing.
|
Map<String,Object> |
Overlay.getHighlightObjectForTest(Integer nodeId,
Boolean includeDistance,
Boolean includeStyle)
For testing.
|
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.
|
String |
ApplicationCache.getManifestForFrame(String frameId)
Returns manifest URL for document in the given frame.
|
List<CSSMedia> |
CSS.getMediaQueries()
Returns all media queries parsed by the rendering engine.
|
List<Metric> |
Performance.getMetrics()
Retrieve current values of run-time metrics.
|
StackTrace |
DOM.getNodeStackTraces(Integer nodeId)
Gets stack traces associated with a Node.
|
RemoteObject |
HeapProfiler.getObjectByHeapObjectId(String objectId) |
RemoteObject |
HeapProfiler.getObjectByHeapObjectId(String objectId,
String objectGroup) |
String |
DOM.getOuterHTML()
Returns node's HTML markup.
|
String |
DOM.getOuterHTML(Integer nodeId,
Integer backendNodeId,
String objectId)
Returns node's HTML markup.
|
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.
|
List<PlatformFontUsage> |
CSS.getPlatformFontsForNode(Integer nodeId)
Requests information about platform fonts which we used to render child TextNodes in the given
node.
|
Double |
Animation.getPlaybackRate()
Gets the playback rate of the document timeline.
|
List<BreakLocation> |
Debugger.getPossibleBreakpoints(Location start)
Returns possible locations for breakpoint.
|
List<BreakLocation> |
Debugger.getPossibleBreakpoints(Location start,
Location end,
Boolean restrictToFunction)
Returns possible locations for breakpoint.
|
List<ProcessInfo> |
SystemInfo.getProcessInfo()
Returns information about all running processes.
|
ContextRealtimeData |
WebAudio.getRealtimeData(String contextId)
Fetch the realtime data from the registered contexts.
|
Integer |
DOM.getRelayoutBoundary(Integer nodeId)
Returns the id of the nearest ancestor that is a relayout boundary.
|
String |
Network.getRequestPostData(String requestId)
Returns post data sent with the request.
|
FrameResourceTree |
Page.getResourceTree()
Returns present frame / resource tree structure.
|
SamplingHeapProfile |
HeapProfiler.getSamplingProfile() |
SamplingProfile |
Memory.getSamplingProfile()
Retrieve native memory allocations profile collected since last `startSampling` call.
|
String |
Debugger.getScriptSource(String scriptId)
Returns source for the script with given id.
|
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`.
|
String |
CSS.getStyleSheetText(String styleSheetId)
Returns the current textual content for a stylesheet.
|
TargetInfo |
Target.getTargetInfo()
Returns information about a target.
|
TargetInfo |
Target.getTargetInfo(String targetId)
Returns information about a target.
|
List<TargetInfo> |
Target.getTargets()
Retrieves a list of available targets.
|
Bounds |
Browser.getWindowBounds(Integer windowId)
Get position and size of the browser window.
|
List<String> |
Runtime.globalLexicalScopeNames()
Returns all let, const and class variables from global scope.
|
List<String> |
Runtime.globalLexicalScopeNames(Integer executionContextId)
Returns all let, const and class variables from global scope.
|
String |
LayerTree.loadSnapshot(List<PictureTile> tiles)
Returns the snapshot identifier.
|
String |
LayerTree.makeSnapshot(String layerId)
Returns the layer snapshot identifier.
|
Integer |
DOM.moveTo(Integer nodeId,
Integer targetNodeId)
Moves node into the new container, places it before the given anchor.
|
Integer |
DOM.moveTo(Integer nodeId,
Integer targetNodeId,
Integer insertBeforeNodeId)
Moves node into the new container, places it before the given anchor.
|
List<List<Double>> |
LayerTree.profileSnapshot(String snapshotId) |
List<List<Double>> |
LayerTree.profileSnapshot(String snapshotId,
Integer minRepeatCount,
Double minDuration,
Rect clipRect) |
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.
|
RemoteObject |
Runtime.queryObjects(String prototypeObjectId) |
RemoteObject |
Runtime.queryObjects(String prototypeObjectId,
String objectGroup) |
Integer |
DOM.querySelector(Integer nodeId,
String selector)
Executes `querySelector` on a given node.
|
List<Integer> |
DOM.querySelectorAll(Integer nodeId,
String selector)
Executes `querySelectorAll` on a given node.
|
String |
LayerTree.replaySnapshot(String snapshotId)
Replays the layer snapshot and returns the resulting bitmap.
|
String |
LayerTree.replaySnapshot(String snapshotId,
Integer fromStep,
Integer toStep,
Double scale)
Replays the layer snapshot and returns the resulting bitmap.
|
CachedResponse |
CacheStorage.requestCachedResponse(String cacheId,
String requestURL,
List<Header> requestHeaders)
Fetches cache entry.
|
List<Cache> |
CacheStorage.requestCacheNames(String securityOrigin)
Requests cache names.
|
DatabaseWithObjectStores |
IndexedDB.requestDatabase(String securityOrigin,
String databaseName)
Requests database with given name in given frame.
|
List<String> |
IndexedDB.requestDatabaseNames(String securityOrigin)
Requests database names for given security origin.
|
Integer |
DOM.requestNode(String objectId)
Requests that the node is sent to the caller given the JavaScript node object reference.
|
RemoteObject |
Animation.resolveAnimation(String animationId)
Gets the remote object of the Animation.
|
String |
IO.resolveBlob(String objectId)
Return UUID of Blob object specified by a remote object id.
|
RemoteObject |
DOM.resolveNode()
Resolves the JavaScript node object for a given NodeId or BackendNodeId.
|
RemoteObject |
DOM.resolveNode(Integer nodeId,
Integer backendNodeId,
String objectGroup,
Integer executionContextId)
Resolves the JavaScript node object for a given NodeId or BackendNodeId.
|
List<SearchMatch> |
Debugger.searchInContent(String scriptId,
String query)
Searches for given string in script content.
|
List<SearchMatch> |
Debugger.searchInContent(String scriptId,
String query,
Boolean caseSensitive,
Boolean isRegex)
Searches for given string in script content.
|
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.
|
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.
|
Boolean |
Network.setCookie(String name,
String value)
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
Boolean |
Network.setCookie(String name,
String value,
String url,
String domain,
String path,
Boolean secure,
Boolean httpOnly,
CookieSameSite sameSite,
Double expires)
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
String |
Debugger.setInstrumentationBreakpoint(SetInstrumentationBreakpointInstrumentation instrumentation)
Sets instrumentation breakpoint.
|
Value |
CSS.setKeyframeKey(String styleSheetId,
SourceRange range,
String keyText)
Modifies the keyframe rule key text.
|
CSSMedia |
CSS.setMediaText(String styleSheetId,
SourceRange range,
String text)
Modifies the rule selector.
|
Integer |
DOM.setNodeName(Integer nodeId,
String name)
Sets node name for a node with given id.
|
SelectorList |
CSS.setRuleSelector(String styleSheetId,
SourceRange range,
String selector)
Modifies the rule selector.
|
String |
CSS.setStyleSheetText(String styleSheetId,
String text)
Sets the new stylesheet text.
|
List<CSSStyle> |
CSS.setStyleTexts(List<StyleDeclarationEdit> edits)
Applies specified style edits one after another in the given order.
|
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.
|
List<Object> |
LayerTree.snapshotCommandLog(String snapshotId)
Replays the layer snapshot and returns canvas log.
|
Profile |
Profiler.stop() |
List<RuleUsage> |
CSS.stopRuleUsageTracking()
Stop tracking rule usage and return the list of rules that were used since last call to
`takeCoverageDelta` (or since start of coverage instrumentation)
|
SamplingHeapProfile |
HeapProfiler.stopSampling() |
List<RuleUsage> |
CSS.takeCoverageDelta()
Obtain list of rules that became used since last call to this method (or since start of
coverage instrumentation)
|
List<ScriptCoverage> |
Profiler.takePreciseCoverage()
Collect coverage data for the current isolate, and resets execution counters.
|
String |
Fetch.takeResponseBodyAsStream(String requestId)
Returns a handle to the stream representing the response body.
|
String |
Network.takeResponseBodyForInterceptionAsStream(String interceptionId)
Returns a handle to the stream representing the response body.
|
List<ScriptTypeProfile> |
Profiler.takeTypeProfile()
Collect type profile.
|
Copyright © 2020. All rights reserved.