w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
336 stars 35 forks source link

Use `text / true` for `webSocketUrl`. #606

Closed jrandolf closed 7 months ago

jrandolf commented 7 months ago

See https://w3c.github.io/webdriver/#ref-for-dfn-remote-end-steps-6

In step 4 we process capabilities and (assuming there's a match and we're starting a websocket connection), end up with an object that contains {webSocketUrl: true}.

In step 9 we call into https://w3c.github.io/webdriver-bidi/#establishing which updates the capabilities object so that it contains the actual URL as the value of the webSocketUrl property.


Preview | Diff