'Appium desktop keep on asking for “platformName” capability even if it is added
I am using Appium Desktop app. After adding all the capabilities. When I Start session, I got an error "An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability" Screenshot
Solution 1:[1]
Like Pankaj Mishra say, it is really. The APPIUM Desktop UI have some bugs and the only way to solve this problem it's typing the capibilities directly in the fields and never copy paste or edit like a JSON format.
Screenshot of the correct way to do the configuration
Solution 2:[2]
APPIUM Desktop UI have some bugs as a result you get this error even if the capabilties are present. You can refer Here to avoid above issue.
Solution 3:[3]
Based on your screenshot, you made a spelling mistake:
flatformName: android
flatformVersion: 8.1
You need to fix f
to p
and it will work perfectly for you!
Solution 4:[4]
Make sure you enter "platformName". Not "platformName ". Can you see the difference? Second one has a hidden space which could often happen when you copy-past the capability name.
Solution 5:[5]
make you've write correct words "platformName:" and check your json representation.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | EstevaoLuis |
Solution 2 | pankaj mishra |
Solution 3 | dmle |
Solution 4 | kivindra de silva |
Solution 5 | Aulia Balqis |