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 45dc056 commit 03c4fc9Copy full SHA for 03c4fc9
java/client/test/org/openqa/selenium/WindowSwitchingTest.java
@@ -68,9 +68,9 @@ protected void finished(Description description) {
68
if (! mainWindow.equals(driver.getWindowHandle())) {
69
driver.close();
70
}
71
+ driver.switchTo().window(mainWindow);
72
} catch (Exception ignore) {
73
- driver.switchTo().window(mainWindow);
74
super.finished(description);
75
76
};
0 commit comments