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

Function webserver

py/conftest.py:707–713  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

705
706@pytest.fixture(autouse=True, scope="session")
707def webserver(request):
708 host = get_lan_ip() if request.config.getoption("use_lan_ip") else None
709
710 webserver = SimpleWebServer(host=host)
711 webserver.start()
712 yield webserver
713 webserver.stop()
714
715
716@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