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

Method focus

playwright/_impl/_page.py:1002–1005  ·  view source on GitHub ↗
(
        self, selector: str, strict: bool = None, timeout: float = None
    )

Source from the content-addressed store, hash-verified

1000 return self.main_frame.frame_locator(selector)
1001
1002 async def focus(
1003 self, selector: str, strict: bool = None, timeout: float = None
1004 ) -> None:
1005 return await self._main_frame.focus(**locals_to_params(locals()))
1006
1007 async def text_content(
1008 self, selector: str, strict: bool = None, timeout: float = None

Calls 1

locals_to_paramsFunction · 0.90