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

Class PlaywrightScript

webarena/browser_env/envs.py:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36@dataclass
37class PlaywrightScript:
38 function: str # goto, get_by_role
39 destination: str # https://www.google.com/, combobox
40 name: str | None = None # Search, Avatar 2009
41 operation: str | None = None # click, fill, press
42 value: str | None = None # avatar movie, Enter
43
44
45def parse_action(action: str) -> PlaywrightScript:

Callers 1

parse_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected