Package com.microsoft.playwright
Class Page.IsDisabledOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.IsDisabledOptions
-
-
Constructor Summary
Constructors Constructor Description IsDisabledOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.IsDisabledOptions
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.Page.IsDisabledOptions
setTimeout(double timeout)
Maximum time in milliseconds, defaults to 30 seconds, pass0
to disable timeout.
-
-
-
Field Detail
-
strict
public Boolean strict
When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
-
timeout
public Double timeout
Maximum time in milliseconds, defaults to 30 seconds, pass0
to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()
orPage.setDefaultTimeout()
methods.
-
-
Method Detail
-
setStrict
public Page.IsDisabledOptions setStrict(boolean strict)
When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
-
setTimeout
public Page.IsDisabledOptions setTimeout(double timeout)
Maximum time in milliseconds, defaults to 30 seconds, pass0
to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()
orPage.setDefaultTimeout()
methods.
-
-