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)
It is unclear for us exactly what you are trying to scroll but if your trying to scroll the window then use below code
If you want to view the blueRay web element in the page the you need to use below code
If this does not help then please update your question with the exact issue that your facing and elaborate that issue so that we can assist you to resolve this issue quickly my friend :)