MCPcopy
hub / github.com/agent0ai/agent-zero / click

Method click

plugins/_browser/helpers/runtime.py:1291–1301  ·  view source on GitHub ↗
(
        self,
        browser_id: int | str | None,
        reference_id: int | str,
        modifiers: list[str] | str | None = None,
        focus_popup: bool | None = None,
    )

Source from the content-addressed store, hash-verified

1289 return {"result": result, "state": await self._state(resolved_id)}
1290
1291 async def click(
1292 self,
1293 browser_id: int | str | None,
1294 reference_id: int | str,
1295 modifiers: list[str] | str | None = None,
1296 focus_popup: bool | None = None,
1297 ) -> dict[str, Any]:
1298 modifiers = self._normalize_modifiers(modifiers)
1299 if modifiers:
1300 return await self._modifier_click(browser_id, reference_id, modifiers, focus_popup)
1301 return await self._reference_action("click", browser_id, reference_id)
1302
1303 async def _modifier_click(
1304 self,

Callers 15

_dispatch_callMethod · 0.95
clickFunction · 0.80
bulkExportMemoriesFunction · 0.80
exportMemoriesFunction · 0.80
selectAriaElementFunction · 0.80
setCheckedReferenceFunction · 0.80
activateElementFunction · 0.80
submitElementFunction · 0.80
clickLocalNodeFunction · 0.80
submitLocalNodeFunction · 0.80
_modifier_clickMethod · 0.80
right_clickMethod · 0.80

Calls 3

_normalize_modifiersMethod · 0.95
_modifier_clickMethod · 0.95
_reference_actionMethod · 0.95

Tested by

no test coverage detected