You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use https://playwright.microsoft.com/ for a project. The intension is to connect to cloud browser instance using a web socket url. I am unable to use this feature due to the below error message
Error message
WebSocket error: wss://browser.playwright.microsoft.com/ws 400 Bad Request
The browser that was requested, 'undefined', is not supported. Supported values are 'chromium', 'firefox', and 'webkit'.
The region and service id for this test run are : westeurope, 19da2b05-137f-4303-9b5f-db0cd22a80f0
=========================== logs ===========================
<ws connecting> wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession
<ws error> wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession error WebSocket was closed before the connection was established
<ws connect error> wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession WebSocket was closed before the connection was established
<ws disconnected> wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession code=1006 reason=
<ws connecting> wss://browser.playwright.microsoft.com/ws
<ws unexpected response> wss://browser.playwright.microsoft.com/ws 400 Bad Request
The browser that was requested, 'undefined', is not supported. Supported values are 'chromium', 'firefox', and 'webkit'.
The region and service id for this test run are : westeurope, 19da2b05-137f-4303-9b5f-db0cd22a80f0
<ws error> wss://browser.playwright.microsoft.com/ws error WebSocket was closed before the connection was established
<ws connect error> wss://browser.playwright.microsoft.com/ws WebSocket was closed before the connection was established
<ws disconnected> wss://browser.playwright.microsoft.com/ws code=1006 reason=
============================================================
I don't have a service instance to test with. But in the sample code, the authentication header is not set before connecting. Could this be the reason?
Hello,
I am trying to use https://playwright.microsoft.com/ for a project. The intension is to connect to cloud browser instance using a web socket url. I am unable to use this feature due to the below error message
Error message
Sample code
The text was updated successfully, but these errors were encountered: