I\'ve started a Selenium project in C#. Trying to wait for page to finish loading up and only afterwards proceed to next action.
My code looks like this:
<
I usually use an explicit wait for this, and wait until an elements is visible, then proceed to the next action. This should look like this:
WebDriverWait waitForElement = new WebDriverWait(driver, TimeSpan.FromSeconds(5));
waitForElement.Until(ExpectedConditions.ElementIsVisible(By.Id("yourIDHere")));
More on Explicit waits here: Explicit waits Selenium C# and here WebDriver Explicit waits