Posts

Showing posts with the label Mouse over in selenium web driver

Clicking a web element on mouse-over

Below is the sample code which helps for mouseover in selenium webdriver public void mouseover(String x){      WebElement wel = driver.findElement(By.id(x)); System.out.println(":::::::::: String the id is :"+x); Actions builder = new Actions(driver); builder.moveToElement(wel).click(wel); builder.perform(); }