Below is the code:
JavascriptExecutor jse = (JavascriptExecutor)driver;
WebElement blueray = driver.findElement(By.xpath("Xpath ID")]"));
jse.executeScript("scroll(0,250)", blueray);
Below is the error:
The method executeScript(String, Object[]) in the type JavascriptExecutor is not applicable for the arguments (String, WebElement)