New to this platform I’m a beginner learning with c# but I have a problem on a , I identify the id but it won’t click on it. I was told to use wait which really didn’t work. I’ve used this wait and other ones as listed below:

WebDriverWait waits = new WebDriverWait(driver, TimeSpan.FromSeconds(10));
waits.Until(ExpectedConditions.ElementIsVisible(By.Id("LinkToHomepage"))).Click();

driver.FindElement(By.ClassName("homepageLink")).Click();
var waits = new WebDriverWait(driver, TimeSpan.FromSeconds(10));


IWebElement input = driver.FindElement(By.ClassName("homeLink"));
new Actions(driver).MoveToElement(input).Build().Perform();



Source link https://sqa.stackexchange.com/questions/35516/clicking-flipping-image-in-selenium-webdriver-using-c

LEAVE A REPLY

Please enter your comment!
Please enter your name here