Table of Contents

Class PerformSearchCommandSettings

Namespace
OpenQA.Selenium.DevTools.V147.DOM
Assembly
Selenium.WebDriver.dll

Searches for a given string in the DOM tree. Use getSearchResults to access search results or cancelSearch to end this search session.

public sealed class PerformSearchCommandSettings : ICommand
Inheritance
PerformSearchCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

IncludeUserAgentShadowDOM

True to search in user agent shadow DOM.

[JsonPropertyName("includeUserAgentShadowDOM")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IncludeUserAgentShadowDOM { get; set; }

Property Value

bool?

Query

Plain text or query selector or XPath search query.

[JsonPropertyName("query")]
public string Query { get; set; }

Property Value

string