6.0.0-BETA3 - PLATFORM_NAME cannot be resolved
See original GitHub issueDescription
@SrinivasanTarget @mykola-mokhnach @TikhomirovSergey @jlipps @saikrishna321
Going from BETA2 to BETA3, using the code below is giving me an issue, whereas in BETA2 it did not -
dc.setCapability(MobileCapabilityType.PLATFORM_NAME, Platform.ANDROID);
PLATFORM_NAME cannot be resolved is what my IDE is throwing now.
My only options are PLATFORM or PLATFORM_VERSION. I have tried them and I get a console error that PLATFORM_NAME should be used and it couldn’t start. But I cannot choose it when programming. Which one do I choose now?
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 63 milliseconds
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'ninad-Gazelle', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.13.0-36-generic', java.version: '1.8.0_151'
Driver info: driver.version: AppiumDriver
Also, What is the argument I pass as the Android OS? (instead of Platform.ANDROID)
Environment
io.appium - java-client - 6.0.0-BETA3 Ubuntu 16 Eclipse IDE
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Returned value cannot be converted to WebElement: {element ...
Update your java client to 6.0.0-BETA3 in maven dependency POM.XML file. It worked for me as 6.0.0-BETA3 comes with W3C compliance.
Read more >AppiumDriver (java-client API) - javadoc.io
Changes platform name if it is not set and returns merged capabilities. org.openqa.selenium.remote.Response, execute(java.lang.String command).
Read more >Can't launch .ipa on real device by appium v1.6.0-beta3 ...
Hello, colleagues! I am using iPhone 5s (iOS 9.3.2). Enable UI Automation on device. As for computer - OSX Sierra 10.12.2, Xcode 7.1.3,...
Read more >View maven: io.appium:java-client - Debricked
Get an overview of maven: io.appium:java-client. See weekly downloads, latest versions and community scores in the Debricked Open Source ...
Read more >MvvmCross 6.0
Blog post & Migration Guide for v6 #2590 (nmilcoff). 6.0.0-beta3 (2018-02-14). Full Changelog. Fixed bugs: PluginLoaders not found for platform ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you so much! Everything works now! This issue can be closed. @TikhomirovSergey @saikrishna321
@telangn