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

Function webserver

py/conftest.py:649–655  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

647
648@pytest.fixture(autouse=True, scope="session")
649def webserver(request):
650 host = get_lan_ip() if request.config.getoption("use_lan_ip") else None
651
652 webserver = SimpleWebServer(host=host)
653 webserver.start()
654 yield webserver
655 webserver.stop()
656
657
658@pytest.fixture

Callers

nothing calls this directly

Calls 4

startMethod · 0.95
stopMethod · 0.95
get_lan_ipFunction · 0.90
SimpleWebServerClass · 0.90

Tested by

no test coverage detected