Table of Contents

Class SetBlackboxPatternsCommandSettings

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

Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.

public sealed class SetBlackboxPatternsCommandSettings : ICommand
Inheritance
SetBlackboxPatternsCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Patterns

Array of regexps that will be used to check script url for blackbox state.

[JsonPropertyName("patterns")]
public string[] Patterns { get; set; }

Property Value

string[]

SkipAnonymous

If true, also ignore scripts with no source url.

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

Property Value

bool?