title: Bring the Firefox Browser to Front using selenium Java (Mac OSX)
body: <p>I am using three instances of fire fox driver for automation.I need to bring current active firefox browser into front, Because I am using some robo classes for some opertation. I had tried java script alert for google chrome in mac ( same operation) and its worked fine. In windows used user32 lib. In the case of firefox mac its showing the alert in background but the web page is not come into front.  </p>
  
  <pre><code>((JavascriptExecutor)this.webDriver).executeScript("alert('Test')");
  this.webDriver.switchTo().alert().accept();
  </code></pre>
  
  <p>The above code I used for chrome in Mac. Same code is working and showing alert for firefox but the window is not coming to front.</p>
  
  <p>Please suggest if there any other method for doing the same in firefox.</p>