You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ClassCastException: io.appium.java_client.android.AndroidDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen
at org.openqa.selenium.interactions.touch.TouchActions.<init>(TouchActions.java:38)
at stepdefinitions.Scenarios.i_longpress_contact(Scenarios.java:137)
at ✽.I longpress contact contact(src\test\resources\features\Contacts.feature:76)
Environment
java client build version or git revision if you use some shapshot: 7.0.0
Appium server version or git revision if you use some shapshot: appium@1.10.1
Desktop OS/version used to run Appium if necessary: Windows 10 Enterprise
Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: npm: '6.5.0'
Mobile platform/version under test: Android 7.1.1
Real device or emulator/simulator: Real Device Motorola Moto E4 Plus