MCPcopy
hub / github.com/angular/components / clickElementAtPoint

Function clickElementAtPoint

src/material/slider/slider.e2e.spec.ts:184–187  ·  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: ElementFinder, coords: Point)

Source from the content-addressed store, hash-verified

182 * that covers part of the target and can catch the click.
183 */
184async function clickElementAtPoint(target: ElementFinder, coords: Point) {
185 const webElement = await target.getWebElement();
186 await browser.actions().mouseMove(webElement, coords).click().perform();
187}

Callers 1

setValueByClickFunction · 0.85

Calls 1

clickMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…