Skip to content
New issue

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

Chrome has removed old headless mode #364

Open
gmalakov opened this issue Jan 17, 2025 · 2 comments
Open

Chrome has removed old headless mode #364

gmalakov opened this issue Jan 17, 2025 · 2 comments

Comments

@gmalakov
Copy link

Chrome has removed old headless mode

[Chrome stderr]: Old Headless mode has been removed from the Chrome binary. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell).

Exception: Websocket url not found
package:puppeteer/src/puppeteer.dart 367:3 _waitForWebSocketUrl
package:puppeteer/src/puppeteer.dart 201:21 Puppeteer.launch.

@xvrh
Copy link
Owner

xvrh commented Jan 17, 2025

Please try this branch: #363 and let me know if it works for you

@gmalakov
Copy link
Author

Thank you my friend.
That works perfectly.
Only problem is that is uses archive 4.0 so i needed to fix some stuff of my code also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants