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

GitHub | asolntsev | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unable to use Appium TouchActions with Selenide

    GitHub | 10 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