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

Method set_extra_http_headers

playwright/_impl/_page.py:531–536  ·  view source on GitHub ↗
(self, headers: Dict[str, str])

Source from the content-addressed store, hash-verified

529 )
530
531 async def set_extra_http_headers(self, headers: Dict[str, str]) -> None:
532 await self._channel.send(
533 "setExtraHTTPHeaders",
534 None,
535 dict(headers=serialize_headers(headers)),
536 )
537
538 @property
539 def url(self) -> str:

Calls 2

serialize_headersFunction · 0.90
sendMethod · 0.45