mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.5 KiB
1.5 KiB
sidebar_label |
---|
LocatorOptions |
LocatorOptions interface
Signature:
export interface LocatorOptions
Properties
Property |
Modifiers |
Type |
Description |
Default |
---|---|---|---|---|
ensureElementIsInTheViewport |
boolean |
Whether to scroll the element into viewport if not in the viewprot already. |
| |
timeout |
number |
Total timeout for the entire locator operation. Pass |
| |
visibility |
Whether to wait for the element to be | |||
waitForEnabled |
boolean |
Whether to wait for input elements to become enabled before the action. Applicable to |
| |
waitForStableBoundingBox |
boolean |
Whether to wait for the element's bounding box to be same between two animation frames. |
|