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

Function execute_playwright_click

eval_heldout/webarena/browser_env/actions.py:1005–1014  ·  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

1003
1004@beartype
1005def execute_playwright_click(
1006 locator_code: list[ParsedPlaywrightCode],
1007 page: Page,
1008 pw_action_args: list[str] = [],
1009 pw_action_kwargs: dict[str, Any] = {},
1010) -> None:
1011 locator = locate(locator_code, page)
1012
1013 # perform the action
1014 locator.click(*pw_action_args, **pw_action_kwargs)
1015
1016
1017@beartype

Callers 1

execute_actionFunction · 0.85

Calls 2

locateFunction · 0.85
clickMethod · 0.80

Tested by

no test coverage detected