MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / current_viewport_script_browser_env

Function current_viewport_script_browser_env

webarena/tests/conftest.py:27–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26@pytest.fixture(scope="function")
27def 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")

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
ScriptBrowserEnvClass · 0.90

Tested by

no test coverage detected