We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bbb7c2 commit 1c5eee4Copy full SHA for 1c5eee4
java/src/org/openqa/selenium/remote/RemoteWebDriverBuilder.java
@@ -344,6 +344,7 @@ WebDriver getLocalDriver() {
344
WebDriver localDriver = first.get().get();
345
346
if (localDriver != null && this.useCustomConfig) {
347
+ localDriver.quit();
348
throw new IllegalArgumentException("ClientConfig instances do not work for Local Drivers");
349
}
350
0 commit comments