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

Method switchToIframe

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

Source from the content-addressed store, hash-verified

6 }
7
8 async switchToIframe(): Promise<unknown> {
9 return browser.switchTo().frame(await element(by.id('trusted-types-iframe')).getWebElement());
10 }
11
12 async switchToObject(): Promise<unknown> {
13 return browser.switchTo().frame(await element(by.id('trusted-types-object')).getWebElement());

Callers 1

app.e2e-spec.tsFile · 0.80

Calls 1

elementFunction · 0.85

Tested by

no test coverage detected