title: Alert/Confirm/popup handling in C# Selenium
body: <p>I've searched at length for this, and none of the responses seem to apply
  to quite what I'm seeing. We are using Selenium with C#</p>
  
  <p>The problem is the inability to control alerts -- I think because they
  disappear too quickly:</p>
  
  <p>1) alerts/confirms appear on screen and then immediately disappear(but the alert doesn't disappear during manual execution), and</p>
  
  <p>2) this causes an inability to be able to control the alert/confirm. I try
  using SwitchTo().Alert().Accept() etc. but the program errors out saying no
  alert is present, because it only appears for an instant then disappears.</p>
  
  <p>Is there a way to make the alerts stay on screen and then let the program
  continue execution so I can then use SwitchTo().Alert()?</p>