galenframework / galen

Layout and functional testing framework for websites
http://galenframework.com
1.41k stars 163 forks source link

Galen specs are failing in iOS devices as page is getting scrolled #656

Open prajnakotian opened 3 years ago

prajnakotian commented 3 years ago

In IOS devices with safari browser in BrowserStack, page is getting scrolled to find the elements which are down the page, due to scrolling the scripts are getting failed. Video and screenshot attached.

Also the position of the elements in the screenshot is also changed.

I am not sure if this is an issue with BrowserStack or Galen framework. Because, there is a Run JavaScript command and i am suspecting that due to which page is getting scrolled, but the same command is used in android, without scrolling, its working fine in android

iOSScrolling1 iOSScrolling2

video-996b2b451b61f502c2628450995d2ddb062a1146.zip