Skip to content

Commit c5e6c95

Browse files
authored
use capabilities instead of desired_capabilities (#414)
...to support selenium 4.17.2 and above
1 parent d9c922e commit c5e6c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AppiumLibrary/keywords/_applicationmanagement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def _current_application(self):
471471

472472
def _get_platform(self):
473473
try:
474-
platform_name = self._current_application().desired_capabilities['platformName']
474+
platform_name = self._current_application().capabilities['platformName']
475475
except Exception as e:
476476
raise e
477477
return platform_name.lower()

0 commit comments

Comments
 (0)