java.lang.ClassCastException: com.htmlhifive.pitalium.core.selenium.PtlAndroidDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen


Solutions on the web1

Solution icon of github
com.htmlhifive.pitalium.core.selenium.PtlAndroidDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen

Stack trace

java.lang.ClassCastException: com.htmlhifive.pitalium.core.selenium.PtlAndroidDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen
	at org.openqa.selenium.interactions.touch.TouchActions.<init>(TouchActions.java:38)

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.