Fix bug that occurs on Windows with Selenium Grid tests
This commit is contained in:
parent
3f5515b926
commit
fe0675dba0
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue