I don't know how to get desired capabilities I've set with Appium Python client.
What I need specifically to know is which platform is set, is it iOS or Android?
I have Appium driver like this.
self.driver = webdriver.Remote(config['server_url'], config['device_config'])
server_url = http://localhost:4723/wd/hub
device_config = samsung_galaxy_nexus_6_0
'samsung_galaxy_nexus_6_0': {
'app': '/Users/majdukovic/Documents/no_root_ux.apk',
'platformName': 'Android',
'platformVersion': '6.0',
'deviceName': 'Galaxy Nexus 6.0',
'avd': 'Galaxy_Nexus_6.0',
I need something like this
self.driver.get_capabilities('platformName')
Thanks.