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

Class Action

webarena/browser_env/actions.py:94–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94class Action(TypedDict):
95 action_type: int
96 coords: npt.NDArray[np.float32]
97 element_role: int
98 element_name: str
99 text: list[int]
100 page_number: int
101 url: str
102 nth: int
103 element_id: str
104 direction: str
105 key_comb: str
106 pw_code: str
107 answer: str
108 raw_prediction: str # raw prediction from the model
109
110
111@beartype

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected