Package com.microsoft.playwright
Class Page.InnerHTMLOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.InnerHTMLOptions
-
-
Constructor Summary
Constructors Constructor Description InnerHTMLOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.InnerHTMLOptions
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.Page.InnerHTMLOptions
setTimeout(double timeout)
Maximum time in milliseconds.
-
-
-
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 to30000
(30 seconds). Pass0
to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()
orPage.setDefaultTimeout()
methods.
-
-
Method Detail
-
setStrict
public Page.InnerHTMLOptions 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.InnerHTMLOptions setTimeout(double timeout)
Maximum time in milliseconds. Defaults to30000
(30 seconds). Pass0
to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()
orPage.setDefaultTimeout()
methods.
-
-