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

Function accessibility_tree_script_browser_env

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

Source from the content-addressed store, hash-verified

38
39@pytest.fixture(scope="function")
40def accessibility_tree_script_browser_env() -> Generator[
41 ScriptBrowserEnv, None, None
42]:
43 env = ScriptBrowserEnv(
44 headless=HEADLESS,
45 slow_mo=SLOW_MO,
46 observation_type="accessibility_tree",
47 )
48 yield env
49 env.close()
50
51
52@pytest.fixture(scope="function")

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
ScriptBrowserEnvClass · 0.90

Tested by

no test coverage detected