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

Function execute_click_current

webarena/browser_env/actions.py:1013–1021  ·  view source on GitHub ↗

Click at the current mouse position.

(page: Page)

Source from the content-addressed store, hash-verified

1011
1012
1013def execute_click_current(page: Page) -> None:
1014 """Click at the current mouse position."""
1015 locators = page.locator("*:focus")
1016 if not locators.count():
1017 for frame in page.frames[1:]:
1018 locators = frame.locator("*:focus")
1019 if locators.count():
1020 break
1021 locators.click()
1022
1023
1024async def aexecute_click_current(page: APage) -> None:

Callers 1

execute_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected