title: Selenium Webdriver, C# output to console after opening driver
body: <p>Hi I am using Selenium for the first time and I was doing the following code. It runs fine but after opening firefox it wont output to console as the code says it should it will do all of it after all the steps in the code are complete.</p>
  
  <p>So my question is how do I make that text output to console while its actually running the step?</p>
  
  <pre><code>        var ProxyIP = "xxx.xxx.xx.xxx:80";
  
          RtbConsole.AppendText("Setting Up Firefox\n");
  
          //Firefox driver + proxy setup
          FirefoxProfile profile = new FirefoxProfile();
          String PROXY = ProxyIP;
          OpenQA.Selenium.Proxy proxy = new OpenQA.Selenium.Proxy();
          proxy.HttpProxy = PROXY;
          proxy.FtpProxy = PROXY;
          proxy.SslProxy = PROXY;
          profile.SetProxyPreferences(proxy);
  
          RtbConsole.AppendText("Launching Firefox\n");
          FirefoxDriver driver = new FirefoxDriver(profile);
  
          RtbConsole.AppendText("Navigating to http://whatsmyip.net/ \n");
          driver.Navigate().GoToUrl("http://whatsmyip.net/");
  
  
          IWebElement ip = driver.FindElement(By.XPath("/html/body/div/div/h1/span"));
          var myIP = ip.Text;
  
          RtbConsole.AppendText("Checking IP for Proxy\n");
          if (ProxyIP == myIP + ":80") {
              RtbConsole.AppendText("Proxy Test: Success\n");
          } else {
              RtbConsole.AppendText("Proxy Test: Failed\n");
          }
  
          //Close the browser
          driver.Quit();
  </code></pre>