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

Method server_addr

playwright/sync_api/_generated.py:20524–20535  ·  view source on GitHub ↗

APIResponse.server_addr Returns the IP address and port of the server. Resolves to `null` if the server address is not available. For redirected requests, returns the information for the last request in the redirect chain. Returns ------- Union[{ipAddress: s

(self)

Source from the content-addressed store, hash-verified

20522 return mapping.from_impl_nullable(self._sync(self._impl_obj.security_details()))
20523
20524 def server_addr(self) -> typing.Optional[RemoteAddr]:
20525 """APIResponse.server_addr
20526
20527 Returns the IP address and port of the server. Resolves to `null` if the server address is not available. For
20528 redirected requests, returns the information for the last request in the redirect chain.
20529
20530 Returns
20531 -------
20532 Union[{ipAddress: str, port: int}, None]
20533 """
20534
20535 return mapping.from_impl_nullable(self._sync(self._impl_obj.server_addr()))
20536
20537 def dispose(self) -> None:
20538 """APIResponse.dispose

Callers

nothing calls this directly

Calls 3

from_impl_nullableMethod · 0.80
_syncMethod · 0.45
server_addrMethod · 0.45

Tested by

no test coverage detected