Closed jane-will-emp closed 2 weeks ago
I will create an example as a github repo. Just a minute
Okay it seems not be that easy I need more time to find the actual reason why it isn't working
I cannot reproduce it with this example:
import {expect, test} from '@playwright/test';
test('overlay', async ({page}) => {
await page.context().newCDPSession(page);
await page.goto('https://playwright.dev/');
});
Please provide a self-contained reproduction that we could run locally.
Closing per the response above, feel free to open a new issue if it doesn't work and you can provide a good repro.
Version
v1.45.1
Steps to reproduce
await page.context().newCDPSession(page)
to enable a new CDPSessionExpected behavior
Show a valid html report
Actual behavior
The report is an empty website or a report with zero tests (depends)
Additional context
I tried to create a test for passkey login, as described here
Environment