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

Method set_checked

playwright/_impl/_element_handle.py:262–284  ·  view source on GitHub ↗
(
        self,
        checked: bool,
        position: Position = None,
        timeout: float = None,
        force: bool = None,
        noWaitAfter: bool = None,
        trial: bool = None,
    )

Source from the content-addressed store, hash-verified

260 )
261
262 async def set_checked(
263 self,
264 checked: bool,
265 position: Position = None,
266 timeout: float = None,
267 force: bool = None,
268 noWaitAfter: bool = None,
269 trial: bool = None,
270 ) -> None:
271 if checked:
272 await self.check(
273 position=position,
274 timeout=timeout,
275 force=force,
276 trial=trial,
277 )
278 else:
279 await self.uncheck(
280 position=position,
281 timeout=timeout,
282 force=force,
283 trial=trial,
284 )
285
286 async def check(
287 self,

Callers

nothing calls this directly

Calls 2

checkMethod · 0.95
uncheckMethod · 0.95

Tested by

no test coverage detected