Hi,
I am using below script to perform swipe on device, But when i run same script on second device which has diffrent resolution than first one, swipe behaves differently than first device. Is there any way i can make this script uniform to do swipe on all devices in same manner.
var swipeOpts = {
startX: 100,
startY: 750,
endX: 100,
endY: 30,
duration: 5
}
driver
.execute(“mobile: swipe”, [swipeOpts]).sleep(9000)
Thanks,
Lakshmi