Skip to content

6.0.0-BETA3 - PLATFORM_NAME cannot be resolved #844

@telangn

Description

@telangn

Description

@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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions