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

Function execute_playwright_click

webarena/browser_env/actions.py:1144–1153  ·  view source on GitHub ↗
(
    locator_code: list[ParsedPlaywrightCode],
    page: Page,
    pw_action_args: list[str] = [],
    pw_action_kwargs: dict[str, Any] = {},
)

Source from the content-addressed store, hash-verified

1142
1143
1144def execute_playwright_click(
1145 locator_code: list[ParsedPlaywrightCode],
1146 page: Page,
1147 pw_action_args: list[str] = [],
1148 pw_action_kwargs: dict[str, Any] = {},
1149) -> None:
1150 locator = locate(locator_code, page)
1151
1152 # perform the action
1153 locator.click(*pw_action_args, **pw_action_kwargs)
1154
1155
1156async def aexecute_playwright_click(

Callers 1

execute_actionFunction · 0.85

Calls 1

locateFunction · 0.85

Tested by

no test coverage detected