MCPcopy Create free account
hub / github.com/angular/angular / switchToEmbed

Method switchToEmbed

integration/trusted-types/e2e/src/app.po.ts:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 async switchToEmbed(): Promise<unknown> {
17 return browser.switchTo().frame(await element(by.id('trusted-types-embed')).getWebElement());
18 }
19
20 async getTitleText(): Promise<string> {
21 return element(by.css('app-root .content span')).getText();

Callers 1

app.e2e-spec.tsFile · 0.80

Calls 1

elementFunction · 0.85

Tested by

no test coverage detected