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

Method set_capability

py/selenium/webdriver/common/options.py:347–349  ·  view source on GitHub ↗

Sets a capability.

(self, name: str, value: object)

Source from the content-addressed store, hash-verified

345 return self._caps
346
347 def set_capability(self, name: str, value: object) -> None:
348 """Sets a capability."""
349 self._caps[name] = value
350
351 def enable_mobile(
352 self,

Callers 5

__init__Method · 0.95
__set__Method · 0.80
__set__Method · 0.80
__set__Method · 0.80
__set__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected