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

Function piercingQueryFn

src/cdk/testing/tests/webdriver.e2e.spec.ts:22–26  ·  view source on GitHub ↗
(selector: string, root: () => webdriver.WebElement)

Source from the content-addressed store, hash-verified

20 let wd: webdriver.WebDriver;
21
22 async function piercingQueryFn(selector: string, root: () => webdriver.WebElement) {
23 return wd.findElements(
24 webdriver.By.js((s: string, r: Element) => kagekiri.querySelectorAll(s, r), selector, root()),
25 );
26 }
27
28 async function activeElement() {
29 return wd.switchTo().activeElement();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected