Package com.microsoft.playwright
Class ElementHandle.ScrollIntoViewIfNeededOptions
- java.lang.Object
-
- com.microsoft.playwright.ElementHandle.ScrollIntoViewIfNeededOptions
-
- Enclosing interface:
- ElementHandle
public static class ElementHandle.ScrollIntoViewIfNeededOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description ScrollIntoViewIfNeededOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementHandle.ScrollIntoViewIfNeededOptions
withTimeout(Integer timeout)
-
-
-
Field Detail
-
timeout
public Integer timeout
Maximum time in milliseconds, defaults to 30 seconds, pass0
to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods.
-
-
Method Detail
-
withTimeout
public ElementHandle.ScrollIntoViewIfNeededOptions withTimeout(Integer timeout)
-
-