5.0.0-BETA2: ClassCastException: WebElement -> IOSElement
See original GitHub issueDescription
Failed to cast WebElement into IOSElement. Worked with 5.0.0-BETA1.
Environment
- java client build version or git revision if you use some shapshot: 5.0.0-BETA2
- Appium server version or git revision if you use some shapshot: 1.6.4-beta
- Mobile platform/version under test: iOS
- Real device or emulator/simulator: Simulator
Code To Reproduce Issue [ Good To Have ]
((IOSElement) driver.findElement(MobileBy.className("XCUIElementTypePickerWheel"))).setValue(countryName);
Ecxeption stacktraces
java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebElement cannot be cast to io.appium.java_client.ios.IOSElement
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
ClassCastException with new Appium-java TouchActions
I am getting below error with new TouchActions class. JDK version: 1.8; Appium: 1.7.2; appium.java-client.version: 6.0.0-BETA2; selenium.java ...
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 >Java Client: Java Language Binding for Writing Appium Tests
In this tutorial, we will share a repository of Java Client: Java Language Binding for Writing Appium Tests, conforms to Mobile JSON Wire...
Read more >The java-client from appium - GithubHelp
#1713; Switch unit tests to run on Junit 5 Jupiter Platform. ... #928; [BUG FIX] Fix class cast exception on getting battery info....
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
@amedvedjev @derunewige The BET3 was published. Soon it should be available and then you can check it.
@amedvedjev We (I am and @SrinivasanTarget ) are investigating the problem. It may be the critical server side issue that have to be fixed on the server-side. We will update you soon.