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
Example:
var Browser = require('puppeteer').Browser; var browser = new Browser(); browser.newPage().then(async page => { page.on('dialog', dialog => { dialog.accept('test'); }); console.log(await page.evaluate(() => prompt('q?'))); browser.close(); });
Dialog accepting/dismissing throws on error on headless:
Error: Protocol error (Page.handleJavaScriptDialog): Could not handle JavaScript dialog
Upstream bug: crbug.com/718235
The text was updated successfully, but these errors were encountered:
fixed bug link https://bugs.chromium.org/p/chromium/issues/detail?id=718235
Sorry, something went wrong.
315c388
No branches or pull requests
Example:
Dialog accepting/dismissing throws on error on headless:
Upstream bug: crbug.com/718235
The text was updated successfully, but these errors were encountered: