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

Method name

py/selenium/webdriver/remote/webdriver.py:426–430  ·  view source on GitHub ↗

Returns the name of the underlying browser for this instance.

(self)

Source from the content-addressed store, hash-verified

424
425 @property
426 def name(self) -> str:
427 """Returns the name of the underlying browser for this instance."""
428 if "browserName" in self.caps:
429 return self.caps["browserName"]
430 raise KeyError("browserName not specified in session capabilities")
431
432 def start_client(self) -> None:
433 """Called before starting a new session.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected