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