java.lang.ClassCastException: com.sun.proxy.$Proxy6 cannot be cast to org.openqa.selenium.remote.RemoteWebElement

GitHub | asolntsev | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to use Appium TouchActions with Selenide

    GitHub | 8 months ago | asolntsev
    java.lang.ClassCastException: com.sun.proxy.$Proxy6 cannot be cast to org.openqa.selenium.remote.RemoteWebElement

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.proxy.$Proxy6 cannot be cast to org.openqa.selenium.remote.RemoteWebElement

      at io.appium.java_client.TouchAction.longPress()
    2. java-client
      TouchAction.longPress
      1. io.appium.java_client.TouchAction.longPress(TouchAction.java:207)
      1 frame
    3. com.codeborne
      CalculatorTest.testCalculator
      1. com.codeborne.CalculatorTest.testCalculator(CalculatorTest.java:65)
      1 frame