w3c / webdriver-bidi

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

Extract the `update the response` steps from the `network.continueResponse` command #616

Closed juliandescottes closed 6 months ago

juliandescottes commented 7 months ago

update the response https://w3c.github.io/webdriver-bidi/#update-the-response is used in both network.continueResponse and network.provideResponse. But its definition is located in the middle of the command network.continueResponse. Would it make sense to extract it outside of the command's definition? Eg create a Response updates section under The network Module.

I got confused several times when reading the definition of this command, because I assume that update-the-response must be specific to this command, but then some steps don't make sense.