title: selenium webdriver function driver.get("string") does not respond because of window authentication popup
body: <p>I am using selenium 2.40 and java 6.</p>
  
  <p>I searched a lot for a solution for handling windows authentication popup window.</p>
  
  <p>I found some answers like using <code>Robot</code> ,<code>Alert</code> and <code>AutoIT</code>.</p>
  
  <p>But actually none of these are working for me because after the following line ,nothing is getting executed even println</p>
  
  <pre><code>  public class ViewStudentsPage {
    private WebDriver driver;
    private String baseUrl;
    private boolean acceptNextAlert = true;
    private StringBuffer verificationErrors = new StringBuffer();
  
    @Before
    public void setUp() throws Exception {
      driver = new FirefoxDriver();
      baseUrl = "http://stgmossfe01/";
      System.out.println("******************TEST***********1");
      driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
      System.out.println("******************TEST***********2");
  
    }
  
    @Test
    public void testViewStudentsPage() throws Exception {
  
          driver.get(baseUrl + "/Pages/default.aspx");
           System.out.println("******************TEST***********3");
           Robot robot;
           robot = new Robot();
  
           robot.delay(5000); 
           System.out.println("******************TEST***********4");
           robot.keyPress(KeyEvent.VK_A); 
           robot.keyPress(KeyEvent.VK_D); 
           robot.keyPress(KeyEvent.VK_M); 
           robot.keyPress(KeyEvent.VK_I); 
           robot.keyPress(KeyEvent.VK_N); 
  
           robot.delay(5000); 
  
           robot.keyPress(KeyEvent.VK_P);
           robot.keyPress(KeyEvent.VK_A);
           robot.keyPress(KeyEvent.VK_S); 
           robot.keyRelease(KeyEvent.VK_S); 
           robot.keyRelease(KeyEvent.VK_W); 
           robot.keyRelease(KeyEvent.VK_O); 
           robot.keyRelease(KeyEvent.VK_R); 
           robot.keyRelease(KeyEvent.VK_D);    
  
           robot.delay(5000); 
  
           robot.keyPress(KeyEvent.VK_ENTER); 
           robot.keyRelease(KeyEvent.VK_ENTER);
           System.out.println("******************TEST***********5");
  
      driver.findElement(By.cssSelector("a.MenuTasks &gt; span")).click();
      // ERROR: Caught exception [ERROR: Unsupported command [mouseOver | xpath=/html/body/form/div[12]/div/div/div/div[2]/ul/li[2]/a/span | ]]
      // ERROR: Caught exception [ERROR: Unsupported command [mouseOver | xpath=/html/body/form/div[12]/div/div/div/div[2]/ul/li[2]/ul/li[3]/span | ]]
      driver.findElement(By.xpath("/html/body/form/div[12]/div/div/div/div[2]/ul/li[2]/ul/li[3]/ul/li[3]/a")).click();
    }
  </code></pre>
  
  <p>The driver never responds and i cannot do any further action.</p>
  
  <p>Any ideas??</p>
  
  <p>Thanks in Advance</p>