Package com.microsoft.playwright
Class ElementHandle.WaitForElementStateOptions
- java.lang.Object
-
- com.microsoft.playwright.ElementHandle.WaitForElementStateOptions
-
- Enclosing interface:
- ElementHandle
public static class ElementHandle.WaitForElementStateOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description WaitForElementStateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementHandle.WaitForElementStateOptionssetTimeout(double timeout)Maximum time in milliseconds.
-
-
-
Field Detail
-
timeout
public Double timeout
Maximum time in milliseconds. Defaults to30000(30 seconds). Pass0to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()orPage.setDefaultTimeout()methods.
-
-
Method Detail
-
setTimeout
public ElementHandle.WaitForElementStateOptions setTimeout(double timeout)
Maximum time in milliseconds. Defaults to30000(30 seconds). Pass0to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()orPage.setDefaultTimeout()methods.
-
-