* 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: webdriver.WebElement, coords: Point)
| 194 | * that covers part of the target and can catch the click. |
| 195 | */ |
| 196 | async function clickElementAtPoint(target: webdriver.WebElement, coords: Point) { |
| 197 | await wd.actions().mouseMove(target, coords).click().perform(); |
| 198 | } |
| 199 | }); |
| 200 | |
| 201 | enum Thumb { |
no test coverage detected