Skip to content

Commit fe0675d

Browse files
committed
Fix bug that occurs on Windows with Selenium Grid tests
1 parent 3f5515b commit fe0675d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13039,7 +13039,11 @@ def __quit_all_drivers(self):
1303913039
if (
1304013040
not is_windows
1304113041
or self.browser == "ie"
13042-
or driver.service.process
13042+
or self.servername != "localhost"
13043+
or (
13044+
hasattr(driver, "service")
13045+
and driver.service.process
13046+
)
1304313047
):
1304413048
if not delay_driver_quit:
1304513049
driver.quit()

0 commit comments

Comments
 (0)