-
- All Implemented Interfaces:
public final class CrossDomainExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static Unit)>clickOnElement(ChromePageSession $self, String selector, Long clickDurationMillis, <Error class: unknown class> mouseButton)Finds a DOM element via the given selector, and simulates a click event on it based on its padding box. -
-
Method Detail
-
clickOnElement
final static Unit )>clickOnElement(ChromePageSession $self, String selector, Long clickDurationMillis, <Error class: unknown class> mouseButton)
Finds a DOM element via the given selector, and simulates a click event on it based on its padding box. The current tab doesn't need to be focused.
If this click opens a new tab, that new tab may become focused, but this session still targets the old tab.
-
-
-
-