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

Method clear

playwright/_impl/_locator.py:218–225  ·  view source on GitHub ↗
(
        self,
        timeout: float = None,
        noWaitAfter: bool = None,
        force: bool = None,
    )

Source from the content-addressed store, hash-verified

216 return await self._frame.fill(self._selector, strict=True, **params)
217
218 async def clear(
219 self,
220 timeout: float = None,
221 noWaitAfter: bool = None,
222 force: bool = None,
223 ) -> None:
224 params = locals_to_params(locals())
225 await self._frame._fill(self._selector, value="", title="Clear", **params)
226
227 def locator(
228 self,

Calls 2

locals_to_paramsFunction · 0.90
_fillMethod · 0.80