Skip to content

Commit

Permalink
BidiException instead of DevToolsException in getBiDi (#12284)
Browse files Browse the repository at this point in the history
Bidi Exception had to be used here

BidiException should've been here instead of DevToolsException here
  • Loading branch information
vedanthvdev committed Jun 28, 2023
1 parent a597e72 commit 295f272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/firefox/FirefoxDriver.java
Expand Up @@ -380,7 +380,7 @@ public BiDi getBiDi() {
}

return maybeGetBiDi()
.orElseThrow(() -> new DevToolsException("Unable to initialize Bidi connection"));
.orElseThrow(() -> new BiDiException("Unable to initialize Bidi connection"));
}

@Override
Expand Down

0 comments on commit 295f272

Please sign in to comment.