Comments (2)
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.
This needed step was missing:
npm install puppeteer-core
Maybe this should be mentioned in
https://github.com/puppeteer/puppeteer/tree/main/examples
After installing puppeteer-core, the example works:
bastian@ryzen:~/software/puppeteer$ NODE_PATH=../ node examples/search.js
Getting Started with Headless Chrome - https://developer.chrome.com/blog/headless-chrome
Chrome's Headless mode gets an upgrade: introducing --headless ... - https://developer.chrome.com/docs/chromium/new-headless
Download old Headless Chrome as chrome-headless-shell - https://developer.chrome.com/blog/chrome-headless-shell
Automated testing with Headless Chrome - https://developer.chrome.com/blog/headless-karma-mocha-chai
Headless Chrome: an answer to server-side rendering JS sites ... - https://developer.chrome.com/docs/puppeteer/ssr
Overview of Puppeteer - https://developer.chrome.com/docs/puppeteer
Serverless web performance monitoring using Cloud Functions ... - https://cloud.google.com/architecture/serverless-web-performance-monitoring-using-cloud-functions
Supercharge Web AI model testing: WebGPU, WebGL, and ... - https://developer.chrome.com/blog/supercharge-web-ai-testing
Recaptcha not rendered for Headless Chrome · Issue #174 · google ... - https://github.com/google/recaptcha/issues/174
BlinkOn 6 Day 2 Talk 1: Headless Chrome - https://developers.google.com/web/shows/blinkon/6/blinkon-6-day-2-talk-1-headless-chrome
from puppeteer.
Related Issues (20)
- [Bug]: Instructions can be improved/corrected HOT 2
- Switch to macos-latest (arm64) in ci
- [Feature]: Request Initiator Chain HOT 8
- [Bug]: Could not find Chrome (ver. ${this.puppeteer.browserRevision}) on Docker HOT 7
- [Bug]: 'page.waitForTimeout' not working in Puppeteer 22.7.1 HOT 2
- [Bug]: use manifest V3 .When the file(manifest.json) carries ”content_scripts“,puppeteer.launch timeout HOT 17
- "[network.spec] network Request.resourceType should work for document type" is flaky in firefox
- ignoreHttpsErrors should be renamed to acceptInsecureCerts
- [Bug]: Redirect stops before the final destination that has an error Name Not Resolved HOT 4
- Node process is hanging after all bidi tests are finished HOT 1
- AWS lambda: running puppeteer-core 21.5.2 and @sparticuz/chromium 118.0.0 on node 18 runtime failes ONLY when my html (for PDF rendering) contains https HOT 1
- [Bug]: the parameter outline in page.pdf seems not work HOT 6
- [Bug]: PDF page numbers no longer working in headless: shell HOT 3
- [Bug]: Install error HOT 2
- [Bug]: After deployment on server the service crashes for 5-10 concurrent users. HOT 2
- Chrome Canary test results HOT 9
- [Bug]: HOT 1
- [Bug]: HOT 7
- [Feature]: Add ability to exclude web sockets from WaitForNetworkIdle HOT 1
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.