Selenium: actions.moveToElement.click not working Selenium: actions.moveToElement.click not working selenium selenium

Selenium: actions.moveToElement.click not working


Try combining all the action into one action as shown below and try again.

public class Helper {public static void scrollToElementAndClick(WebDriver driver, WebElement webelement){Actions actions = new Actions(driver);actions.moveToElement(webelement).click();action = action.build;action.perform();}

Also you can try JavascriptExecuter as shown below:

((JavascriptExecutor)driver).executeScript("arguments[0].click();", selectAddress); 

Also consider the possibility of the td containing some other element (input, link) which can be clicked(I dont know your html code).