MCPcopy Index your code
hub / github.com/microsoft/playwright-python / click

Method click

playwright/_impl/_locator.py:149–163  ·  view source on GitHub ↗
(
        self,
        modifiers: Sequence[KeyboardModifier] = None,
        position: Position = None,
        delay: float = None,
        button: MouseButton = None,
        clickCount: int = None,
        timeout: float = None,
        force: bool = None,
        noWaitAfter: bool = None,
        trial: bool = None,
        steps: int = None,
    )

Source from the content-addressed store, hash-verified

147 return await self._frame.check(self._selector, strict=True, **params)
148
149 async def click(
150 self,
151 modifiers: Sequence[KeyboardModifier] = None,
152 position: Position = None,
153 delay: float = None,
154 button: MouseButton = None,
155 clickCount: int = None,
156 timeout: float = None,
157 force: bool = None,
158 noWaitAfter: bool = None,
159 trial: bool = None,
160 steps: int = None,
161 ) -> None:
162 params = locals_to_params(locals())
163 return await self._frame._click(self._selector, strict=True, **params)
164
165 async def dblclick(
166 self,

Callers

nothing calls this directly

Calls 2

locals_to_paramsFunction · 0.90
_clickMethod · 0.45

Tested by

no test coverage detected