Table of Contents

Class SearchInContentCommandSettings

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

Searches for given string in script content.

public sealed class SearchInContentCommandSettings : ICommand
Inheritance
SearchInContentCommandSettings
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

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

ScriptId

Id of the script to search in.

[JsonPropertyName("scriptId")]
public string ScriptId { get; set; }

Property Value

string