Referencing this discussion: Vertical Scroll down and scroll up in Selenium WebDriver with java
My understanding is that using scroll(xpos, ypos)
requires the following:
- A positive value for scrolling down
- A negative value for scrolling up
However, isn't it true that in the Cartesian Plane, downward movement corresponds to a negative value on the y-axis? https://i.sstatic.net/j3jY9.png
If anyone could provide clarification, I would greatly appreciate it. Thank you!