()
| 25 | |
| 26 | @pytest.fixture(scope="function") |
| 27 | def current_viewport_script_browser_env() -> Generator[ |
| 28 | ScriptBrowserEnv, None, None |
| 29 | ]: |
| 30 | env = ScriptBrowserEnv( |
| 31 | headless=HEADLESS, |
| 32 | slow_mo=SLOW_MO, |
| 33 | current_viewport_only=True, |
| 34 | ) |
| 35 | yield env |
| 36 | env.close() |
| 37 | |
| 38 | |
| 39 | @pytest.fixture(scope="function") |
nothing calls this directly
no test coverage detected