(
self,
browser_id: int | str | None,
reference_id: int | str,
modifiers: list[str] | str | None = None,
focus_popup: bool | None = None,
)
| 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, |
no test coverage detected