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

Function webserver

py/conftest.py:705–711  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

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