MCPcopy Index your code
hub / github.com/angular/angular / getComponentText

Function getComponentText

modules/playground/e2e_test/http/http_spec.ts:25–29  ·  view source on GitHub ↗
(selector: string, innerSelector: string)

Source from the content-addressed store, hash-verified

23});
24
25function getComponentText(selector: string, innerSelector: string) {
26 return browser.executeScript(
27 `return document.querySelector("${selector}").querySelector("${innerSelector}").textContent.trim()`,
28 );
29}

Callers 1

http_spec.tsFile · 0.70

Calls 1

executeScriptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…