MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / fin

Function fin

py/conftest.py:621–625  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619@pytest.fixture(scope="session", autouse=True)
620def stop_driver(request):
621 def fin():
622 global selenium_driver
623 if selenium_driver is not None:
624 selenium_driver.stop_driver()
625 selenium_driver = None
626
627 request.addfinalizer(fin) # noqa: PT021
628

Callers

nothing calls this directly

Calls 1

stop_driverMethod · 0.80

Tested by

no test coverage detected