w3c / webdriver-bidi

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

Add event "browsingContext.crashed" to indicate a crash of the web content process #723

Open whimboo opened 1 month ago

whimboo commented 1 month ago

It would be good to inform the client about crashes of web content processes. In CDP there is the following event:

https://chromedevtools.github.io/devtools-protocol/tot/Target/#event-targetCrashed

The event should contain the usual BrowsingContextInfo field as payload.

Note: I don't think that we can / have to do the same for browser crashes given that we most likely won't be able to send out this event.