Skip to content

Commit 6aba717

Browse files
committed
NoSuchSessionException should extend WebDriverException, not NotFoundException
1 parent 42beb5e commit 6aba717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/NoSuchSessionException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* Thrown by any command being called after {@link WebDriver#quit() WebDriver.quit()}.
2222
*/
23-
public class NoSuchSessionException extends NotFoundException {
23+
public class NoSuchSessionException extends WebDriverException {
2424

2525
public NoSuchSessionException() {
2626
}

0 commit comments

Comments
 (0)