Table of Contents

Class SearchInResourceCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.Page
Assembly
Selenium.WebDriver.dll

Searches for given string in resource content.

public sealed class SearchInResourceCommandSettings : ICommand
Inheritance
SearchInResourceCommandSettings
Implements
Inherited Members

Properties

CaseSensitive

If true, search is case sensitive.

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

Property Value

bool?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

FrameId

Frame id for resource to search in.

[JsonPropertyName("frameId")]
public string FrameId { get; set; }

Property Value

string

IsRegex

If true, treats string parameter as regex.

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

Property Value

bool?

Query

String to search for.

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

Property Value

string

Url

URL of the resource to search in.

[JsonPropertyName("url")]
public string Url { get; set; }

Property Value

string