Uses of Class
org.openqa.selenium.devtools.Command
-
-
Uses of Command in org.openqa.selenium.devtools
Methods in org.openqa.selenium.devtools that return Command Modifier and Type Method Description Command<X>Command. doesNotSendResponse()Some CDP commands do not appear to send responses, and so are really hard to deal with.Methods in org.openqa.selenium.devtools with parameters of type Command Modifier and Type Method Description <X> java.util.concurrent.CompletableFuture<X>Connection. send(SessionID sessionId, Command<X> command)<X> XDevTools. send(Command<X> command)<X> XConnection. sendAndWait(SessionID sessionId, Command<X> command, java.time.Duration timeout) -
Uses of Command in org.openqa.selenium.devtools.accessibility
Methods in org.openqa.selenium.devtools.accessibility that return Command Modifier and Type Method Description static Command<java.lang.Void>Accessibility. disable()Disables the accessibility domain.static Command<java.lang.Void>Accessibility. enable()Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.static Command<java.util.List<AXNode>>Accessibility. getFullAXTree()Fetches the entire accessibility treestatic Command<java.util.List<AXNode>>Accessibility. getPartialAXTree(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.Boolean> fetchRelatives)Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists. -
Uses of Command in org.openqa.selenium.devtools.animation
Methods in org.openqa.selenium.devtools.animation that return Command Modifier and Type Method Description static Command<java.lang.Void>Animation. disable()Disables animation domain notifications.static Command<java.lang.Void>Animation. enable()Enables animation domain notifications.static Command<java.lang.Number>Animation. getCurrentTime(java.lang.String id)Returns the current time of the an animation.static Command<java.lang.Number>Animation. getPlaybackRate()Gets the playback rate of the document timeline.static Command<java.lang.Void>Animation. releaseAnimations(java.util.List<java.lang.String> animations)Releases a set of animations to no longer be manipulated.static Command<RemoteObject>Animation. resolveAnimation(java.lang.String animationId)Gets the remote object of the Animation.static Command<java.lang.Void>Animation. seekAnimations(java.util.List<java.lang.String> animations, java.lang.Number currentTime)Seek a set of animations to a particular time within each animation.static Command<java.lang.Void>Animation. setPaused(java.util.List<java.lang.String> animations, java.lang.Boolean paused)Sets the paused state of a set of animations.static Command<java.lang.Void>Animation. setPlaybackRate(java.lang.Number playbackRate)Sets the playback rate of the document timeline.static Command<java.lang.Void>Animation. setTiming(java.lang.String animationId, java.lang.Number duration, java.lang.Number delay)Sets the timing of an animation node. -
Uses of Command in org.openqa.selenium.devtools.applicationcache
Methods in org.openqa.selenium.devtools.applicationcache that return Command Modifier and Type Method Description static Command<java.lang.Void>ApplicationCache. enable()Enables application cache domain notifications.static Command<ApplicationCache>ApplicationCache. getApplicationCacheForFrame(FrameId frameId)Returns relevant application cache data for the document in given frame.static Command<java.util.List<FrameWithManifest>>ApplicationCache. getFramesWithManifests()Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.static Command<java.lang.String>ApplicationCache. getManifestForFrame(FrameId frameId)Returns manifest URL for document in the given frame. -
Uses of Command in org.openqa.selenium.devtools.audits
Methods in org.openqa.selenium.devtools.audits that return Command Modifier and Type Method Description static Command<java.lang.Void>Audits. disable()Disables issues domain, prevents further issues from being reported to the client.static Command<java.lang.Void>Audits. enable()Enables issues domain, sends the issues collected so far to the client by means of the `issueAdded` event.static Command<Audits.GetEncodedResponseResponse>Audits. getEncodedResponse(RequestId requestId, Audits.GetEncodedResponseEncoding encoding, java.util.Optional<java.lang.Number> quality, java.util.Optional<java.lang.Boolean> sizeOnly)Returns the response body and size if it were re-encoded with the specified settings. -
Uses of Command in org.openqa.selenium.devtools.backgroundservice
Methods in org.openqa.selenium.devtools.backgroundservice that return Command Modifier and Type Method Description static Command<java.lang.Void>BackgroundService. clearEvents(ServiceName service)Clears all stored data for the service.static Command<java.lang.Void>BackgroundService. setRecording(java.lang.Boolean shouldRecord, ServiceName service)Set the recording state for the service.static Command<java.lang.Void>BackgroundService. startObserving(ServiceName service)Enables event updates for the service.static Command<java.lang.Void>BackgroundService. stopObserving(ServiceName service)Disables event updates for the service. -
Uses of Command in org.openqa.selenium.devtools.browser
Methods in org.openqa.selenium.devtools.browser that return Command Modifier and Type Method Description static Command<java.lang.Void>Browser. close()Close browser gracefully.static Command<java.lang.Void>Browser. crash()Crashes browser on the main thread.static Command<java.lang.Void>Browser. crashGpuProcess()Crashes GPU process.static Command<java.util.List<java.lang.String>>Browser. getBrowserCommandLine()Returns the command line switches for the browser process if, and only if --enable-automation is on the commandline.static Command<Histogram>Browser. getHistogram(java.lang.String name, java.util.Optional<java.lang.Boolean> delta)Get a Chrome histogram by name.static Command<java.util.List<Histogram>>Browser. getHistograms(java.util.Optional<java.lang.String> query, java.util.Optional<java.lang.Boolean> delta)Get Chrome histograms.static Command<Browser.GetVersionResponse>Browser. getVersion()Returns version information.static Command<Bounds>Browser. getWindowBounds(WindowID windowId)Get position and size of the browser window.static Command<Browser.GetWindowForTargetResponse>Browser. getWindowForTarget(java.util.Optional<TargetID> targetId)Get the browser window that contains the devtools target.static Command<java.lang.Void>Browser. grantPermissions(java.util.List<PermissionType> permissions, java.util.Optional<java.lang.String> origin, java.util.Optional<BrowserContextID> browserContextId)Grant specific permissions to the given origin and reject all others.static Command<java.lang.Void>Browser. resetPermissions(java.util.Optional<BrowserContextID> browserContextId)Reset all permission management for all origins.static Command<java.lang.Void>Browser. setDockTile(java.util.Optional<java.lang.String> badgeLabel, java.util.Optional<java.lang.String> image)Set dock tile details, platform-specific.static Command<java.lang.Void>Browser. setDownloadBehavior(Browser.SetDownloadBehaviorBehavior behavior, java.util.Optional<BrowserContextID> browserContextId, java.util.Optional<java.lang.String> downloadPath)Set the behavior when downloading a file.static Command<java.lang.Void>Browser. setPermission(PermissionDescriptor permission, PermissionSetting setting, java.util.Optional<java.lang.String> origin, java.util.Optional<BrowserContextID> browserContextId)Set permission settings for given origin.static Command<java.lang.Void>Browser. setWindowBounds(WindowID windowId, Bounds bounds)Set position and/or size of the browser window. -
Uses of Command in org.openqa.selenium.devtools.cachestorage
Methods in org.openqa.selenium.devtools.cachestorage that return Command Modifier and Type Method Description static Command<java.lang.Void>CacheStorage. deleteCache(CacheId cacheId)Deletes a cache.static Command<java.lang.Void>CacheStorage. deleteEntry(CacheId cacheId, java.lang.String request)Deletes a cache entry.static Command<CachedResponse>CacheStorage. requestCachedResponse(CacheId cacheId, java.lang.String requestURL, java.util.List<Header> requestHeaders)Fetches cache entry.static Command<java.util.List<Cache>>CacheStorage. requestCacheNames(java.lang.String securityOrigin)Requests cache names.static Command<CacheStorage.RequestEntriesResponse>CacheStorage. requestEntries(CacheId cacheId, java.util.Optional<java.lang.Integer> skipCount, java.util.Optional<java.lang.Integer> pageSize, java.util.Optional<java.lang.String> pathFilter)Requests data from cache. -
Uses of Command in org.openqa.selenium.devtools.cast
Methods in org.openqa.selenium.devtools.cast that return Command Modifier and Type Method Description static Command<java.lang.Void>Cast. disable()Stops observing for sinks and issues.static Command<java.lang.Void>Cast. enable(java.util.Optional<java.lang.String> presentationUrl)Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well.static Command<java.lang.Void>Cast. setSinkToUse(java.lang.String sinkName)Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK.static Command<java.lang.Void>Cast. startTabMirroring(java.lang.String sinkName)Starts mirroring the tab to the sink.static Command<java.lang.Void>Cast. stopCasting(java.lang.String sinkName)Stops the active Cast session on the sink. -
Uses of Command in org.openqa.selenium.devtools.console
Methods in org.openqa.selenium.devtools.console that return Command Modifier and Type Method Description static Command<java.lang.Void>Console. clearMessages()Deprecated.Does nothing.static Command<java.lang.Void>Console. disable()Deprecated.Disables console domain, prevents further console messages from being reported to the client.static Command<java.lang.Void>Console. enable()Deprecated.Enables console domain, sends the messages collected so far to the client by means of the `messageAdded` notification. -
Uses of Command in org.openqa.selenium.devtools.css
Methods in org.openqa.selenium.devtools.css that return Command Modifier and Type Method Description static Command<CSSRule>CSS. addRule(StyleSheetId styleSheetId, java.lang.String ruleText, SourceRange location)Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the position specified by `location`.static Command<java.util.List<java.lang.String>>CSS. collectClassNames(StyleSheetId styleSheetId)Returns all class names from specified stylesheet.static Command<StyleSheetId>CSS. createStyleSheet(FrameId frameId)Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.static Command<java.lang.Void>CSS. disable()Disables the CSS agent for the given page.static Command<java.lang.Void>CSS. enable()Enables the CSS agent for the given page.static Command<java.lang.Void>CSS. forcePseudoState(NodeId nodeId, java.util.List<java.lang.String> forcedPseudoClasses)Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.static Command<CSS.GetBackgroundColorsResponse>CSS. getBackgroundColors(NodeId nodeId)static Command<java.util.List<CSSComputedStyleProperty>>CSS. getComputedStyleForNode(NodeId nodeId)Returns the computed style for a DOM node identified by `nodeId`.static Command<CSS.GetInlineStylesForNodeResponse>CSS. getInlineStylesForNode(NodeId nodeId)Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by `nodeId`.static Command<CSS.GetMatchedStylesForNodeResponse>CSS. getMatchedStylesForNode(NodeId nodeId)Returns requested styles for a DOM node identified by `nodeId`.static Command<java.util.List<CSSMedia>>CSS. getMediaQueries()Returns all media queries parsed by the rendering engine.static Command<java.util.List<PlatformFontUsage>>CSS. getPlatformFontsForNode(NodeId nodeId)Requests information about platform fonts which we used to render child TextNodes in the given node.static Command<java.lang.String>CSS. getStyleSheetText(StyleSheetId styleSheetId)Returns the current textual content for a stylesheet.static Command<java.lang.Void>CSS. setEffectivePropertyValueForNode(NodeId nodeId, java.lang.String propertyName, java.lang.String value)Find a rule with the given active property for the given node and set the new value for this propertystatic Command<Value>CSS. setKeyframeKey(StyleSheetId styleSheetId, SourceRange range, java.lang.String keyText)Modifies the keyframe rule key text.static Command<CSSMedia>CSS. setMediaText(StyleSheetId styleSheetId, SourceRange range, java.lang.String text)Modifies the rule selector.static Command<SelectorList>CSS. setRuleSelector(StyleSheetId styleSheetId, SourceRange range, java.lang.String selector)Modifies the rule selector.static Command<java.lang.String>CSS. setStyleSheetText(StyleSheetId styleSheetId, java.lang.String text)Sets the new stylesheet text.static Command<java.util.List<CSSStyle>>CSS. setStyleTexts(java.util.List<StyleDeclarationEdit> edits)Applies specified style edits one after another in the given order.static Command<java.lang.Void>CSS. startRuleUsageTracking()Enables the selector recording.static Command<java.util.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)static Command<CSS.TakeCoverageDeltaResponse>CSS. takeCoverageDelta()Obtain list of rules that became used since last call to this method (or since start of coverage instrumentation) -
Uses of Command in org.openqa.selenium.devtools.database
Methods in org.openqa.selenium.devtools.database that return Command Modifier and Type Method Description static Command<java.lang.Void>Database. disable()Disables database tracking, prevents database events from being sent to the client.static Command<java.lang.Void>Database. enable()Enables database tracking, database events will now be delivered to the client.static Command<Database.ExecuteSQLResponse>Database. executeSQL(DatabaseId databaseId, java.lang.String query)static Command<java.util.List<java.lang.String>>Database. getDatabaseTableNames(DatabaseId databaseId) -
Uses of Command in org.openqa.selenium.devtools.debugger
Methods in org.openqa.selenium.devtools.debugger that return Command Modifier and Type Method Description static Command<java.lang.Void>Debugger. continueToLocation(Location location, java.util.Optional<Debugger.ContinueToLocationTargetCallFrames> targetCallFrames)Continues execution until specific location is reached.static Command<java.lang.Void>Debugger. disable()Disables debugger for given page.static Command<UniqueDebuggerId>Debugger. enable(java.util.Optional<java.lang.Number> maxScriptsCacheSize)Enables debugger for the given page.static Command<Debugger.EvaluateOnCallFrameResponse>Debugger. evaluateOnCallFrame(CallFrameId callFrameId, java.lang.String expression, java.util.Optional<java.lang.String> objectGroup, java.util.Optional<java.lang.Boolean> includeCommandLineAPI, java.util.Optional<java.lang.Boolean> silent, java.util.Optional<java.lang.Boolean> returnByValue, java.util.Optional<java.lang.Boolean> generatePreview, java.util.Optional<java.lang.Boolean> throwOnSideEffect, java.util.Optional<TimeDelta> timeout)Evaluates expression on a given call frame.static Command<Debugger.ExecuteWasmEvaluatorResponse>Debugger. executeWasmEvaluator(CallFrameId callFrameId, java.lang.String evaluator, java.util.Optional<TimeDelta> timeout)Execute a Wasm Evaluator module on a given call frame.static Command<java.util.List<BreakLocation>>Debugger. getPossibleBreakpoints(Location start, java.util.Optional<Location> end, java.util.Optional<java.lang.Boolean> restrictToFunction)Returns possible locations for breakpoint.static Command<Debugger.GetScriptSourceResponse>Debugger. getScriptSource(ScriptId scriptId)Returns source for the script with given id.static Command<StackTrace>Debugger. getStackTrace(StackTraceId stackTraceId)Returns stack trace with given `stackTraceId`.static Command<java.lang.String>Debugger. getWasmBytecode(ScriptId scriptId)Deprecated.static Command<java.lang.Void>Debugger. pause()Stops on the next JavaScript statement.static Command<java.lang.Void>Debugger. pauseOnAsyncCall(StackTraceId parentStackTraceId)Deprecated.static Command<java.lang.Void>Debugger. removeBreakpoint(BreakpointId breakpointId)Removes JavaScript breakpoint.static Command<Debugger.RestartFrameResponse>Debugger. restartFrame(CallFrameId callFrameId)Restarts particular call frame from the beginning.static Command<java.lang.Void>Debugger. resume(java.util.Optional<java.lang.Boolean> terminateOnResume)Resumes JavaScript execution.static Command<java.util.List<SearchMatch>>Debugger. searchInContent(ScriptId scriptId, java.lang.String query, java.util.Optional<java.lang.Boolean> caseSensitive, java.util.Optional<java.lang.Boolean> isRegex)Searches for given string in script content.static Command<java.lang.Void>Debugger. setAsyncCallStackDepth(java.lang.Integer maxDepth)Enables or disables async call stacks tracking.static Command<java.lang.Void>Debugger. setBlackboxedRanges(ScriptId scriptId, java.util.List<ScriptPosition> positions)Makes backend skip steps in the script in blackboxed ranges.static Command<java.lang.Void>Debugger. setBlackboxPatterns(java.util.List<java.lang.String> patterns)Replace previous blackbox patterns with passed ones.static Command<Debugger.SetBreakpointResponse>Debugger. setBreakpoint(Location location, java.util.Optional<java.lang.String> condition)Sets JavaScript breakpoint at a given location.static Command<Debugger.SetBreakpointByUrlResponse>Debugger. setBreakpointByUrl(java.lang.Integer lineNumber, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.String> urlRegex, java.util.Optional<java.lang.String> scriptHash, java.util.Optional<java.lang.Integer> columnNumber, java.util.Optional<java.lang.String> condition)Sets JavaScript breakpoint at given location specified either by URL or URL regex.static Command<BreakpointId>Debugger. setBreakpointOnFunctionCall(RemoteObjectId objectId, java.util.Optional<java.lang.String> condition)Sets JavaScript breakpoint before each call to the given function.static Command<java.lang.Void>Debugger. setBreakpointsActive(java.lang.Boolean active)Activates / deactivates all breakpoints on the page.static Command<BreakpointId>Debugger. setInstrumentationBreakpoint(Debugger.SetInstrumentationBreakpointInstrumentation instrumentation)Sets instrumentation breakpoint.static Command<java.lang.Void>Debugger. setPauseOnExceptions(Debugger.SetPauseOnExceptionsState state)Defines pause on exceptions state.static Command<java.lang.Void>Debugger. setReturnValue(CallArgument newValue)Changes return value in top frame.static Command<Debugger.SetScriptSourceResponse>Debugger. setScriptSource(ScriptId scriptId, java.lang.String scriptSource, java.util.Optional<java.lang.Boolean> dryRun)Edits JavaScript source live.static Command<java.lang.Void>Debugger. setSkipAllPauses(java.lang.Boolean skip)Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).static Command<java.lang.Void>Debugger. setVariableValue(java.lang.Integer scopeNumber, java.lang.String variableName, CallArgument newValue, CallFrameId callFrameId)Changes value of variable in a callframe.static Command<java.lang.Void>Debugger. stepInto(java.util.Optional<java.lang.Boolean> breakOnAsyncCall)Steps into the function call.static Command<java.lang.Void>Debugger. stepOut()Steps out of the function call.static Command<java.lang.Void>Debugger. stepOver()Steps over the statement. -
Uses of Command in org.openqa.selenium.devtools.deviceorientation
Methods in org.openqa.selenium.devtools.deviceorientation that return Command Modifier and Type Method Description static Command<java.lang.Void>DeviceOrientation. clearDeviceOrientationOverride()Clears the overridden Device Orientation.static Command<java.lang.Void>DeviceOrientation. setDeviceOrientationOverride(java.lang.Number alpha, java.lang.Number beta, java.lang.Number gamma)Overrides the Device Orientation. -
Uses of Command in org.openqa.selenium.devtools.dom
Methods in org.openqa.selenium.devtools.dom that return Command Modifier and Type Method Description static Command<java.util.List<java.lang.String>>DOM. collectClassNamesFromSubtree(NodeId nodeId)Collects class names for the node with given id and all of it's child nodes.static Command<NodeId>DOM. copyTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Creates a deep copy of the specified node and places it into the target container before the given anchor.static Command<Node>DOM. describeNode(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)Describes node given its id, does not require domain to be enabled.static Command<java.lang.Void>DOM. disable()Disables DOM agent for the given page.static Command<java.lang.Void>DOM. discardSearchResults(java.lang.String searchId)Discards search results from the session with the given id.static Command<java.lang.Void>DOM. enable()Enables DOM agent for the given page.static Command<java.lang.Void>DOM. focus(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Focuses the given element.static Command<java.util.List<java.lang.String>>DOM. getAttributes(NodeId nodeId)Returns attributes for the specified node.static Command<BoxModel>DOM. getBoxModel(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Returns boxes for the given node.static Command<java.util.List<Quad>>DOM. getContentQuads(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Returns quads that describe node position on the page.static Command<Node>DOM. getDocument(java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)Returns the root DOM node (and optionally the subtree) to the caller.static Command<java.lang.String>DOM. getFileInfo(RemoteObjectId objectId)Returns file information for the given File wrapper.static Command<java.util.List<Node>>DOM. getFlattenedDocument(java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)Returns the root DOM node (and optionally the subtree) to the caller.static Command<DOM.GetFrameOwnerResponse>DOM. getFrameOwner(FrameId frameId)Returns iframe node that owns iframe with the given domain.static Command<DOM.GetNodeForLocationResponse>DOM. getNodeForLocation(java.lang.Integer x, java.lang.Integer y, java.util.Optional<java.lang.Boolean> includeUserAgentShadowDOM, java.util.Optional<java.lang.Boolean> ignorePointerEventsNone)Returns node id at given location.static Command<StackTrace>DOM. getNodeStackTraces(NodeId nodeId)Gets stack traces associated with a Node.static Command<java.lang.String>DOM. getOuterHTML(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Returns node's HTML markup.static Command<NodeId>DOM. getRelayoutBoundary(NodeId nodeId)Returns the id of the nearest ancestor that is a relayout boundary.static Command<java.util.List<NodeId>>DOM. getSearchResults(java.lang.String searchId, java.lang.Integer fromIndex, java.lang.Integer toIndex)Returns search results from given `fromIndex` to given `toIndex` from the search with the given identifier.static Command<java.lang.Void>DOM. hideHighlight()Hides any highlight.static Command<java.lang.Void>DOM. highlightNode()Highlights DOM node.static Command<java.lang.Void>DOM. highlightRect()Highlights given rectangle.static Command<java.lang.Void>DOM. markUndoableState()Marks last undoable state.static Command<NodeId>DOM. moveTo(NodeId nodeId, NodeId targetNodeId, java.util.Optional<NodeId> insertBeforeNodeId)Moves node into the new container, places it before the given anchor.static Command<DOM.PerformSearchResponse>DOM. performSearch(java.lang.String query, java.util.Optional<java.lang.Boolean> includeUserAgentShadowDOM)Searches for a given string in the DOM tree.static Command<NodeId>DOM. pushNodeByPathToFrontend(java.lang.String path)Requests that the node is sent to the caller given its path.static Command<java.util.List<NodeId>>DOM. pushNodesByBackendIdsToFrontend(java.util.List<BackendNodeId> backendNodeIds)Requests that a batch of nodes is sent to the caller given their backend node ids.static Command<NodeId>DOM. querySelector(NodeId nodeId, java.lang.String selector)Executes `querySelector` on a given node.static Command<java.util.List<NodeId>>DOM. querySelectorAll(NodeId nodeId, java.lang.String selector)Executes `querySelectorAll` on a given node.static Command<java.lang.Void>DOM. redo()Re-does the last undone action.static Command<java.lang.Void>DOM. removeAttribute(NodeId nodeId, java.lang.String name)Removes attribute with given name from an element with given id.static Command<java.lang.Void>DOM. removeNode(NodeId nodeId)Removes node with given id.static Command<java.lang.Void>DOM. requestChildNodes(NodeId nodeId, java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)Requests that children of the node with given id are returned to the caller in form of `setChildNodes` events where not only immediate children are retrieved, but all children down to the specified depth.static Command<NodeId>DOM. requestNode(RemoteObjectId objectId)Requests that the node is sent to the caller given the JavaScript node object reference.static Command<RemoteObject>DOM. resolveNode(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<java.lang.String> objectGroup, java.util.Optional<ExecutionContextId> executionContextId)Resolves the JavaScript node object for a given NodeId or BackendNodeId.static Command<java.lang.Void>DOM. scrollIntoViewIfNeeded(java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<Rect> rect)Scrolls the specified rect of the given node into view if not already visible.static Command<java.lang.Void>DOM. setAttributesAsText(NodeId nodeId, java.lang.String text, java.util.Optional<java.lang.String> name)Sets attributes on element with given id.static Command<java.lang.Void>DOM. setAttributeValue(NodeId nodeId, java.lang.String name, java.lang.String value)Sets attribute for an element with given id.static Command<java.lang.Void>DOM. setFileInputFiles(java.util.List<java.lang.String> files, java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId)Sets files for the given file input element.static Command<java.lang.Void>DOM. setInspectedNode(NodeId nodeId)Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).static Command<NodeId>DOM. setNodeName(NodeId nodeId, java.lang.String name)Sets node name for a node with given id.static Command<java.lang.Void>DOM. setNodeStackTracesEnabled(java.lang.Boolean enable)Sets if stack traces should be captured for Nodes.static Command<java.lang.Void>DOM. setNodeValue(NodeId nodeId, java.lang.String value)Sets node value for a node with given id.static Command<java.lang.Void>DOM. setOuterHTML(NodeId nodeId, java.lang.String outerHTML)Sets node HTML markup, returns new node id.static Command<java.lang.Void>DOM. undo()Undoes the last performed action. -
Uses of Command in org.openqa.selenium.devtools.domdebugger
Methods in org.openqa.selenium.devtools.domdebugger that return Command Modifier and Type Method Description static Command<java.util.List<EventListener>>DOMDebugger. getEventListeners(RemoteObjectId objectId, java.util.Optional<java.lang.Integer> depth, java.util.Optional<java.lang.Boolean> pierce)Returns event listeners of the given object.static Command<java.lang.Void>DOMDebugger. removeDOMBreakpoint(NodeId nodeId, DOMBreakpointType type)Removes DOM breakpoint that was set using `setDOMBreakpoint`.static Command<java.lang.Void>DOMDebugger. removeEventListenerBreakpoint(java.lang.String eventName, java.util.Optional<java.lang.String> targetName)Removes breakpoint on particular DOM event.static Command<java.lang.Void>DOMDebugger. removeInstrumentationBreakpoint(java.lang.String eventName)Removes breakpoint on particular native event.static Command<java.lang.Void>DOMDebugger. removeXHRBreakpoint(java.lang.String url)Removes breakpoint from XMLHttpRequest.static Command<java.lang.Void>DOMDebugger. setDOMBreakpoint(NodeId nodeId, DOMBreakpointType type)Sets breakpoint on particular operation with DOM.static Command<java.lang.Void>DOMDebugger. setEventListenerBreakpoint(java.lang.String eventName, java.util.Optional<java.lang.String> targetName)Sets breakpoint on particular DOM event.static Command<java.lang.Void>DOMDebugger. setInstrumentationBreakpoint(java.lang.String eventName)Sets breakpoint on particular native event.static Command<java.lang.Void>DOMDebugger. setXHRBreakpoint(java.lang.String url)Sets breakpoint on XMLHttpRequest. -
Uses of Command in org.openqa.selenium.devtools.domsnapshot
Methods in org.openqa.selenium.devtools.domsnapshot that return Command Modifier and Type Method Description static Command<DOMSnapshot.CaptureSnapshotResponse>DOMSnapshot. captureSnapshot(java.util.List<java.lang.String> computedStyles, java.util.Optional<java.lang.Boolean> includePaintOrder, java.util.Optional<java.lang.Boolean> includeDOMRects)Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes.static Command<java.lang.Void>DOMSnapshot. disable()Disables DOM snapshot agent for the given page.static Command<java.lang.Void>DOMSnapshot. enable()Enables DOM snapshot agent for the given page.static Command<DOMSnapshot.GetSnapshotResponse>DOMSnapshot. getSnapshot(java.util.List<java.lang.String> computedStyleWhitelist, java.util.Optional<java.lang.Boolean> includeEventListeners, java.util.Optional<java.lang.Boolean> includePaintOrder, java.util.Optional<java.lang.Boolean> includeUserAgentShadowTree)Deprecated. -
Uses of Command in org.openqa.selenium.devtools.domstorage
Methods in org.openqa.selenium.devtools.domstorage that return Command Modifier and Type Method Description static Command<java.lang.Void>DOMStorage. clear(StorageId storageId)static Command<java.lang.Void>DOMStorage. disable()Disables storage tracking, prevents storage events from being sent to the client.static Command<java.lang.Void>DOMStorage. enable()Enables storage tracking, storage events will now be delivered to the client.static Command<java.util.List<Item>>DOMStorage. getDOMStorageItems(StorageId storageId)static Command<java.lang.Void>DOMStorage. removeDOMStorageItem(StorageId storageId, java.lang.String key)static Command<java.lang.Void>DOMStorage. setDOMStorageItem(StorageId storageId, java.lang.String key, java.lang.String value) -
Uses of Command in org.openqa.selenium.devtools.emulation
Methods in org.openqa.selenium.devtools.emulation that return Command Modifier and Type Method Description static Command<java.lang.Boolean>Emulation. canEmulate()Tells whether emulation is supported.static Command<java.lang.Void>Emulation. clearDeviceMetricsOverride()Clears the overriden device metrics.static Command<java.lang.Void>Emulation. clearGeolocationOverride()Clears the overriden Geolocation Position and Error.static Command<java.lang.Void>Emulation. resetPageScaleFactor()Requests that page scale factor is reset to initial values.static Command<java.lang.Void>Emulation. setCPUThrottlingRate(java.lang.Number rate)Enables CPU throttling to emulate slow CPUs.static Command<java.lang.Void>Emulation. setDefaultBackgroundColorOverride(java.util.Optional<RGBA> color)Sets or clears an override of the default background color of the frame.static Command<java.lang.Void>Emulation. setDeviceMetricsOverride(java.lang.Integer width, java.lang.Integer height, java.lang.Number deviceScaleFactor, java.lang.Boolean mobile, java.util.Optional<java.lang.Number> scale, java.util.Optional<java.lang.Integer> screenWidth, java.util.Optional<java.lang.Integer> screenHeight, java.util.Optional<java.lang.Integer> positionX, java.util.Optional<java.lang.Integer> positionY, java.util.Optional<java.lang.Boolean> dontSetVisibleSize, java.util.Optional<ScreenOrientation> screenOrientation, java.util.Optional<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).static Command<java.lang.Void>Emulation. setDocumentCookieDisabled(java.lang.Boolean disabled)static Command<java.lang.Void>Emulation. setEmitTouchEventsForMouse(java.lang.Boolean enabled, java.util.Optional<Emulation.SetEmitTouchEventsForMouseConfiguration> configuration)static Command<java.lang.Void>Emulation. setEmulatedMedia(java.util.Optional<java.lang.String> media, java.util.Optional<java.util.List<MediaFeature>> features)Emulates the given media type or media feature for CSS media queries.static Command<java.lang.Void>Emulation. setEmulatedVisionDeficiency(Emulation.SetEmulatedVisionDeficiencyType type)Emulates the given vision deficiency.static Command<java.lang.Void>Emulation. setFocusEmulationEnabled(java.lang.Boolean enabled)Enables or disables simulating a focused and active page.static Command<java.lang.Void>Emulation. setGeolocationOverride(java.util.Optional<java.lang.Number> latitude, java.util.Optional<java.lang.Number> longitude, java.util.Optional<java.lang.Number> accuracy)Overrides the Geolocation Position or Error.static Command<java.lang.Void>Emulation. setLocaleOverride(java.util.Optional<java.lang.String> locale)Overrides default host system locale with the specified one.static Command<java.lang.Void>Emulation. setNavigatorOverrides(java.lang.String platform)Deprecated.static Command<java.lang.Void>Emulation. setPageScaleFactor(java.lang.Number pageScaleFactor)Sets a specified page scale factor.static Command<java.lang.Void>Emulation. setScriptExecutionDisabled(java.lang.Boolean value)Switches script execution in the page.static Command<java.lang.Void>Emulation. setScrollbarsHidden(java.lang.Boolean hidden)static Command<java.lang.Void>Emulation. setTimezoneOverride(java.lang.String timezoneId)Overrides default host system timezone with the specified one.static Command<java.lang.Void>Emulation. setTouchEmulationEnabled(java.lang.Boolean enabled, java.util.Optional<java.lang.Integer> maxTouchPoints)Enables touch on platforms which do not support them.static Command<java.lang.Void>Emulation. setUserAgentOverride(java.lang.String userAgent, java.util.Optional<java.lang.String> acceptLanguage, java.util.Optional<java.lang.String> platform, java.util.Optional<UserAgentMetadata> userAgentMetadata)Allows overriding user agent with the given string.static Command<java.lang.Number>Emulation. setVirtualTimePolicy(VirtualTimePolicy policy, java.util.Optional<java.lang.Number> budget, java.util.Optional<java.lang.Integer> maxVirtualTimeTaskStarvationCount, java.util.Optional<java.lang.Boolean> waitForNavigation, java.util.Optional<TimeSinceEpoch> initialVirtualTime)Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy.static Command<java.lang.Void>Emulation. setVisibleSize(java.lang.Integer width, java.lang.Integer height)Deprecated. -
Uses of Command in org.openqa.selenium.devtools.fetch
Methods in org.openqa.selenium.devtools.fetch that return Command Modifier and Type Method Description static Command<java.lang.Void>Fetch. continueRequest(RequestId requestId, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.String> method, java.util.Optional<java.lang.String> postData, java.util.Optional<java.util.List<HeaderEntry>> headers)Continues the request, optionally modifying some of its parameters.static Command<java.lang.Void>Fetch. continueWithAuth(RequestId requestId, AuthChallengeResponse authChallengeResponse)Continues a request supplying authChallengeResponse following authRequired event.static Command<java.lang.Void>Fetch. disable()Disables the fetch domain.static Command<java.lang.Void>Fetch. enable(java.util.Optional<java.util.List<RequestPattern>> patterns, java.util.Optional<java.lang.Boolean> handleAuthRequests)Enables issuing of requestPaused events.static Command<java.lang.Void>Fetch. failRequest(RequestId requestId, ErrorReason errorReason)Causes the request to fail with specified reason.static Command<java.lang.Void>Fetch. fulfillRequest(RequestId requestId, java.lang.Integer responseCode, java.util.Optional<java.util.List<HeaderEntry>> responseHeaders, java.util.Optional<java.lang.String> binaryResponseHeaders, java.util.Optional<java.lang.String> body, java.util.Optional<java.lang.String> responsePhrase)Provides response to the request.static Command<Fetch.GetResponseBodyResponse>Fetch. getResponseBody(RequestId requestId)Causes the body of the response to be received from the server and returned as a single string.static Command<StreamHandle>Fetch. takeResponseBodyAsStream(RequestId requestId)Returns a handle to the stream representing the response body. -
Uses of Command in org.openqa.selenium.devtools.headlessexperimental
Methods in org.openqa.selenium.devtools.headlessexperimental that return Command Modifier and Type Method Description static Command<HeadlessExperimental.BeginFrameResponse>HeadlessExperimental. beginFrame(java.util.Optional<java.lang.Number> frameTimeTicks, java.util.Optional<java.lang.Number> interval, java.util.Optional<java.lang.Boolean> noDisplayUpdates, java.util.Optional<ScreenshotParams> screenshot)Sends a BeginFrame to the target and returns when the frame was completed.static Command<java.lang.Void>HeadlessExperimental. disable()Disables headless events for the target.static Command<java.lang.Void>HeadlessExperimental. enable()Enables headless events for the target. -
Uses of Command in org.openqa.selenium.devtools.heapprofiler
Methods in org.openqa.selenium.devtools.heapprofiler that return Command Modifier and Type Method Description static Command<java.lang.Void>HeapProfiler. addInspectedHeapObject(HeapSnapshotObjectId heapObjectId)Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).static Command<java.lang.Void>HeapProfiler. collectGarbage()static Command<java.lang.Void>HeapProfiler. disable()static Command<java.lang.Void>HeapProfiler. enable()static Command<HeapSnapshotObjectId>HeapProfiler. getHeapObjectId(RemoteObjectId objectId)static Command<RemoteObject>HeapProfiler. getObjectByHeapObjectId(HeapSnapshotObjectId objectId, java.util.Optional<java.lang.String> objectGroup)static Command<SamplingHeapProfile>HeapProfiler. getSamplingProfile()static Command<java.lang.Void>HeapProfiler. startSampling(java.util.Optional<java.lang.Number> samplingInterval)static Command<java.lang.Void>HeapProfiler. startTrackingHeapObjects(java.util.Optional<java.lang.Boolean> trackAllocations)static Command<SamplingHeapProfile>HeapProfiler. stopSampling()static Command<java.lang.Void>HeapProfiler. stopTrackingHeapObjects(java.util.Optional<java.lang.Boolean> reportProgress, java.util.Optional<java.lang.Boolean> treatGlobalObjectsAsRoots)static Command<java.lang.Void>HeapProfiler. takeHeapSnapshot(java.util.Optional<java.lang.Boolean> reportProgress, java.util.Optional<java.lang.Boolean> treatGlobalObjectsAsRoots) -
Uses of Command in org.openqa.selenium.devtools.indexeddb
Methods in org.openqa.selenium.devtools.indexeddb that return Command Modifier and Type Method Description static Command<java.lang.Void>IndexedDB. clearObjectStore(java.lang.String securityOrigin, java.lang.String databaseName, java.lang.String objectStoreName)Clears all entries from an object store.static Command<java.lang.Void>IndexedDB. deleteDatabase(java.lang.String securityOrigin, java.lang.String databaseName)Deletes a database.static Command<java.lang.Void>IndexedDB. deleteObjectStoreEntries(java.lang.String securityOrigin, java.lang.String databaseName, java.lang.String objectStoreName, KeyRange keyRange)Delete a range of entries from an object storestatic Command<java.lang.Void>IndexedDB. disable()Disables events from backend.static Command<java.lang.Void>IndexedDB. enable()Enables events from backend.static Command<IndexedDB.GetMetadataResponse>IndexedDB. getMetadata(java.lang.String securityOrigin, java.lang.String databaseName, java.lang.String objectStoreName)Gets metadata of an object storestatic Command<IndexedDB.RequestDataResponse>IndexedDB. requestData(java.lang.String securityOrigin, java.lang.String databaseName, java.lang.String objectStoreName, java.lang.String indexName, java.lang.Integer skipCount, java.lang.Integer pageSize, java.util.Optional<KeyRange> keyRange)Requests data from object store or index.static Command<DatabaseWithObjectStores>IndexedDB. requestDatabase(java.lang.String securityOrigin, java.lang.String databaseName)Requests database with given name in given frame.static Command<java.util.List<java.lang.String>>IndexedDB. requestDatabaseNames(java.lang.String securityOrigin)Requests database names for given security origin. -
Uses of Command in org.openqa.selenium.devtools.input
Methods in org.openqa.selenium.devtools.input that return Command Modifier and Type Method Description static Command<java.lang.Void>Input. dispatchKeyEvent(Input.DispatchKeyEventType type, java.util.Optional<java.lang.Integer> modifiers, java.util.Optional<TimeSinceEpoch> timestamp, java.util.Optional<java.lang.String> text, java.util.Optional<java.lang.String> unmodifiedText, java.util.Optional<java.lang.String> keyIdentifier, java.util.Optional<java.lang.String> code, java.util.Optional<java.lang.String> key, java.util.Optional<java.lang.Integer> windowsVirtualKeyCode, java.util.Optional<java.lang.Integer> nativeVirtualKeyCode, java.util.Optional<java.lang.Boolean> autoRepeat, java.util.Optional<java.lang.Boolean> isKeypad, java.util.Optional<java.lang.Boolean> isSystemKey, java.util.Optional<java.lang.Integer> location)Dispatches a key event to the page.static Command<java.lang.Void>Input. dispatchMouseEvent(Input.DispatchMouseEventType type, java.lang.Number x, java.lang.Number y, java.util.Optional<java.lang.Integer> modifiers, java.util.Optional<TimeSinceEpoch> timestamp, java.util.Optional<MouseButton> button, java.util.Optional<java.lang.Integer> buttons, java.util.Optional<java.lang.Integer> clickCount, java.util.Optional<java.lang.Number> deltaX, java.util.Optional<java.lang.Number> deltaY, java.util.Optional<Input.DispatchMouseEventPointerType> pointerType)Dispatches a mouse event to the page.static Command<java.lang.Void>Input. dispatchTouchEvent(Input.DispatchTouchEventType type, java.util.List<TouchPoint> touchPoints, java.util.Optional<java.lang.Integer> modifiers, java.util.Optional<TimeSinceEpoch> timestamp)Dispatches a touch event to the page.static Command<java.lang.Void>Input. emulateTouchFromMouseEvent(Input.EmulateTouchFromMouseEventType type, java.lang.Integer x, java.lang.Integer y, MouseButton button, java.util.Optional<TimeSinceEpoch> timestamp, java.util.Optional<java.lang.Number> deltaX, java.util.Optional<java.lang.Number> deltaY, java.util.Optional<java.lang.Integer> modifiers, java.util.Optional<java.lang.Integer> clickCount)Emulates touch event from the mouse event parameters.static Command<java.lang.Void>Input. insertText(java.lang.String text)This method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME.static Command<java.lang.Void>Input. setIgnoreInputEvents(java.lang.Boolean ignore)Ignores input events (useful while auditing page).static Command<java.lang.Void>Input. synthesizePinchGesture(java.lang.Number x, java.lang.Number y, java.lang.Number scaleFactor, java.util.Optional<java.lang.Integer> relativeSpeed, java.util.Optional<GestureSourceType> gestureSourceType)Synthesizes a pinch gesture over a time period by issuing appropriate touch events.static Command<java.lang.Void>Input. synthesizeScrollGesture(java.lang.Number x, java.lang.Number y, java.util.Optional<java.lang.Number> xDistance, java.util.Optional<java.lang.Number> yDistance, java.util.Optional<java.lang.Number> xOverscroll, java.util.Optional<java.lang.Number> yOverscroll, java.util.Optional<java.lang.Boolean> preventFling, java.util.Optional<java.lang.Integer> speed, java.util.Optional<GestureSourceType> gestureSourceType, java.util.Optional<java.lang.Integer> repeatCount, java.util.Optional<java.lang.Integer> repeatDelayMs, java.util.Optional<java.lang.String> interactionMarkerName)Synthesizes a scroll gesture over a time period by issuing appropriate touch events.static Command<java.lang.Void>Input. synthesizeTapGesture(java.lang.Number x, java.lang.Number y, java.util.Optional<java.lang.Integer> duration, java.util.Optional<java.lang.Integer> tapCount, java.util.Optional<GestureSourceType> gestureSourceType)Synthesizes a tap gesture over a time period by issuing appropriate touch events. -
Uses of Command in org.openqa.selenium.devtools.inspector
Methods in org.openqa.selenium.devtools.inspector that return Command Modifier and Type Method Description static Command<java.lang.Void>Inspector. disable()Disables inspector domain notifications.static Command<java.lang.Void>Inspector. enable()Enables inspector domain notifications. -
Uses of Command in org.openqa.selenium.devtools.io
Methods in org.openqa.selenium.devtools.io that return Command Modifier and Type Method Description static Command<java.lang.Void>IO. close(StreamHandle handle)Close the stream, discard any temporary backing storage.static Command<IO.ReadResponse>IO. read(StreamHandle handle, java.util.Optional<java.lang.Integer> offset, java.util.Optional<java.lang.Integer> size)Read a chunk of the streamstatic Command<java.lang.String>IO. resolveBlob(RemoteObjectId objectId)Return UUID of Blob object specified by a remote object id. -
Uses of Command in org.openqa.selenium.devtools.layertree
Methods in org.openqa.selenium.devtools.layertree that return Command Modifier and Type Method Description static Command<LayerTree.CompositingReasonsResponse>LayerTree. compositingReasons(LayerId layerId)Provides the reasons why the given layer was composited.static Command<java.lang.Void>LayerTree. disable()Disables compositing tree inspection.static Command<java.lang.Void>LayerTree. enable()Enables compositing tree inspection.static Command<SnapshotId>LayerTree. loadSnapshot(java.util.List<PictureTile> tiles)Returns the snapshot identifier.static Command<SnapshotId>LayerTree. makeSnapshot(LayerId layerId)Returns the layer snapshot identifier.static Command<java.util.List<PaintProfile>>LayerTree. profileSnapshot(SnapshotId snapshotId, java.util.Optional<java.lang.Integer> minRepeatCount, java.util.Optional<java.lang.Number> minDuration, java.util.Optional<Rect> clipRect)static Command<java.lang.Void>LayerTree. releaseSnapshot(SnapshotId snapshotId)Releases layer snapshot captured by the back-end.static Command<java.lang.String>LayerTree. replaySnapshot(SnapshotId snapshotId, java.util.Optional<java.lang.Integer> fromStep, java.util.Optional<java.lang.Integer> toStep, java.util.Optional<java.lang.Number> scale)Replays the layer snapshot and returns the resulting bitmap.static Command<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>>LayerTree. snapshotCommandLog(SnapshotId snapshotId)Replays the layer snapshot and returns canvas log. -
Uses of Command in org.openqa.selenium.devtools.log
Methods in org.openqa.selenium.devtools.log that return Command Modifier and Type Method Description static Command<java.lang.Void>Log. clear()Clears the log.static Command<java.lang.Void>Log. disable()Disables log domain, prevents further log entries from being reported to the client.static Command<java.lang.Void>Log. enable()Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification.static Command<java.lang.Void>Log. startViolationsReport(java.util.List<ViolationSetting> config)start violation reporting.static Command<java.lang.Void>Log. stopViolationsReport()Stop violation reporting. -
Uses of Command in org.openqa.selenium.devtools.media
Methods in org.openqa.selenium.devtools.media that return Command Modifier and Type Method Description static Command<java.lang.Void>Media. disable()Disables the Media domain.static Command<java.lang.Void>Media. enable()Enables the Media domain -
Uses of Command in org.openqa.selenium.devtools.memory
Methods in org.openqa.selenium.devtools.memory that return Command Modifier and Type Method Description static Command<java.lang.Void>Memory. forciblyPurgeJavaScriptMemory()Simulate OomIntervention by purging V8 memory.static Command<SamplingProfile>Memory. getAllTimeSamplingProfile()Retrieve native memory allocations profile collected since renderer process startup.static Command<SamplingProfile>Memory. getBrowserSamplingProfile()Retrieve native memory allocations profile collected since browser process startup.static Command<Memory.GetDOMCountersResponse>Memory. getDOMCounters()static Command<SamplingProfile>Memory. getSamplingProfile()Retrieve native memory allocations profile collected since last `startSampling` call.static Command<java.lang.Void>Memory. prepareForLeakDetection()static Command<java.lang.Void>Memory. setPressureNotificationsSuppressed(java.lang.Boolean suppressed)Enable/disable suppressing memory pressure notifications in all processes.static Command<java.lang.Void>Memory. simulatePressureNotification(PressureLevel level)Simulate a memory pressure notification in all processes.static Command<java.lang.Void>Memory. startSampling(java.util.Optional<java.lang.Integer> samplingInterval, java.util.Optional<java.lang.Boolean> suppressRandomness)Start collecting native memory profile.static Command<java.lang.Void>Memory. stopSampling()Stop collecting native memory profile. -
Uses of Command in org.openqa.selenium.devtools.network
Methods in org.openqa.selenium.devtools.network that return Command Modifier and Type Method Description static Command<java.lang.Boolean>Network. canClearBrowserCache()Deprecated.static Command<java.lang.Boolean>Network. canClearBrowserCookies()Deprecated.static Command<java.lang.Boolean>Network. canEmulateNetworkConditions()Deprecated.static Command<java.lang.Void>Network. clearBrowserCache()Clears browser cache.static Command<java.lang.Void>Network. clearBrowserCookies()Clears browser cookies.static Command<java.lang.Void>Network. continueInterceptedRequest(InterceptionId interceptionId, java.util.Optional<ErrorReason> errorReason, java.util.Optional<java.lang.String> rawResponse, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.String> method, java.util.Optional<java.lang.String> postData, java.util.Optional<Headers> headers, java.util.Optional<AuthChallengeResponse> authChallengeResponse)Deprecated.static Command<java.lang.Void>Network. deleteCookies(java.lang.String name, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.String> domain, java.util.Optional<java.lang.String> path)Deletes browser cookies with matching name and url or domain/path pair.static Command<java.lang.Void>Network. disable()Disables network tracking, prevents network events from being sent to the client.static Command<java.lang.Void>Network. emulateNetworkConditions(java.lang.Boolean offline, java.lang.Number latency, java.lang.Number downloadThroughput, java.lang.Number uploadThroughput, java.util.Optional<ConnectionType> connectionType)Activates emulation of network conditions.static Command<java.lang.Void>Network. enable(java.util.Optional<java.lang.Integer> maxTotalBufferSize, java.util.Optional<java.lang.Integer> maxResourceBufferSize, java.util.Optional<java.lang.Integer> maxPostDataSize)Enables network tracking, network events will now be delivered to the client.static Command<java.util.List<Cookie>>Network. getAllCookies()Returns all browser cookies.static Command<java.util.List<java.lang.String>>Network. getCertificate(java.lang.String origin)Returns the DER-encoded certificate.static Command<java.util.List<Cookie>>Network. getCookies(java.util.Optional<java.util.List<java.lang.String>> urls)Returns all browser cookies for the current URL.static Command<java.lang.String>Network. getRequestPostData(RequestId requestId)Returns post data sent with the request.static Command<Network.GetResponseBodyResponse>Network. getResponseBody(RequestId requestId)Returns content served for the given request.static Command<Network.GetResponseBodyForInterceptionResponse>Network. getResponseBodyForInterception(InterceptionId interceptionId)Returns content served for the given currently intercepted request.static Command<java.lang.Void>Network. replayXHR(RequestId requestId)This method sends a new XMLHttpRequest which is identical to the original one.static Command<java.util.List<SearchMatch>>Network. searchInResponseBody(RequestId requestId, java.lang.String query, java.util.Optional<java.lang.Boolean> caseSensitive, java.util.Optional<java.lang.Boolean> isRegex)Searches for given string in response content.static Command<java.lang.Void>Network. setBlockedURLs(java.util.List<java.lang.String> urls)Blocks URLs from loading.static Command<java.lang.Void>Network. setBypassServiceWorker(java.lang.Boolean bypass)Toggles ignoring of service worker for each request.static Command<java.lang.Void>Network. setCacheDisabled(java.lang.Boolean cacheDisabled)Toggles ignoring cache for each request.static Command<java.lang.Boolean>Network. setCookie(java.lang.String name, java.lang.String value, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.String> domain, java.util.Optional<java.lang.String> path, java.util.Optional<java.lang.Boolean> secure, java.util.Optional<java.lang.Boolean> httpOnly, java.util.Optional<CookieSameSite> sameSite, java.util.Optional<TimeSinceEpoch> expires, java.util.Optional<CookiePriority> priority)Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.static Command<java.lang.Void>Network. setCookies(java.util.List<CookieParam> cookies)Sets given cookies.static Command<java.lang.Void>Network. setDataSizeLimitsForTest(java.lang.Integer maxTotalSize, java.lang.Integer maxResourceSize)For testing.static Command<java.lang.Void>Network. setExtraHTTPHeaders(Headers headers)Specifies whether to always send extra HTTP headers with the requests from this page.static Command<java.lang.Void>Network. setRequestInterception(java.util.List<RequestPattern> patterns)Deprecated.static Command<java.lang.Void>Network. setUserAgentOverride(java.lang.String userAgent, java.util.Optional<java.lang.String> acceptLanguage, java.util.Optional<java.lang.String> platform, java.util.Optional<UserAgentMetadata> userAgentMetadata)Allows overriding user agent with the given string.static Command<StreamHandle>Network. takeResponseBodyForInterceptionAsStream(InterceptionId interceptionId)Returns a handle to the stream representing the response body. -
Uses of Command in org.openqa.selenium.devtools.overlay
Methods in org.openqa.selenium.devtools.overlay that return Command Modifier and Type Method Description static Command<java.lang.Void>Overlay. disable()Disables domain notifications.static Command<java.lang.Void>Overlay. enable()Enables domain notifications.static Command<java.util.Map<java.lang.String,java.lang.Object>>Overlay. getHighlightObjectForTest(NodeId nodeId, java.util.Optional<java.lang.Boolean> includeDistance, java.util.Optional<java.lang.Boolean> includeStyle, java.util.Optional<ColorFormat> colorFormat)For testing.static Command<java.lang.Void>Overlay. hideHighlight()Hides any highlight.static Command<java.lang.Void>Overlay. highlightFrame(FrameId frameId, java.util.Optional<RGBA> contentColor, java.util.Optional<RGBA> contentOutlineColor)Highlights owner element of the frame with given id.static Command<java.lang.Void>Overlay. highlightNode(HighlightConfig highlightConfig, java.util.Optional<NodeId> nodeId, java.util.Optional<BackendNodeId> backendNodeId, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.lang.String> selector)Highlights DOM node with given id or with the given JavaScript object wrapper.static Command<java.lang.Void>Overlay. highlightQuad(Quad quad, java.util.Optional<RGBA> color, java.util.Optional<RGBA> outlineColor)Highlights given quad.static Command<java.lang.Void>Overlay. highlightRect(java.lang.Integer x, java.lang.Integer y, java.lang.Integer width, java.lang.Integer height, java.util.Optional<RGBA> color, java.util.Optional<RGBA> outlineColor)Highlights given rectangle.static Command<java.lang.Void>Overlay. setInspectMode(InspectMode mode, java.util.Optional<HighlightConfig> highlightConfig)Enters the 'inspect' mode.static Command<java.lang.Void>Overlay. setPausedInDebuggerMessage(java.util.Optional<java.lang.String> message)static Command<java.lang.Void>Overlay. setShowAdHighlights(java.lang.Boolean show)Highlights owner element of all frames detected to be ads.static Command<java.lang.Void>Overlay. setShowDebugBorders(java.lang.Boolean show)Requests that backend shows debug borders on layersstatic Command<java.lang.Void>Overlay. setShowFPSCounter(java.lang.Boolean show)Requests that backend shows the FPS counterstatic Command<java.lang.Void>Overlay. setShowHinge(java.util.Optional<HingeConfig> hingeConfig)Add a dual screen device hingestatic Command<java.lang.Void>Overlay. setShowHitTestBorders(java.lang.Boolean show)Requests that backend shows hit-test borders on layersstatic Command<java.lang.Void>Overlay. setShowLayoutShiftRegions(java.lang.Boolean result)Requests that backend shows layout shift regionsstatic Command<java.lang.Void>Overlay. setShowPaintRects(java.lang.Boolean result)Requests that backend shows paint rectanglesstatic Command<java.lang.Void>Overlay. setShowScrollBottleneckRects(java.lang.Boolean show)Requests that backend shows scroll bottleneck rectsstatic Command<java.lang.Void>Overlay. setShowViewportSizeOnResize(java.lang.Boolean show)Paints viewport size upon main frame resize. -
Uses of Command in org.openqa.selenium.devtools.page
Methods in org.openqa.selenium.devtools.page that return Command Modifier and Type Method Description static Command<java.lang.Void>Page. addCompilationCache(java.lang.String url, java.lang.String data)Seeds compilation cache for given url.static Command<ScriptIdentifier>Page. addScriptToEvaluateOnLoad(java.lang.String scriptSource)Deprecated.static Command<ScriptIdentifier>Page. addScriptToEvaluateOnNewDocument(java.lang.String source, java.util.Optional<java.lang.String> worldName)Evaluates given script in every frame upon creation (before loading frame's scripts).static Command<java.lang.Void>Page. bringToFront()Brings page to front (activates tab).static Command<java.lang.String>Page. captureScreenshot(java.util.Optional<Page.CaptureScreenshotFormat> format, java.util.Optional<java.lang.Integer> quality, java.util.Optional<Viewport> clip, java.util.Optional<java.lang.Boolean> fromSurface)Capture page screenshot.static Command<java.lang.String>Page. captureSnapshot(java.util.Optional<Page.CaptureSnapshotFormat> format)Returns a snapshot of the page as a string.static Command<java.lang.Void>Page. clearCompilationCache()Clears seeded compilation cache.static Command<java.lang.Void>Page. clearDeviceMetricsOverride()Deprecated.static Command<java.lang.Void>Page. clearDeviceOrientationOverride()Deprecated.static Command<java.lang.Void>Page. clearGeolocationOverride()Deprecated.static Command<java.lang.Void>Page. close()Tries to close page, running its beforeunload hooks, if any.static Command<java.lang.Void>Page. crash()Crashes renderer on the IO thread, generates minidumps.static Command<ExecutionContextId>Page. createIsolatedWorld(FrameId frameId, java.util.Optional<java.lang.String> worldName, java.util.Optional<java.lang.Boolean> grantUniveralAccess)Creates an isolated world for the given frame.static Command<java.lang.Void>Page. deleteCookie(java.lang.String cookieName, java.lang.String url)Deprecated.static Command<java.lang.Void>Page. disable()Disables page domain notifications.static Command<java.lang.Void>Page. enable()Enables page domain notifications.static Command<java.lang.Void>Page. generateTestReport(java.lang.String message, java.util.Optional<java.lang.String> group)Generates a report for testing.static Command<Page.GetAppManifestResponse>Page. getAppManifest()static Command<java.util.List<Cookie>>Page. getCookies()Deprecated.static Command<FrameTree>Page. getFrameTree()Returns present frame tree structure.static Command<java.util.List<InstallabilityError>>Page. getInstallabilityErrors()static Command<Page.GetLayoutMetricsResponse>Page. getLayoutMetrics()Returns metrics relating to the layouting of the page, such as viewport bounds/scale.static Command<java.lang.String>Page. getManifestIcons()static Command<Page.GetNavigationHistoryResponse>Page. getNavigationHistory()Returns navigation history for the current page.static Command<Page.GetResourceContentResponse>Page. getResourceContent(FrameId frameId, java.lang.String url)Returns content of the given resource.static Command<FrameResourceTree>Page. getResourceTree()Returns present frame / resource tree structure.static Command<java.lang.Void>Page. handleJavaScriptDialog(java.lang.Boolean accept, java.util.Optional<java.lang.String> promptText)Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).static Command<Page.NavigateResponse>Page. navigate(java.lang.String url, java.util.Optional<java.lang.String> referrer, java.util.Optional<TransitionType> transitionType, java.util.Optional<FrameId> frameId, java.util.Optional<ReferrerPolicy> referrerPolicy)Navigates current page to the given URL.static Command<java.lang.Void>Page. navigateToHistoryEntry(java.lang.Integer entryId)Navigates current page to the given history entry.static Command<Page.PrintToPDFResponse>Page. printToPDF(java.util.Optional<java.lang.Boolean> landscape, java.util.Optional<java.lang.Boolean> displayHeaderFooter, java.util.Optional<java.lang.Boolean> printBackground, java.util.Optional<java.lang.Number> scale, java.util.Optional<java.lang.Number> paperWidth, java.util.Optional<java.lang.Number> paperHeight, java.util.Optional<java.lang.Number> marginTop, java.util.Optional<java.lang.Number> marginBottom, java.util.Optional<java.lang.Number> marginLeft, java.util.Optional<java.lang.Number> marginRight, java.util.Optional<java.lang.String> pageRanges, java.util.Optional<java.lang.Boolean> ignoreInvalidPageRanges, java.util.Optional<java.lang.String> headerTemplate, java.util.Optional<java.lang.String> footerTemplate, java.util.Optional<java.lang.Boolean> preferCSSPageSize, java.util.Optional<Page.PrintToPDFTransferMode> transferMode)Print page as PDF.static Command<java.lang.Void>Page. reload(java.util.Optional<java.lang.Boolean> ignoreCache, java.util.Optional<java.lang.String> scriptToEvaluateOnLoad)Reloads given page optionally ignoring the cache.static Command<java.lang.Void>Page. removeScriptToEvaluateOnLoad(ScriptIdentifier identifier)Deprecated.static Command<java.lang.Void>Page. removeScriptToEvaluateOnNewDocument(ScriptIdentifier identifier)Removes given script from the list.static Command<java.lang.Void>Page. resetNavigationHistory()Resets navigation history for the current page.static Command<java.lang.Void>Page. screencastFrameAck(java.lang.Integer sessionId)Acknowledges that a screencast frame has been received by the frontend.static Command<java.util.List<SearchMatch>>Page. searchInResource(FrameId frameId, java.lang.String url, java.lang.String query, java.util.Optional<java.lang.Boolean> caseSensitive, java.util.Optional<java.lang.Boolean> isRegex)Searches for given string in resource content.static Command<java.lang.Void>Page. setAdBlockingEnabled(java.lang.Boolean enabled)Enable Chrome's experimental ad filter on all sites.static Command<java.lang.Void>Page. setBypassCSP(java.lang.Boolean enabled)Enable page Content Security Policy by-passing.static Command<java.lang.Void>Page. setDeviceMetricsOverride(java.lang.Integer width, java.lang.Integer height, java.lang.Number deviceScaleFactor, java.lang.Boolean mobile, java.util.Optional<java.lang.Number> scale, java.util.Optional<java.lang.Integer> screenWidth, java.util.Optional<java.lang.Integer> screenHeight, java.util.Optional<java.lang.Integer> positionX, java.util.Optional<java.lang.Integer> positionY, java.util.Optional<java.lang.Boolean> dontSetVisibleSize, java.util.Optional<ScreenOrientation> screenOrientation, java.util.Optional<Viewport> viewport)Deprecated.static Command<java.lang.Void>Page. setDeviceOrientationOverride(java.lang.Number alpha, java.lang.Number beta, java.lang.Number gamma)Deprecated.static Command<java.lang.Void>Page. setDocumentContent(FrameId frameId, java.lang.String html)Sets given markup as the document's HTML.static Command<java.lang.Void>Page. setDownloadBehavior(Page.SetDownloadBehaviorBehavior behavior, java.util.Optional<java.lang.String> downloadPath)Deprecated.static Command<java.lang.Void>Page. setFontFamilies(FontFamilies fontFamilies)Set generic font families.static Command<java.lang.Void>Page. setFontSizes(FontSizes fontSizes)Set default font sizes.static Command<java.lang.Void>Page. setGeolocationOverride(java.util.Optional<java.lang.Number> latitude, java.util.Optional<java.lang.Number> longitude, java.util.Optional<java.lang.Number> accuracy)Deprecated.static Command<java.lang.Void>Page. setInterceptFileChooserDialog(java.lang.Boolean enabled)Intercept file chooser requests and transfer control to protocol clients.static Command<java.lang.Void>Page. setLifecycleEventsEnabled(java.lang.Boolean enabled)Controls whether page will emit lifecycle events.static Command<java.lang.Void>Page. setProduceCompilationCache(java.lang.Boolean enabled)Forces compilation cache to be generated for every subresource script.static Command<java.lang.Void>Page. setTouchEmulationEnabled(java.lang.Boolean enabled, java.util.Optional<Page.SetTouchEmulationEnabledConfiguration> configuration)Deprecated.static Command<java.lang.Void>Page. setWebLifecycleState(Page.SetWebLifecycleStateState state)Tries to update the web lifecycle state of the page.static Command<java.lang.Void>Page. startScreencast(java.util.Optional<Page.StartScreencastFormat> format, java.util.Optional<java.lang.Integer> quality, java.util.Optional<java.lang.Integer> maxWidth, java.util.Optional<java.lang.Integer> maxHeight, java.util.Optional<java.lang.Integer> everyNthFrame)Starts sending each frame using the `screencastFrame` event.static Command<java.lang.Void>Page. stopLoading()Force the page stop all navigations and pending resource fetches.static Command<java.lang.Void>Page. stopScreencast()Stops sending each frame in the `screencastFrame`.static Command<java.lang.Void>Page. waitForDebugger()Pauses page execution. -
Uses of Command in org.openqa.selenium.devtools.performance
Methods in org.openqa.selenium.devtools.performance that return Command Modifier and Type Method Description static Command<java.lang.Void>Performance. disable()Disable collecting and reporting metrics.static Command<java.lang.Void>Performance. enable(java.util.Optional<Performance.EnableTimeDomain> timeDomain)Enable collecting and reporting metrics.static Command<java.util.List<Metric>>Performance. getMetrics()Retrieve current values of run-time metrics.static Command<java.lang.Void>Performance. setTimeDomain(Performance.SetTimeDomainTimeDomain timeDomain)Deprecated. -
Uses of Command in org.openqa.selenium.devtools.profiler
Methods in org.openqa.selenium.devtools.profiler that return Command Modifier and Type Method Description static Command<java.lang.Void>Profiler. disable()static Command<java.lang.Void>Profiler. disableRuntimeCallStats()Disable run time call stats collection.static Command<java.lang.Void>Profiler. enable()static Command<java.lang.Void>Profiler. enableRuntimeCallStats()Enable run time call stats collection.static Command<java.util.List<ScriptCoverage>>Profiler. getBestEffortCoverage()Collect coverage data for the current isolate.static Command<java.util.List<CounterInfo>>Profiler. getRuntimeCallStats()Retrieve run time call stats.static Command<java.lang.Void>Profiler. setSamplingInterval(java.lang.Integer interval)Changes CPU profiler sampling interval.static Command<java.lang.Void>Profiler. start()static Command<java.lang.Number>Profiler. startPreciseCoverage(java.util.Optional<java.lang.Boolean> callCount, java.util.Optional<java.lang.Boolean> detailed, java.util.Optional<java.lang.Boolean> allowTriggeredUpdates)Enable precise code coverage.static Command<java.lang.Void>Profiler. startTypeProfile()Enable type profile.static Command<Profile>Profiler. stop()static Command<java.lang.Void>Profiler. stopPreciseCoverage()Disable precise code coverage.static Command<java.lang.Void>Profiler. stopTypeProfile()Disable type profile.static Command<Profiler.TakePreciseCoverageResponse>Profiler. takePreciseCoverage()Collect coverage data for the current isolate, and resets execution counters.static Command<java.util.List<ScriptTypeProfile>>Profiler. takeTypeProfile()Collect type profile. -
Uses of Command in org.openqa.selenium.devtools.runtime
Methods in org.openqa.selenium.devtools.runtime that return Command Modifier and Type Method Description static Command<java.lang.Void>Runtime. addBinding(java.lang.String name, java.util.Optional<ExecutionContextId> 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.static Command<Runtime.AwaitPromiseResponse>Runtime. awaitPromise(RemoteObjectId promiseObjectId, java.util.Optional<java.lang.Boolean> returnByValue, java.util.Optional<java.lang.Boolean> generatePreview)Add handler to promise with given promise object id.static Command<Runtime.CallFunctionOnResponse>Runtime. callFunctionOn(java.lang.String functionDeclaration, java.util.Optional<RemoteObjectId> objectId, java.util.Optional<java.util.List<CallArgument>> arguments, java.util.Optional<java.lang.Boolean> silent, java.util.Optional<java.lang.Boolean> returnByValue, java.util.Optional<java.lang.Boolean> generatePreview, java.util.Optional<java.lang.Boolean> userGesture, java.util.Optional<java.lang.Boolean> awaitPromise, java.util.Optional<ExecutionContextId> executionContextId, java.util.Optional<java.lang.String> objectGroup)Calls function with given declaration on the given object.static Command<Runtime.CompileScriptResponse>Runtime. compileScript(java.lang.String expression, java.lang.String sourceURL, java.lang.Boolean persistScript, java.util.Optional<ExecutionContextId> executionContextId)Compiles expression.static Command<java.lang.Void>Runtime. disable()Disables reporting of execution contexts creation.static Command<java.lang.Void>Runtime. discardConsoleEntries()Discards collected exceptions and console API calls.static Command<java.lang.Void>Runtime. enable()Enables reporting of execution contexts creation by means of `executionContextCreated` event.static Command<Runtime.EvaluateResponse>Runtime. evaluate(java.lang.String expression, java.util.Optional<java.lang.String> objectGroup, java.util.Optional<java.lang.Boolean> includeCommandLineAPI, java.util.Optional<java.lang.Boolean> silent, java.util.Optional<ExecutionContextId> contextId, java.util.Optional<java.lang.Boolean> returnByValue, java.util.Optional<java.lang.Boolean> generatePreview, java.util.Optional<java.lang.Boolean> userGesture, java.util.Optional<java.lang.Boolean> awaitPromise, java.util.Optional<java.lang.Boolean> throwOnSideEffect, java.util.Optional<TimeDelta> timeout, java.util.Optional<java.lang.Boolean> disableBreaks, java.util.Optional<java.lang.Boolean> replMode)Evaluates expression on global object.static Command<Runtime.GetHeapUsageResponse>Runtime. getHeapUsage()Returns the JavaScript heap usage.static Command<java.lang.String>Runtime. getIsolateId()Returns the isolate id.static Command<Runtime.GetPropertiesResponse>Runtime. getProperties(RemoteObjectId objectId, java.util.Optional<java.lang.Boolean> ownProperties, java.util.Optional<java.lang.Boolean> accessorPropertiesOnly, java.util.Optional<java.lang.Boolean> generatePreview)Returns properties of a given object.static Command<java.util.List<java.lang.String>>Runtime. globalLexicalScopeNames(java.util.Optional<ExecutionContextId> executionContextId)Returns all let, const and class variables from global scope.static Command<RemoteObject>Runtime. queryObjects(RemoteObjectId prototypeObjectId, java.util.Optional<java.lang.String> objectGroup)static Command<java.lang.Void>Runtime. releaseObject(RemoteObjectId objectId)Releases remote object with given id.static Command<java.lang.Void>Runtime. releaseObjectGroup(java.lang.String objectGroup)Releases all remote objects that belong to a given group.static Command<java.lang.Void>Runtime. removeBinding(java.lang.String name)This method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.static Command<java.lang.Void>Runtime. runIfWaitingForDebugger()Tells inspected instance to run if it was waiting for debugger to attach.static Command<Runtime.RunScriptResponse>Runtime. runScript(ScriptId scriptId, java.util.Optional<ExecutionContextId> executionContextId, java.util.Optional<java.lang.String> objectGroup, java.util.Optional<java.lang.Boolean> silent, java.util.Optional<java.lang.Boolean> includeCommandLineAPI, java.util.Optional<java.lang.Boolean> returnByValue, java.util.Optional<java.lang.Boolean> generatePreview, java.util.Optional<java.lang.Boolean> awaitPromise)Runs script with given id in a given context.static Command<java.lang.Void>Runtime. setAsyncCallStackDepth(java.lang.Integer maxDepth)Enables or disables async call stacks tracking.static Command<java.lang.Void>Runtime. setCustomObjectFormatterEnabled(java.lang.Boolean enabled)static Command<java.lang.Void>Runtime. setMaxCallStackSizeToCapture(java.lang.Integer size)static Command<java.lang.Void>Runtime. terminateExecution()Terminate current or next JavaScript execution. -
Uses of Command in org.openqa.selenium.devtools.schema
Methods in org.openqa.selenium.devtools.schema that return Command Modifier and Type Method Description static Command<java.util.List<Domain>>Schema. getDomains()Deprecated.Returns supported domains. -
Uses of Command in org.openqa.selenium.devtools.security
Methods in org.openqa.selenium.devtools.security that return Command Modifier and Type Method Description static Command<java.lang.Void>Security. disable()Disables tracking security state changes.static Command<java.lang.Void>Security. enable()Enables tracking security state changes.static Command<java.lang.Void>Security. handleCertificateError(java.lang.Integer eventId, CertificateErrorAction action)Deprecated.static Command<java.lang.Void>Security. setIgnoreCertificateErrors(java.lang.Boolean ignore)Enable/disable whether all certificate errors should be ignored.static Command<java.lang.Void>Security. setOverrideCertificateErrors(java.lang.Boolean override)Deprecated. -
Uses of Command in org.openqa.selenium.devtools.serviceworker
Methods in org.openqa.selenium.devtools.serviceworker that return Command Modifier and Type Method Description static Command<java.lang.Void>ServiceWorker. deliverPushMessage(java.lang.String origin, RegistrationID registrationId, java.lang.String data)static Command<java.lang.Void>ServiceWorker. disable()static Command<java.lang.Void>ServiceWorker. dispatchPeriodicSyncEvent(java.lang.String origin, RegistrationID registrationId, java.lang.String tag)static Command<java.lang.Void>ServiceWorker. dispatchSyncEvent(java.lang.String origin, RegistrationID registrationId, java.lang.String tag, java.lang.Boolean lastChance)static Command<java.lang.Void>ServiceWorker. enable()static Command<java.lang.Void>ServiceWorker. inspectWorker(java.lang.String versionId)static Command<java.lang.Void>ServiceWorker. setForceUpdateOnPageLoad(java.lang.Boolean forceUpdateOnPageLoad)static Command<java.lang.Void>ServiceWorker. skipWaiting(java.lang.String scopeURL)static Command<java.lang.Void>ServiceWorker. startWorker(java.lang.String scopeURL)static Command<java.lang.Void>ServiceWorker. stopAllWorkers()static Command<java.lang.Void>ServiceWorker. stopWorker(java.lang.String versionId)static Command<java.lang.Void>ServiceWorker. unregister(java.lang.String scopeURL)static Command<java.lang.Void>ServiceWorker. updateRegistration(java.lang.String scopeURL) -
Uses of Command in org.openqa.selenium.devtools.storage
Methods in org.openqa.selenium.devtools.storage that return Command Modifier and Type Method Description static Command<java.lang.Void>Storage. clearCookies(java.util.Optional<BrowserContextID> browserContextId)Clears cookies.static Command<java.lang.Void>Storage. clearDataForOrigin(java.lang.String origin, java.lang.String storageTypes)Clears storage for origin.static Command<java.util.List<Cookie>>Storage. getCookies(java.util.Optional<BrowserContextID> browserContextId)Returns all browser cookies.static Command<Storage.GetUsageAndQuotaResponse>Storage. getUsageAndQuota(java.lang.String origin)Returns usage and quota in bytes.static Command<java.lang.Void>Storage. setCookies(java.util.List<CookieParam> cookies, java.util.Optional<BrowserContextID> browserContextId)Sets given cookies.static Command<java.lang.Void>Storage. trackCacheStorageForOrigin(java.lang.String origin)Registers origin to be notified when an update occurs to its cache storage list.static Command<java.lang.Void>Storage. trackIndexedDBForOrigin(java.lang.String origin)Registers origin to be notified when an update occurs to its IndexedDB.static Command<java.lang.Void>Storage. untrackCacheStorageForOrigin(java.lang.String origin)Unregisters origin from receiving notifications for cache storage.static Command<java.lang.Void>Storage. untrackIndexedDBForOrigin(java.lang.String origin)Unregisters origin from receiving notifications for IndexedDB. -
Uses of Command in org.openqa.selenium.devtools.systeminfo
Methods in org.openqa.selenium.devtools.systeminfo that return Command Modifier and Type Method Description static Command<SystemInfo.GetInfoResponse>SystemInfo. getInfo()Returns information about the system.static Command<java.util.List<ProcessInfo>>SystemInfo. getProcessInfo()Returns information about all running processes. -
Uses of Command in org.openqa.selenium.devtools.target
Methods in org.openqa.selenium.devtools.target that return Command Modifier and Type Method Description static Command<java.lang.Void>Target. activateTarget(TargetID targetId)Activates (focuses) the target.static Command<SessionID>Target. attachToBrowserTarget()Attaches to the browser target, only uses flat sessionId mode.static Command<SessionID>Target. attachToTarget(TargetID targetId, java.util.Optional<java.lang.Boolean> flatten)Attaches to the target with given id.static Command<java.lang.Boolean>Target. closeTarget(TargetID targetId)Closes the target.static Command<BrowserContextID>Target. createBrowserContext(java.util.Optional<java.lang.Boolean> disposeOnDetach)Creates a new empty BrowserContext.static Command<TargetID>Target. createTarget(java.lang.String url, java.util.Optional<java.lang.Integer> width, java.util.Optional<java.lang.Integer> height, java.util.Optional<BrowserContextID> browserContextId, java.util.Optional<java.lang.Boolean> enableBeginFrameControl, java.util.Optional<java.lang.Boolean> newWindow, java.util.Optional<java.lang.Boolean> background)Creates a new page.static Command<java.lang.Void>Target. detachFromTarget(java.util.Optional<SessionID> sessionId, java.util.Optional<TargetID> targetId)Detaches session with given id.static Command<java.lang.Void>Target. disposeBrowserContext(BrowserContextID browserContextId)Deletes a BrowserContext.static Command<java.lang.Void>Target. exposeDevToolsProtocol(TargetID targetId, java.util.Optional<java.lang.String> bindingName)Inject object to the target's main frame that provides a communication channel with browser target.static Command<java.util.List<BrowserContextID>>Target. getBrowserContexts()Returns all browser contexts created with `Target.createBrowserContext` method.static Command<TargetInfo>Target. getTargetInfo(java.util.Optional<TargetID> targetId)Returns information about a target.static Command<java.util.List<TargetInfo>>Target. getTargets()Retrieves a list of available targets.static Command<java.lang.Void>Target. sendMessageToTarget(java.lang.String message, java.util.Optional<SessionID> sessionId, java.util.Optional<TargetID> targetId)Deprecated.static Command<java.lang.Void>Target. setAutoAttach(java.lang.Boolean autoAttach, java.lang.Boolean waitForDebuggerOnStart, java.util.Optional<java.lang.Boolean> flatten)Controls whether to automatically attach to new targets which are considered to be related to this one.static Command<java.lang.Void>Target. setDiscoverTargets(java.lang.Boolean discover)Controls whether to discover available targets and notify via `targetCreated/targetInfoChanged/targetDestroyed` events.static Command<java.lang.Void>Target. setRemoteLocations(java.util.List<RemoteLocation> locations)Enables target discovery for the specified locations, when `setDiscoverTargets` was set to `true`. -
Uses of Command in org.openqa.selenium.devtools.tethering
Methods in org.openqa.selenium.devtools.tethering that return Command Modifier and Type Method Description static Command<java.lang.Void>Tethering. bind(java.lang.Integer port)Request browser port binding.static Command<java.lang.Void>Tethering. unbind(java.lang.Integer port)Request browser port unbinding. -
Uses of Command in org.openqa.selenium.devtools.tracing
Methods in org.openqa.selenium.devtools.tracing that return Command Modifier and Type Method Description static Command<java.lang.Void>Tracing. end()Stop trace events collection.static Command<java.util.List<java.lang.String>>Tracing. getCategories()Gets supported tracing categories.static Command<java.lang.Void>Tracing. recordClockSyncMarker(java.lang.String syncId)Record a clock sync marker in the trace.static Command<Tracing.RequestMemoryDumpResponse>Tracing. requestMemoryDump(java.util.Optional<java.lang.Boolean> deterministic)Request a global memory dump.static Command<java.lang.Void>Tracing. start(java.util.Optional<java.lang.String> categories, java.util.Optional<java.lang.String> options, java.util.Optional<java.lang.Number> bufferUsageReportingInterval, java.util.Optional<Tracing.StartTransferMode> transferMode, java.util.Optional<StreamFormat> streamFormat, java.util.Optional<StreamCompression> streamCompression, java.util.Optional<TraceConfig> traceConfig)Start trace events collection. -
Uses of Command in org.openqa.selenium.devtools.webaudio
Methods in org.openqa.selenium.devtools.webaudio that return Command Modifier and Type Method Description static Command<java.lang.Void>WebAudio. disable()Disables the WebAudio domain.static Command<java.lang.Void>WebAudio. enable()Enables the WebAudio domain and starts sending context lifetime events.static Command<ContextRealtimeData>WebAudio. getRealtimeData(GraphObjectId contextId)Fetch the realtime data from the registered contexts. -
Uses of Command in org.openqa.selenium.devtools.webauthn
Methods in org.openqa.selenium.devtools.webauthn that return Command Modifier and Type Method Description static Command<java.lang.Void>WebAuthn. addCredential(AuthenticatorId authenticatorId, Credential credential)Adds the credential to the specified authenticator.static Command<AuthenticatorId>WebAuthn. addVirtualAuthenticator(VirtualAuthenticatorOptions options)Creates and adds a virtual authenticator.static Command<java.lang.Void>WebAuthn. clearCredentials(AuthenticatorId authenticatorId)Clears all the credentials from the specified device.static Command<java.lang.Void>WebAuthn. disable()Disable the WebAuthn domain.static Command<java.lang.Void>WebAuthn. enable()Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator.static Command<Credential>WebAuthn. getCredential(AuthenticatorId authenticatorId, java.lang.String credentialId)Returns a single credential stored in the given virtual authenticator that matches the credential ID.static Command<java.util.List<Credential>>WebAuthn. getCredentials(AuthenticatorId authenticatorId)Returns all the credentials stored in the given virtual authenticator.static Command<java.lang.Void>WebAuthn. removeCredential(AuthenticatorId authenticatorId, java.lang.String credentialId)Removes a credential from the authenticator.static Command<java.lang.Void>WebAuthn. removeVirtualAuthenticator(AuthenticatorId authenticatorId)Removes the given authenticator.static Command<java.lang.Void>WebAuthn. setUserVerified(AuthenticatorId authenticatorId, java.lang.Boolean isUserVerified)Sets whether User Verification succeeds or fails for an authenticator.
-