You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Iframe contents not accessible when accessing PowerApps page via CDP Connection #36095
it('repro',{annotation: {type: 'issue',description: 'https://github.com/microsoft/playwright-mcp/issues/447'}},async({ playwright })=>{constbrowser=awaitplaywright.chromium.connectOverCDP('http://localhost:5123');constpage=browser.contexts()[0].pages()[0];// await page.reload(); // uncomment to make test passawaitexpect(page.frameLocator('#fullscreen-app-host').locator('#publishedCanvas')).toBeVisible();});
it('should allow to re-connect to OOPIFs with CDP when iframes were there already',async({ launchPersistent, browserType, server })=>{it.info().annotations.push({type: 'issue',description: 'https://github.com/microsoft/playwright/issues/36095'});const{ context }=awaitlaunchPersistent({cdpPort: 9222,});awaitcontext.pages()[0].goto(server.PREFIX+'/dynamic-oopif.html');constbrowser=awaitbrowserType.connectOverCDP('http://localhost:9222');constpage=browser.contexts()[0].pages()[0];awaitpage.reload()expect(page.frames().length).toBe(2);awaitassertOOPIFCount(browser,1);expect(awaitpage.frames()[1].evaluate(()=>''+location.href)).toBe(server.CROSS_PROCESS_PREFIX+'/grid.html');awaitcontext.close();});
Activity
mxschmitt commentedon Jun 16, 2025
Looks like #17656 - I can repro with this: