Skip to content

5.0.0-BETA2: ClassCastException: WebElement -> IOSElement #567

Description

@amedvedjev

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions