Skip to content

Commit

Permalink
Fix WebDriverAsyncCallbackHandler not expecting all WebDriver excepti…
Browse files Browse the repository at this point in the history
…ons (#48621)
  • Loading branch information
OrKoN authored Oct 22, 2024
1 parent 4588b0b commit 0979b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/wptrunner/wptrunner/executors/executorwebdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class WebDriverCallbackHandler(CallbackHandler):


class WebDriverAsyncCallbackHandler(AsyncCallbackHandler):
unimplemented_exc = (NotImplementedError, webdriver_bidi_error.UnknownCommandException)
expected_exc = (webdriver_bidi_error.BidiException,)
unimplemented_exc = (NotImplementedError, webdriver_error.UnknownCommandException, webdriver_bidi_error.UnknownCommandException)
expected_exc = (webdriver_error.WebDriverException, webdriver_bidi_error.BidiException)


class WebDriverBaseProtocolPart(BaseProtocolPart):
Expand Down

0 comments on commit 0979b8b

Please sign in to comment.