0
I automatized so that they were inserted email and password, and then clicked on "Login", until then your well, but the button that should be clicked after the login has not finished loading and Selenium accuses the following error: Openqa.Selenium.Nosuchelementexception.
I’m trying with Implicit and Explicit Wait but I’m not able to "force" this wait.
Details: I need to perform this wait without the command Thread.Sleep(MILISEGUNDOS);
I’m conducting the search for Xpath because the element does not have Id
Here’s the search model I’m currently using.
var btnSystem = new WebDriverWait(driver, TimeSpan.FromSeconds(15)).Until(drv => drv.FindElement(By.Xpath("/html/body/div/div/div[2]/div/div[2]/div/div[2]/div/a[8]/div")));
btnSystem.Click();
Thank you, I used the second form you suggested and it worked.
– D'Amico