Answer the question
In order to leave comments, you need to log in
Why is Selenium for c# slow?
There is this code
public static IWebElement GetButton(this WebDriverWait webDriverWait, string xpath)
{
var button = webDriverWait.Until(ExpectedConditions.PresenceOfAllElementsLocatedBy(By.XPath(xpath)))
.FirstOrDefault();
return button;
}
webDriverWait.GetButton("//a[@class=\"button projectDetails\"][text()=\"text\"]").Click();
Answer the question
In order to leave comments, you need to log in
The question is removed. The reason was in the original project on the Net Core platform.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question