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

Method press

playwright/_impl/_page.py:1099–1108  ·  view source on GitHub ↗
(
        self,
        selector: str,
        key: str,
        delay: float = None,
        timeout: float = None,
        noWaitAfter: bool = None,
        strict: bool = None,
    )

Source from the content-addressed store, hash-verified

1097 return await self._main_frame.type(**locals_to_params(locals()))
1098
1099 async def press(
1100 self,
1101 selector: str,
1102 key: str,
1103 delay: float = None,
1104 timeout: float = None,
1105 noWaitAfter: bool = None,
1106 strict: bool = None,
1107 ) -> None:
1108 return await self._main_frame.press(**locals_to_params(locals()))
1109
1110 async def check(
1111 self,

Calls 1

locals_to_paramsFunction · 0.90