title: How can I wait for page load in selenium before moving to another page? (C#)
body: <p>I am kinda new to selenium, basically, what I am trying to do is login to website1, wait until the page is fully loaded. And move to website2. 
  I don't want to use <code>Thread.Sleep()</code>  as you know this will make my UI unresponsive.
  How can I make that using selenium with c#.</p>
  
  <pre><code>        MyWebDriver.Navigate().GoToUrl(url1);
          MyWebDriver.FindElement(By.Name(Username_Input)).SendKeys(username);
          MyWebDriver.FindElement(By.Name(Password_Input)).SendKeys(password);
          MyWebDriver.FindElement(By.XPath(Log_in_Button)).Click();
          //wait untill the page is fully loaded then move to url2
          MyWebDriver.Navigate().GoToUrl(url2);
  </code></pre>
  
  <p>I found an answer which is using ExpectedConditions.ElementIsVisible but unfortunately I can't find ExpectedConditions in the new selenium version. </p>