w3c / webdriver-bidi

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

API for triggering a close request #790

Open lukewarlow opened 4 months ago

lukewarlow commented 4 months ago

HTML recently added the concept of "Close Requests", and "CloseWatchers".

It would be good if WebDriver had a way to trigger a close request that was independent of a specific input type. The WPT tests were intentionally setup in such a way that a WebDriver close request API could be used in future with a minor change.

whimboo commented 4 months ago

If we could benefit from such a feature we might want to have it for WebDriver BiDi instead?

CC @jgraham for his feedback.

jgraham commented 2 months ago

Yes, agreed. New features are generally happening in BiDi, so I'd suggest we consider adding it there.