I am developing a script and need to scroll down the list which is in the middle of the screen with another div tag.
I have used JavaScript like below but it could not help
Execute Javascript window.scrollTo(800,800)
Execute Javascript ${element}.scrollTop = ${element}.scrollHeight
Where ${element} is the inner div's locator and my screen resolution is 1600x900
Please help me
Aucun commentaire:
Enregistrer un commentaire