[wptrunner] Mark WebDriver protocol as not alive in other cases (#46621)
- [wptrunner] Mark WebDriver protocol as not alive if
OSError
raised
This is a follow-up improvement to #45833. Protocol.is_alive()
should
handle a browser that's unable to even establish the low-level
transport. OSError
is a sufficiently broad base exception, which
encompasses socket.timeout
, IOError
, and the Connection*Error
family.
-
Coerce all
WebDriverException
s to not alive -
Update safari infrastructure expectation