We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context:
package.json { "dependencies": { "playwright": "^0.11.1" } }
{ "dependencies": { "playwright": "^0.11.1" } }
test.js const playwright = require('playwright'); (async () => { for (const browserType of ['chromium', 'firefox', 'webkit']) { const browser = await playwright[browserType].launch({ headless: false }); const context = await browser.newContext(); const page = await context.newPage(); await page.goto('http://whatsmyuseragent.org/'); await page.screenshot({ path:output/example-${browserType}.png }); await browser.close(); } })();
const playwright = require('playwright');
(async () => {
for (const browserType of ['chromium', 'firefox', 'webkit']) {
const browser = await playwright[browserType].launch({ headless: false });
const context = await browser.newContext();
const page = await context.newPage();
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path:
});
await browser.close();
}
})();
With default settings and for any browser if launch tests with parameter launch({ headless: false }) can see double window/tab. Its kinda strange
launch({ headless: false })
The text was updated successfully, but these errors were encountered:
Closing as a duplicate of #981
Sorry, something went wrong.
No branches or pull requests
Context:
package.json
{ "dependencies": { "playwright": "^0.11.1" } }
test.js
const playwright = require('playwright');
(async () => {
for (const browserType of ['chromium', 'firefox', 'webkit']) {
const browser = await playwright[browserType].launch({ headless: false });
const context = await browser.newContext();
const page = await context.newPage();
await page.goto('http://whatsmyuseragent.org/');
await page.screenshot({ path:
output/example-${browserType}.png});
await browser.close();
}
})();
With default settings and for any browser if launch tests with parameter
launch({ headless: false })
can see double window/tab. Its kinda strangeThe text was updated successfully, but these errors were encountered: