title: Alert box is not visible in firefox but Alert box is visible in chrome browser
body: <p>Im using firefox v42 and selenium 2.47.0 .Manually alert box is visible in firefox browser but in automation is not visible.Alert box is also visible in chrome browser.I used firefox profile and also default browser both are not working .</p>
  
  <pre><code>    Webdriver driver =  new FirefoxDriver();
      driver.get("");
      driver.manage().window().maximize();
      driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);
      driver.findElement(By.id("username")).sendKeys("897PAN0301");
      driver.findElement(By.id("password")).sendKeys("86VPKg");
      driver.findElement(By.id("submitButton")).click();
      driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);
      WebElement email = driver.findElement(By.id("emailId"));
  
      email.clear();
      Alert alert = driver.switchTo().alert();
      alert.accept();
      email.sendKeys("hello@gmai");
      WebElement agree = driver.findelement(By.id("agreement"))
      agree.click();
      alert.accept();//This alert is not working in automation but this alert is working manually in firefox v42 and also in chrome browser 
  </code></pre>