Fix bug that occurs on Windows with Selenium Grid tests

This commit is contained in:
Michael Mintz 2022-09-06 01:18:29 -04:00
parent 3f5515b926
commit fe0675dba0
1 changed files with 5 additions and 1 deletions

View File

@ -13039,7 +13039,11 @@ class BaseCase(unittest.TestCase):
if (
not is_windows
or self.browser == "ie"
or driver.service.process
or self.servername != "localhost"
or (
hasattr(driver, "service")
and driver.service.process
)
):
if not delay_driver_quit:
driver.quit()