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

Function pages

py/conftest.py:637–645  ·  view source on GitHub ↗
(driver, webserver)

Source from the content-addressed store, hash-verified

635
636@pytest.fixture
637def pages(driver, webserver):
638 class Pages:
639 def url(self, name, localhost=False, secure=False):
640 return webserver.where_is(name, localhost, secure)
641
642 def load(self, name):
643 driver.get(self.url(name))
644
645 return Pages()
646
647
648@pytest.fixture

Callers

nothing calls this directly

Calls 1

PagesClass · 0.70

Tested by

no test coverage detected