Naveen Chhaniwal
Naveen Chhaniwal

Reputation: 704

While creating selenium script for android browser, why this error showing?

Why this error is showing? Why i am getting this error. which library file should i use to resolve this error.

Upvotes: 0

Views: 123

Answers (1)

Andrew Luo
Andrew Luo

Reputation: 927

Looks like you don't have the selenium-android-driver jar. But the Android driver has been replaced by selendriod. Instead you should do:

WebDriver driver = new RemoteWebDriver(DesiredCapabilities.android());

Upvotes: 2

Related Questions