MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / _remote_url

Method _remote_url

py/selenium/webdriver/remote/webdriver.py:472–477  ·  view source on GitHub ↗

The address used to reach the Grid, advertised as ``se:remoteUrl`` (None for local drivers).

(self)

Source from the content-addressed store, hash-verified

470 raise
471
472 def _remote_url(self) -> str | None:
473 """The address used to reach the Grid, advertised as ``se:remoteUrl`` (None for local drivers)."""
474 if getattr(self, "service", None) is not None:
475 return None
476 client_config = getattr(self.command_executor, "client_config", None)
477 return getattr(client_config, "remote_server_addr", None) or None
478
479 def _wrap_value(self, value):
480 if isinstance(value, dict):

Calls

no outgoing calls