Class PageAddLocatorHandlerOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class PageAddLocatorHandlerOptions
- Inheritance
-
PageAddLocatorHandlerOptions
- Inherited Members
Constructors
PageAddLocatorHandlerOptions()
public PageAddLocatorHandlerOptions()
PageAddLocatorHandlerOptions(PageAddLocatorHandlerOptions)
public PageAddLocatorHandlerOptions(PageAddLocatorHandlerOptions clone)
Parameters
Properties
NoWaitAfter
By default, after calling the handler Playwright will wait until the overlay becomes hidden, and only then Playwright will continue with the action/assertion that triggered the handler. This option allows to opt-out of this behavior, so that overlay can stay visible after the handler has run.
[JsonPropertyName("noWaitAfter")]
public bool? NoWaitAfter { get; set; }
Property Value
- bool?
Times
Specifies the maximum number of times this handler should be called. Unlimited by default.
[JsonPropertyName("times")]
public int? Times { get; set; }
Property Value
- int?