MCPcopy Create free account
hub / github.com/angular/components / clickElementAtPoint

Function clickElementAtPoint

src/material/slider/slider.e2e.spec.ts:196–198  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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
201enum Thumb {

Callers 1

setValueByClickFunction · 0.85

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected