MCPcopy
hub / github.com/microsoft/playwright-python / set_content

Method set_content

playwright/_impl/_page.py:545–551  ·  view source on GitHub ↗
(
        self,
        html: str,
        timeout: float = None,
        waitUntil: DocumentLoadState = None,
    )

Source from the content-addressed store, hash-verified

543 return await self._main_frame.content()
544
545 async def set_content(
546 self,
547 html: str,
548 timeout: float = None,
549 waitUntil: DocumentLoadState = None,
550 ) -> None:
551 return await self._main_frame.set_content(**locals_to_params(locals()))
552
553 async def goto(
554 self,

Calls 1

locals_to_paramsFunction · 0.90