how to use tap method instead of click method in appium?

90
April 26, 2022, at 02:50 AM

I'm trying to automate an android test in appium and I have selected the webdriver as in wd/hub for this purpose. However, the tap method there is virtually the click method as all the auto-recorded steps are generated as clicks instead of tap / touch. I've tried to import TouchActions from selenium using the following command

from selenium.webdriver.common.touch_actions import TouchActions

but python doesn't seem to recognize this command. I'm not sure if this command is deprecated. Any ideas anyone?

Thanks!

Rent Charter Buses Company
READ ALSO
Does assetlinks.json file for Android App Links have a size limit like the iOS counterpart?

Does assetlinks.json file for Android App Links have a size limit like the iOS counterpart?

In order to only allow authorized apps to open https links, Android has App Links, and iOS has Universal LinksIn both, one needs to upload a file, viz

95
gradle: Duplicate value for resources coming from multiple external libraries

gradle: Duplicate value for resources coming from multiple external libraries

I have a situation where I am trying to add two dependencies that have resources conflict

119
Caused by android.app.ForegroundServiceStartNotAllowedException startForegroundService() not allowed due to mAllowStartForeground false

Caused by android.app.ForegroundServiceStartNotAllowedException startForegroundService() not allowed due to mAllowStartForeground false

I have upgrade the Android SDK project 30 to 31Also i am using the the Android Beacon Library for scanning the the iBeacon

194
Capacitor App running only for the first time

Capacitor App running only for the first time

The first time I install my capacitor app on a device the app works correctlyBut if I close my app, and open again the app don’t work anymore and get stuck on the white screen forever

95