As someone new to Java Script and Protractor/Selenium testing, I am looking to explore a specific functionality.
I am eager to test out the in-page auto scroll feature using Protractor.
My initial idea was to use isDisplayed()).toBe(false);
, but I realize that this might not fully achieve my goal as the element would still exist on the page, albeit invisibly.
Is there a way to test whether clicking on an element at the top of the page actually triggers the browser to move to a new position?
I am keen on either confirming that the element is not visible in the browser window or verifying that the page successfully scrolled to a specific location.
Your assistance is greatly appreciated!