Open axen1 opened 8 months ago
Try updating the nuget packages and your local Chrome browser installation. Try running it after that and let me know if error persists.
Hi error again
I will have to take a look at it. Sometimes this happens but usually restarting the application after a few minutes fixes it. Seems to me YouTube might have changed its page structure which might have caused it.
return new WebDriverWait(_driver, waitTime) .Until(driver => driver.FindElement(By.XPath(xPath)));
In this case it gave an error.