waliarubal / YoutubeTools

A tool to allow one to increase watch hours on a YouTube video.
MIT License
16 stars 2 forks source link

help me error. #2

Open axen1 opened 8 months ago

axen1 commented 8 months ago

return new WebDriverWait(_driver, waitTime) .Until(driver => driver.FindElement(By.XPath(xPath)));

In this case it gave an error.

waliarubal commented 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.

axen1 commented 8 months ago

Hi error again image

waliarubal commented 8 months ago

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.