title: How to handle login pop up window using Selenium WebDriver Java? Is there a way to inspect pop up using firebug
body: <ol>
  <li>I am using eclipse JAVA.</li>
  <li><p>When I execute the below code:</p>
  
  <pre><code>public class dbscbg {
  public static void main(String[] args)
  {
     WebDriver driver = new FirefoxDriver();
     driver.get("http://ip/link");                                             
  }
  </code></pre>
  
  <p>Authentication pop is seen.</p></li>
  <li><p>How to handle this? </p></li>
  <li>Is there a way to inspect pop up using firebug?</li>
  <li>Looked up stackoverflow with the same query but did not understand how can pass username and password via URL.</li>
  <li>Tried below piece of code. Does not work for me.
  <code>driver.switchTo().alert().sendKeys("fsdf");</code></li>
  </ol>