title: Blank white screenshots while taking screenshots with selenium webdriver in C#
body: <p>Following this <a href="https://stackoverflow.com/questions/3346017/best-way-to-take-screenshots-of-tests-in-selenium-2">SO post</a> I was able to take screenshots but they turned out to be just white. I tried couple of workarounds with no avail</p>
  
  <ol>
  <li>Tried using one monitor instead of usual two</li>
  <li>Used different image format</li>
  <li>Included System.Drawing reference even though I didn't an compiler error.</li>
  </ol>
  
  <p>Code </p>
  
  <blockquote>
    <p>Screenshot ss=((ITakesScreenshot)driver).GetScreenshot();<br>
    ss.SaveAsFile("test.png", System.Drawing.Imaging.ImageFormat.Png);</p>
  </blockquote>
  
  <p>What should be my next steps. I am using C# 4.0</p>