Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to hover mouse over an element in selenium

By using Actions class

WebElement element = driver.findElement(By.xpath("xpath"));
Actions action = new Actions(driver);
action.moveToElement(element).perform();
 
PREVIOUS NEXT
Tagged: #hover #mouse #element #selenium
ADD COMMENT
Topic
Name
2+6 =