Package com.microsoft.playwright
Class Page.AddLocatorHandlerOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.AddLocatorHandlerOptions
-
-
Field Summary
Fields Modifier and Type Field Description BooleannoWaitAfterBy 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.IntegertimesSpecifies the maximum number of times this handler should be called.
-
Constructor Summary
Constructors Constructor Description AddLocatorHandlerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.AddLocatorHandlerOptionssetNoWaitAfter(boolean 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.Page.AddLocatorHandlerOptionssetTimes(int times)Specifies the maximum number of times this handler should be called.
-
-
-
Field Detail
-
noWaitAfter
public Boolean 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.
-
times
public Integer times
Specifies the maximum number of times this handler should be called. Unlimited by default.
-
-
Method Detail
-
setNoWaitAfter
public Page.AddLocatorHandlerOptions setNoWaitAfter(boolean 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.
-
setTimes
public Page.AddLocatorHandlerOptions setTimes(int times)
Specifies the maximum number of times this handler should be called. Unlimited by default.
-
-