MCPcopy
hub / github.com/appium/python-client / get_capability

Method get_capability

appium/options/common/base.py:84–86  ·  view source on GitHub ↗

Fetches capability value or None if the capability is not set

(self, name: str)

Source from the content-addressed store, hash-verified

82 return self
83
84 def get_capability(self, name: str) -> Any:
85 """Fetches capability value or None if the capability is not set"""
86 return self._caps[name] if name in self._caps else self._caps.get(f'{APPIUM_PREFIX}{name}')
87
88 def load_capabilities(self: T, caps: Dict[str, Any]) -> T:
89 """Sets multiple capabilities"""

Callers 15

firefox_optionsMethod · 0.45
verbosityMethod · 0.45
android_storageMethod · 0.45
marionette_portMethod · 0.45
app_working_dirMethod · 0.45
app_top_level_windowMethod · 0.45
app_argumentsMethod · 0.45
wait_for_app_launchMethod · 0.45
mjpeg_server_portMethod · 0.45

Calls

no outgoing calls

Tested by 4

allow_test_packagesMethod · 0.36
use_xctestrun_fileMethod · 0.36
use_simple_build_testMethod · 0.36