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

Method capabilities

py/selenium/webdriver/remote/webdriver.py:1051–1053  ·  view source on GitHub ↗

Returns the drivers current capabilities being used.

(self)

Source from the content-addressed store, hash-verified

1049
1050 @property
1051 def capabilities(self) -> dict:
1052 """Returns the drivers current capabilities being used."""
1053 return self.caps
1054
1055 def get_screenshot_as_file(self, filename) -> bool:
1056 """Save a screenshot of the current window to a PNG image file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected