* Clicks an element at a specific point. Useful if there's another element * that covers part of the target and can catch the click.
(target: ElementFinder, coords: Point)
| 182 | * that covers part of the target and can catch the click. |
| 183 | */ |
| 184 | async function clickElementAtPoint(target: ElementFinder, coords: Point) { |
| 185 | const webElement = await target.getWebElement(); |
| 186 | await browser.actions().mouseMove(webElement, coords).click().perform(); |
| 187 | } |
no test coverage detected
searching dependent graphs…