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

Function pytest_exception_interact

py/conftest.py:630–635  ·  view source on GitHub ↗
(node, call, report)

Source from the content-addressed store, hash-verified

628
629
630def pytest_exception_interact(node, call, report):
631 if report.failed:
632 global selenium_driver
633 if selenium_driver is not None:
634 selenium_driver.stop_driver()
635 selenium_driver = None
636
637
638@pytest.fixture

Callers

nothing calls this directly

Calls 1

stop_driverMethod · 0.80

Tested by

no test coverage detected