Comments (7)
This issue was not reproducible. Please check that your example runs locally and the following:
- Ensure the script does not rely on dependencies outside of
puppeteer
andpuppeteer-core
. - Ensure the error string is just the error message.
-
Bad:
Error: something went wrong at Object.<anonymous> (/Users/username/repository/script.js:2:1) at Module._compile (node:internal/modules/cjs/loader:1159:14) at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) at Module.load (node:internal/modules/cjs/loader:1037:32) at Module._load (node:internal/modules/cjs/loader:878:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47
-
Good:
Error: something went wrong
.
-
- Ensure your configuration file (if applicable) is valid.
- If the issue is flaky (does not reproduce all the time), make sure 'Flaky' is checked.
- If the issue is not expected to error, make sure to write 'no error'.
Once the above checks are satisfied, please edit your issue with the changes and we will
try to reproduce the bug again.
from puppeteer.
could you obtain the crash id from chrome://crashes (you might need to re-user the userDataDir for that)?
from puppeteer.
Is it reproducible with the bundled Chrome for Testing version?
from puppeteer.
Able to reproduce with stable and canary versions.
from puppeteer.
Chrome: crash id:b180583f32e07283
I tried "Google Chrome for Testing" and got the same error.
from puppeteer.
const puppeteer = require("puppeteer");
async function main() {
const browser = await puppeteer.launch({
headless: false
});
console.log("Browser is created.");
const pages = await browser.pages();
const page = pages[0];
page.on('popup', async (popup) => {
console.log(popup.url());
await popup.close();
});
await page.evaluate(() => {
const f = document.createElement("iframe");
f.src = "data:text/html;charset=utf-8,<p></p>",
document.body.appendChild(f),
console.log("fire"),
f.contentWindow.open("", "", "top=9999,left=9999,width=100,height=100")
});
}
main();
one-script repro
from puppeteer.
Filed https://crbug.com/340836884
from puppeteer.
Related Issues (20)
- Unauthorized script addition HOT 1
- [Bug]: exposedFunction called multiple times (per frame), instead of once HOT 1
- Set up benchmark tests in CI
- [Bug]: New XPath error on new latest v22.10.1 HOT 4
- [Question]: Can we call start/stop recorder in Chrome-Devtools by puppeteer? And how to make it. HOT 2
- [Bug]: on Almalinux 8 (Namecheap) missing libatk-bridge-2.0.so.0 libdrm.so.2 libgbm.so.1libasound.so.2 even if they have been installed! HOT 3
- [Bug]: Breaking change v22.11.0 require GLIBC2.25 HOT 2
- [Bug]: remove request listener and then the page can do nothing HOT 1
- [Bug]: Puppeteer fails to launch browser process when running in a Nixpacks container HOT 6
- [Bug]: Unexpected sequence & found at index 0 HOT 6
- [Bug]: TypeError: page.removeListener is not a function HOT 2
- [Bug]: document.createElement is a Proxy HOT 2
- [Feature]: Add support for arm64 Linux Firefox HOT 2
- [Bug]: pdf printing might hang waiting for fonts if the tab is in the background HOT 1
- [Bug]: PDF table of contents HOT 3
- [Bug]: Reopening #5849 Puppeteer does not work on RHEL 8.1 (inside a podman) HOT 1
- [Feature]: Use semver ranges instead of exact versions for dependencies HOT 8
- [Bug]: can't launch firefox on [email protected] on GitHub actions HOT 10
- [Bug]: Not all frames are restored on reconnect HOT 7
- Unable to click a button to join a meeting on MsTeams HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppeteer.