Uses of Class
com.microsoft.playwright.ElementHandle.ClickOptions
-
Packages that use ElementHandle.ClickOptions Package Description com.microsoft.playwright -
-
Uses of ElementHandle.ClickOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return ElementHandle.ClickOptions Modifier and Type Method Description ElementHandle.ClickOptionsElementHandle.ClickOptions. setButton(MouseButton button)Defaults toleft.ElementHandle.ClickOptionsElementHandle.ClickOptions. setClickCount(int clickCount)defaults to 1.ElementHandle.ClickOptionsElementHandle.ClickOptions. setDelay(double delay)Time to wait betweenmousedownandmouseupin milliseconds.ElementHandle.ClickOptionsElementHandle.ClickOptions. setForce(boolean force)Whether to bypass the actionability checks.ElementHandle.ClickOptionsElementHandle.ClickOptions. setModifiers(List<KeyboardModifier> modifiers)Modifier keys to press.ElementHandle.ClickOptionsElementHandle.ClickOptions. setNoWaitAfter(boolean noWaitAfter)Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.ElementHandle.ClickOptionsElementHandle.ClickOptions. setPosition(double x, double y)A point to use relative to the top-left corner of element padding box.ElementHandle.ClickOptionsElementHandle.ClickOptions. setPosition(Position position)A point to use relative to the top-left corner of element padding box.ElementHandle.ClickOptionsElementHandle.ClickOptions. setTimeout(double timeout)Maximum time in milliseconds.ElementHandle.ClickOptionsElementHandle.ClickOptions. setTrial(boolean trial)When set, this method only performs the actionability checks and skips the action.Methods in com.microsoft.playwright with parameters of type ElementHandle.ClickOptions Modifier and Type Method Description voidElementHandle. click(ElementHandle.ClickOptions options)This method clicks the element by performing the following steps: Wait for actionability checks on the element, unlessforceoption is set. Scroll the element into view if needed. UsePage.mouse()to click in the center of the element, or the specifiedposition. Wait for initiated navigations to either succeed or fail, unlessnoWaitAfteroption is set.
-