-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
With Firefox Nighty:
$ ./firefox --remote-debugging-port=9222
WebDriver BiDi listening on ws://localhost:9222
DevTools listening on ws://localhost:9222/devtools/browser/6cf65b2b-54e9-444e-a36e-0c04f12b47c9
…
$ # in another terminal / tab
$ PORT=9222 python3 examples/cross-browser.py
Traceback (most recent call last):
File "~/projects/chromium-bidi/examples/cross-browser.py", line 150, in <module>
result = loop.run_until_complete(main())
File "~/homebrew/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "~/projects/chromium-bidi/examples/cross-browser.py", line 53, in main
websocket = await get_websocket()
File "~/projects/chromium-bidi/examples/cross-browser.py", line 28, in get_websocket
return await websockets.connect(url)
File "~/Library/Python/3.9/lib/python/site-packages/websockets/client.py", line 542, in __await_impl__
await protocol.handshake(
File "~/Library/Python/3.9/lib/python/site-packages/websockets/client.py", line 296, in handshake
raise InvalidStatusCode(status_code)
websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
We should figure out what’s going on here.