Package com.microsoft.playwright
Class ElementHandle.SelectTextOptions
- java.lang.Object
-
- com.microsoft.playwright.ElementHandle.SelectTextOptions
-
- Enclosing interface:
- ElementHandle
public static class ElementHandle.SelectTextOptions extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
force
Whether to bypass the actionability checks.Double
timeout
Maximum time in milliseconds.
-
Constructor Summary
Constructors Constructor Description SelectTextOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementHandle.SelectTextOptions
setForce(boolean force)
Whether to bypass the actionability checks.ElementHandle.SelectTextOptions
setTimeout(double timeout)
Maximum time in milliseconds.
-
-
-
Field Detail
-
force
public Boolean force
Whether to bypass the actionability checks. Defaults tofalse
.
-
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
-
setForce
public ElementHandle.SelectTextOptions setForce(boolean force)
Whether to bypass the actionability checks. Defaults tofalse
.
-
setTimeout
public ElementHandle.SelectTextOptions 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.
-
-