Uses of Class
com.microsoft.playwright.ElementHandle.ClickOptions
Packages that use ElementHandle.ClickOptions
-
Uses of ElementHandle.ClickOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return ElementHandle.ClickOptionsModifier and TypeMethodDescriptionElementHandle.ClickOptions.setButton(MouseButton button) Defaults toleft.ElementHandle.ClickOptions.setClickCount(int clickCount) defaults to 1.ElementHandle.ClickOptions.setDelay(double delay) Time to wait betweenmousedownandmouseupin milliseconds.ElementHandle.ClickOptions.setForce(boolean force) Whether to bypass the actionability checks.ElementHandle.ClickOptions.setModifiers(List<KeyboardModifier> modifiers) Modifier keys to press.ElementHandle.ClickOptions.setNoWaitAfter(boolean noWaitAfter) Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.ElementHandle.ClickOptions.setPosition(double x, double y) A point to use relative to the top-left corner of element padding box.ElementHandle.ClickOptions.setPosition(Position position) A point to use relative to the top-left corner of element padding box.ElementHandle.ClickOptions.setTimeout(double timeout) Maximum time in milliseconds.ElementHandle.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.ClickOptionsModifier and TypeMethodDescriptionvoidElementHandle.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. -
Uses of ElementHandle.ClickOptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type ElementHandle.ClickOptionsModifier and TypeMethodDescriptionvoidElementHandleImpl.click(ElementHandle.ClickOptions options) private voidElementHandleImpl.clickImpl(ElementHandle.ClickOptions options)