Automation Question:

Do you know how to mouse hover an element in Selenium?

Automation Interview Question
Automation Interview Question

Answer:

Code to mouse hover over an element in Selenium:

Actions action = new Actions(driver);
WebElement element=driver.findElement(By.id("elementId"));
action.moveToElement(element).perform();


Previous QuestionNext Question
Tell us how do you get the width of the textbox?Do you know how to verify if the checkbox/radio is checked or not?