MCPcopy Index your code
hub / github.com/microsoft/playwright-python / skip_by_browser

Function skip_by_browser

tests/conftest.py:159–165  ·  view source on GitHub ↗
(request: pytest.FixtureRequest, browser_name: str)

Source from the content-addressed store, hash-verified

157
158@pytest.fixture(autouse=True)
159def skip_by_browser(request: pytest.FixtureRequest, browser_name: str) -> None:
160 skip_browsers_names = _get_skiplist(
161 request, ["chromium", "firefox", "webkit"], "browser"
162 )
163
164 if browser_name in skip_browsers_names:
165 pytest.skip(f"skipped for this browser: {browser_name}")
166
167
168@pytest.fixture(autouse=True)

Callers

nothing calls this directly

Calls 1

_get_skiplistFunction · 0.85

Tested by

no test coverage detected