Open jasonwillschiu opened 6 months ago
Experiencing same issue :/
I faced the same issue here as well
I have set up a repo here: https://github.com/blackfan23/bun-test-playwright
It uses nx and has 3 test cases (see readme)
1) node + playwright (connects fine) 2) bun + puppeteer (connects fine) 3) bun + playwright (does not work)
Edit 2024-07-28: I have updated to the latest Bun and deps. Now the bun-playwright connect throws an error:
`error: overCDP: WebSocket error: ws://localhost:9555/devtools/browser/8b68f908-be47-4a64-99d1-81c37df5fccb 200 OK Call log:
Same issue with the latest version bun throw an error message but the problem still persist...
any news ?
Does anyone know where exactly the issue lies?
What version of Bun is running?
1.1.0+5903a6141
What platform is your computer?
Darwin 23.4.0 arm64 arm
What steps can reproduce the bug?
I'm trying to use Playwright's connectOverCDP to access an existing Chrome browser in debug mode. This is for a web scraping project. I've returned to Nodejs and everything works fine, but keen to try bun more.
My setup
I run chrome using: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=chrome-user-data-dir --profile-directory=Default
Code:
Bun Error message:
In Nodejs it connects and works as expected.
Thanks for all your great work! Jason
What is the expected behavior?
A new Chrome tab is opened to google.com and then closed after 5 seconds.
What do you see instead?
Bun Error message:
Additional information
No response