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

Function aexecute_playwright_click

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

Source from the content-addressed store, hash-verified

1016
1017@beartype
1018async def aexecute_playwright_click(
1019 locator_code: list[ParsedPlaywrightCode],
1020 page: APage,
1021 pw_action_args: list[str] = [],
1022 pw_action_kwargs: dict[str, Any] = {},
1023) -> None:
1024 locator = await alocate(locator_code, page)
1025
1026 # perform the action
1027 await locator.click(*pw_action_args, **pw_action_kwargs)
1028
1029
1030@beartype

Callers 1

aexecute_actionFunction · 0.85

Calls 2

alocateFunction · 0.85
clickMethod · 0.80

Tested by

no test coverage detected