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

Function pytest_exception_interact

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

stop_driverMethod · 0.80

Tested by

no test coverage detected