I'm using Selenium with Java and ChromeDriver to run few scripts on a website. I want to scroll the driver or the page to an specific element located on the page. It might be visible. I understand that with a JavascripExecutor it's possible, but so far the way I'm doing it I can only scroll certain "spaces".
Here is what I have:
jse.executeScript("window.scrollBy(0,250)", "");