java.lang.ClassCastException

org.openqa.selenium.remote.RemoteWebElement cannot be cast to org.openqa.selenium.RenderedWebElement

Solutions on the web19038

  • via Google Groups by sunny sachdeva, 7 months ago
    org.openqa.selenium.remote.RemoteWebElement cannot be cast to org.openqa.selenium.RenderedWebElement
  • via Google Groups by Sasi kumar M, 6 months ago
    org.openqa.selenium.remote.RemoteWebElement cannot be cast to org.uiautomation.ios.client.uiamodels.impl.RemoteUIAWebView
  • org.openqa.selenium.remote.RemoteWebElement cannot be cast to io.appium.java_client.MobileElement
  • Stack trace

    • java.lang.ClassCastException: org.openqa.selenium.remote.RemoteWebElement cannot be cast to org.openqa.selenium.RenderedWebElement at com.googlecode.fightinglayoutbugs.DetectInvalidImageUrls.checkVisibleImgElements(DetectInvalidImageUrls.java:155) at com.googlecode.fightinglayoutbugs.DetectInvalidImageUrls.findLayoutBugsIn(DetectInvalidImageUrls.java:108) at com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:151) at se.visualTesting.main(visualTesting.java:24)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.