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

Function fin

py/conftest.py:619–623  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

stop_driverMethod · 0.80

Tested by

no test coverage detected