Safaridriver 15.5 started raising TimeoutExceptions instead of expected exceptions such as InvalidSelectorException and NoSuchElementException
Most likely this behavior is an unintented change to the driver.
Fixed by adding driver.wait_implicitly(0.1) to the internal/browser/safari.pyopen_browser() method.
Solution is bit hacky but refactor for handling TimeoutException would affect all platforms and browsers and therefore could have unintended side effects
Safaridriver 15.5 started raising
TimeoutExceptions
instead of expected exceptions such asInvalidSelectorException
andNoSuchElementException
Most likely this behavior is an unintented change to the driver.
Fixed by adding
driver.wait_implicitly(0.1)
to the internal/browser/safari.pyopen_browser()
method. Solution is bit hacky but refactor for handlingTimeoutException
would affect all platforms and browsers and therefore could have unintended side effects