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

Function getText

packages/examples/upgrade/static/ts/lite/e2e_test/e2e_util.ts:27–27  ·  view source on GitHub ↗
(selector: string)

Source from the content-addressed store, hash-verified

25 toBeAHero: () => ({
26 compare(actualNg1Hero: ElementFinder | undefined) {
27 const getText = (selector: string) => actualNg1Hero!.element(by.css(selector)).getText();
28 const result = {
29 message: 'Expected undefined to be an `ng1Hero` ElementFinder.',
30 pass:

Callers

nothing calls this directly

Calls 3

getTextMethod · 0.80
elementMethod · 0.80
cssMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…