Code:
const { chromium } = require('playwright-chromium');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path: `example.png` });
await browser.close();
})();
Actual:

Expected: When using playwright instead of playwright-chromium it works and shows the correct code in the Inspector window.
PWDEBUG=1 node test.js
Code:
Actual:
Expected: When using
playwrightinstead ofplaywright-chromiumit works and shows the correct code in the Inspector window.PWDEBUG=1 node test.js