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
It should direct to url like https://xxx.apigateway-cn-beijing.volceapi.com/v0.1/browsers/22afeb33-8786-46c7-b2f5-0dd63c9782a5/json/version?faasInstanceName=a5xwlfo1-uim0if6qku-reserved-59bdfc9487-6ntbd
Actual behavior
it redirected to find the devtool server to https://sd0nup096n1fcd5thd31g.apigateway-cn-beijing.volceapi.com/v0.1/browsers/22afeb33-8786-46c7-b2f5-0dd63c9782a5/?faasInstanceName=abc/json/version/ with the following issue:
https://xxx.apigateway-cn-beijing.volceapi.com/v0.1/browsers/22afeb33-8786-46c7-b2f5-0dd63c9782a5/?faasInstanceName=abc/json/version/.
This does not look like a DevTools server, try connecting via ws://..
This does not look like a DevTools server, try connecting via ws://.
The code now uses the URL constructor to handle the endpoint URL more robustly. This change ensures that the path is correctly formatted by appending a trailing slash and the 'json/version' segment, avoiding potential errors from manual string manipulation. This improves reliability when retrieving the WebSocket endpoint from the provided URL.
Fixmicrosoft#36097
Version
1.50.0
Steps to reproduce
Use playwright to call a CDP
Expected behavior
It should direct to url like
https://xxx.apigateway-cn-beijing.volceapi.com/v0.1/browsers/22afeb33-8786-46c7-b2f5-0dd63c9782a5/json/version?faasInstanceName=a5xwlfo1-uim0if6qku-reserved-59bdfc9487-6ntbd
Actual behavior
it redirected to find the devtool server to
https://sd0nup096n1fcd5thd31g.apigateway-cn-beijing.volceapi.com/v0.1/browsers/22afeb33-8786-46c7-b2f5-0dd63c9782a5/?faasInstanceName=abc/json/version/
with the following issue:Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: