Im using Seleniumwith Javaand ChromeDriverto run multiple scripts on a website. I want to scroll the driver or page to a specific item located on the page. It can be seen. I understand that with JavaScripExecutorMaybe, but so far, as I do this, I can only scroll through certain “spaces”. Here is what I have:
jse.executeScript("window.scrollBy(0,250)", "");
source
share