title: geb geckodriver not working properly (launching multiple browser window)
body: <p>I want to use geb with multiple browsers, specifically with firefox. However I am getting the firefox launching multiple windows without inserting the url., and ultimately failing. However, I have had no problem with chrome. Chrome is working perfectly. I am using firefox 57.0.4 (32-Bit), geckodriver 0.20.1 and selenium 3.11.0.</p>
  
  <p>This is how I did the configuration for firefox(geckodriver) in the GebConfig.groovy file.</p>
  
  <pre><code>driver = {
          System.setProperty("webdriver.gecko.driver", "C:\\Data\\selenium\\geckodriver.exe")
          DesiredCapabilities capabilities = DesiredCapabilities.firefox()
          capabilities.setCapability("marionette", true);
           new FirefoxDriver(capabilities)
       }
  </code></pre>
  
  <p>I have also tried a simple configuration like this:</p>
  
  <pre><code>driver="org.openqa.selenium.firefox.FirefoxDriver"
  </code></pre>
  
  <p>They are all opening multiple new windows, specifically 9 new firefox windows all failing, before crashing. Below is the stack trace.</p>
  
  <pre><code>1524422284063   geckodriver INFO    geckodriver 0.20.1
  1524422284107   geckodriver INFO    Listening on 127.0.0.1:23600
  1524422284801   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.t9ACOIsvj903"
  1524422286509   Marionette  INFO    Enabled via --marionette
  [Parent 5248, Gecko_IOThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 6128, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 6128, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422290031   Marionette  INFO    Listening on port 53659
  1524422290543   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422291404   geckodriver INFO    geckodriver 0.20.1
  1524422291444   geckodriver INFO    Listening on 127.0.0.1:37977
  1524422291888   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.TDpwyZXqxyTB"
  1524422293344   Marionette  INFO    Enabled via --marionette
  [Parent 9756, Gecko_IOThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422296749   Marionette  INFO    Listening on port 60160
  1524422297189   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422298143   geckodriver INFO    geckodriver 0.20.1
  1524422298191   geckodriver INFO    Listening on 127.0.0.1:32782
  1524422298377   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.yBcRA1dKXoGT"
  1524422299521   Marionette  INFO    Enabled via --marionette
  [Child 16340, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422302872   Marionette  INFO    Listening on port 63356
  1524422303045   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422303852   geckodriver INFO    geckodriver 0.20.1
  1524422303895   geckodriver INFO    Listening on 127.0.0.1:19586
  1524422304228   mozrunner::runner   INFO    Running command: "C:\\Program  
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.9ev5FY0xc1i7"
  1524422305543   Marionette  INFO    Enabled via --marionette
  [GFX1-]: Could not get a DXGI adapter
  [GFX1-]: Could not get a DXGI adapter
  [Child 14868, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 14868, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422310032   Marionette  INFO    Listening on port 64844
  [GFX1-]: Could not get a DXGI adapter
  1524422310604   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422321813   geckodriver INFO    geckodriver 0.20.1
  1524422321858   geckodriver INFO    Listening on 127.0.0.1:26836
  1524422322191   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.ibDRBSonhkXz"
  1524422323777   Marionette  INFO    Enabled via --marionette
  [GFX1-]: Could not get a DXGI adapter
  [GFX1-]: ClientLayerManager::BeginTransaction with IPC channel down. GPU 
  process may have died.
  [Parent 10436, Gecko_IOThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 16792, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 16792, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [GFX1-]: Could not get a DXGI adapter
  1524422327647   Marionette  INFO    Listening on port 49671
  1524422327909   Marionette  DEBUG   Register listener.js for window 
  4294967297
  [GFX1-]: Could not get a DXGI adapter
  1524422328854   geckodriver INFO    geckodriver 0.20.1
  1524422328899   geckodriver INFO    Listening on 127.0.0.1:41041
  1524422329094   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.nF37Bcb1rsbM"
  1524422330408   Marionette  INFO    Enabled via --marionette
  [Parent 10360, Gecko_IOThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 12412, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 12412, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422335433   Marionette  INFO    Listening on port 55596
  1524422335714   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422336611   geckodriver INFO    geckodriver 0.20.1
  1524422336657   geckodriver INFO    Listening on 127.0.0.1:44307
  1524422337007   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.BZK9Y7YfOaPw"
  1524422338399   Marionette  INFO    Enabled via --marionette
  [Child 5860, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 5860, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422348219   Marionette  INFO    Listening on port 65437
  1524422348734   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422350248   geckodriver INFO    geckodriver 0.20.1
  1524422350322   geckodriver INFO    Listening on 127.0.0.1:36341
  1524422350716   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.WMfmoDbCDTAT"
  1524422353025   Marionette  INFO    Enabled via --marionette
  [Child 10468, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  [Child 10468, Chrome_ChildThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422358314   Marionette  INFO    Listening on port 56794
  1524422358557   Marionette  DEBUG   Register listener.js for window 
  4294967297
  1524422359719   geckodriver INFO    geckodriver 0.20.1
  1524422359781   geckodriver INFO    Listening on 127.0.0.1:29271
  1524422360457   mozrunner::runner   INFO    Running command: "C:\\Program 
  Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" 
  "C:\\Users\\My user 
  name\\AppData\\Local\\Temp\\rust_mozprofile.L8VJnzbpCkrK"
  1524422362362   Marionette  INFO    Enabled via --marionette
  [Parent 6760, Gecko_IOThread] WARNING: pipe error: 109: file 
  z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 
  346
  1524422368470   Marionette  INFO    Listening on port 54188
  1524422368810   Marionette  DEBUG   Register listener.js for window 
  4294967297
  Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 102.379 sec 
  &lt;&lt;&lt; FAILURE! - in MyTestSuite
  mytestfunction(MyTestSuite)  Time elapsed: 29.182 sec  &lt;&lt;&lt; ERROR!
  geb.driver.DriverCreationException: failed to create driver from callback ' 
  script1524422266628441905114$_run_closure1@2643ed03'
  at MyTestSuite.mytestfunction(MyTestSuite.groovy:25)
  Caused by: org.openqa.selenium.SessionNotCreatedException: 
  Unable to create new remote session. desired capabilities = Capabilities 
  [{marionette=true, browserName=firefox, moz:firefoxOptions= 
  {binary=Optional.empty, args=[], legacy=null, logLevel=null, prefs={}, 
  profile=null}, version=, platform=ANY}], required capabilities = 
  Capabilities [{moz:firefoxOptions={binary=Optional.empty, args=[], 
  legacy=null, logLevel=null, prefs={}, profile=null}}]
  Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 
  09:10:29 +0000'
  System info: host: 'Hostname', ip: 'xxx.xxx.xx.xx', os.name: 'Windows 7', 
  os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_144'
  Driver info: driver.version: FirefoxDriver
  </code></pre>
  
  <p>I am confused right now because sofar all possible solutions on the forum are not working. </p>
  
  <p>Here is the GebConfig.groovy file:</p>
  
  <pre><code>import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.openqa.selenium.firefox.FirefoxOptions;
  import org.openqa.selenium.os.ExecutableFinder
  import org.openqa.selenium.remote.CapabilityType;
  import org.openqa.selenium.remote.DesiredCapabilities;
  
   reportsDir = "target/geb-reports"
   driver = null
  
      driver = {
      System.setProperty("webdriver.gecko.driver", "D:\\eclipse-jee-workspace\\geb-example-maven\\drivers\\geckodriver.exe")
      DesiredCapabilities capabilities = DesiredCapabilities.firefox()
      capabilities.setCapability("marionette", true);
      new FirefoxDriver(capabilities)
   }
  
  
  
  
  baseUrl = "http://gebish.org"
  </code></pre>
  
  <p>This is the GebishOrgSpec .groovy file</p>
  
  <pre><code>import geb.spock.GebSpec
  
  class GebishOrgSpec extends GebSpec {
  
  def "can get to the current Book of Geb"() {
      when:
      to GebishOrgHomePage
  
      and:
      manualsMenu.open()
  
      then:
      manualsMenu.links[0].text().startsWith("current")
  
      when:
      manualsMenu.links[0].click()
  
      then:
      at TheBookOfGebPage
    }
  }
  </code></pre>
  
  <p>Here is the GebishOrgHomePage.groovy file</p>
  
  <pre><code>  import geb.Page
  
    class GebishOrgHomePage extends Page {
  
     static at = { title == "Geb - Very Groovy Browser Automation" }
  
   static content = {
      manualsMenu { module(ManualsMenuModule) }
   }
  </code></pre>
  
  <p>}</p>
  
  <p>Here is the ManualsMenuModule.groovy </p>
  
  <pre><code>import geb.Module
  
   class ManualsMenuModule extends Module {
    static content = {
      toggle { $("div.menu a.manuals") }
      linksContainer { $("#manuals-menu") }
      links { linksContainer.find("a") }
  }
  
  void open() {
      toggle.click()
      waitFor { !linksContainer.hasClass("animating") }
   }
  }
  </code></pre>
  
  <p>Here is the TheBookOfGebPage.groovy</p>
  
  <pre><code>import geb.Page
  
  class TheBookOfGebPage extends Page {
  
  static at = { title.startsWith("The Book Of Geb") }
  }
  </code></pre>
  
  <p>Here is the pom</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0                       
  http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;org.gebish.example&lt;/groupId&gt;
  &lt;artifactId&gt;geb-maven-example&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;version&gt;1&lt;/version&gt;
   &lt;name&gt;Geb Maven Example&lt;/name&gt;
   &lt;url&gt;http://gebish.org&lt;/url&gt;
   &lt;properties&gt;
   &lt;gebVersion&gt;1.1.1&lt;/gebVersion&gt;
   &lt;seleniumVersion&gt;3.3.1&lt;/seleniumVersion&gt;
   &lt;groovyVersion&gt;2.4.11&lt;/groovyVersion&gt;
   &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
   &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
   &lt;/properties&gt;
   &lt;dependencies&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
    &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
    &lt;version&gt;${groovyVersion}&lt;/version&gt;
   &lt;/dependency&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;junit&lt;/groupId&gt;
    &lt;artifactId&gt;junit&lt;/artifactId&gt;
    &lt;version&gt;4.12&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
  
   &lt;dependency&gt;
      &lt;groupId&gt;com.opencsv&lt;/groupId&gt;
      &lt;artifactId&gt;opencsv&lt;/artifactId&gt;
      &lt;version&gt;4.1&lt;/version&gt;
   &lt;/dependency&gt;
   &lt;!-- https://mvnrepository.com/artifact/org.apache.poi/poi --&gt;
   &lt;dependency&gt;
       &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
       &lt;artifactId&gt;poi&lt;/artifactId&gt;
       &lt;version&gt;3.9&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml --&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
      &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
      &lt;version&gt;3.9&lt;/version&gt;
   &lt;/dependency&gt;
   &lt;!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas --&gt;
  
   &lt;dependency&gt;
      &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
      &lt;artifactId&gt;poi-ooxml-schemas&lt;/artifactId&gt;
      &lt;version&gt;3.9&lt;/version&gt;
   &lt;/dependency&gt;
  
   &lt;!-- https://mvnrepository.com/artifact/org.apache.xmlbeans/xmlbeans --&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;org.apache.xmlbeans&lt;/groupId&gt;
      &lt;artifactId&gt;xmlbeans&lt;/artifactId&gt;
      &lt;version&gt;2.6.0&lt;/version&gt;
   &lt;/dependency&gt;
  
  
  
  
  
  
   &lt;dependency&gt;
    &lt;groupId&gt;org.spockframework&lt;/groupId&gt;
    &lt;artifactId&gt;spock-core&lt;/artifactId&gt;
    &lt;version&gt;1.0-groovy-2.4&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
    &lt;exclusions&gt;
      &lt;exclusion&gt;
        &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
        &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
      &lt;/exclusion&gt;
    &lt;/exclusions&gt;
   &lt;/dependency&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;org.gebish&lt;/groupId&gt;
    &lt;artifactId&gt;geb-spock&lt;/artifactId&gt;
    &lt;version&gt;${gebVersion}&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-chrome-driver&lt;/artifactId&gt;
    &lt;version&gt;${seleniumVersion}&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
   &lt;!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-remote-driver --&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
      &lt;artifactId&gt;selenium-firefox-driver&lt;/artifactId&gt;
      &lt;version&gt;${seleniumVersion}&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
   &lt;!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-ie-driver --&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
      &lt;artifactId&gt;selenium-ie-driver&lt;/artifactId&gt;
      &lt;version&gt;${seleniumVersion}&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
  
  
   &lt;dependency&gt;
    &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
    &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
    &lt;version&gt;3.5&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
   &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
  &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.19&lt;/version&gt;
      &lt;configuration&gt;
        &lt;includes&gt;
          &lt;include&gt;*Spec.*&lt;/include&gt;
        &lt;/includes&gt;
        &lt;systemPropertyVariables&gt;
          &lt;geb.build.reportsDir&gt;target/test-reports/geb&lt;/geb.build.reportsDir&gt;
        &lt;/systemPropertyVariables&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
      &lt;plugin&gt;
      &lt;groupId&gt;com.rimerosolutions.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;wrapper-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;0.0.4&lt;/version&gt;
      &lt;configuration&gt;
        &lt;mavenVersion&gt;3.3.3&lt;/mavenVersion&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.gmaven&lt;/groupId&gt;
      &lt;artifactId&gt;gmaven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.5&lt;/version&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;goals&gt;
            &lt;goal&gt;testCompile&lt;/goal&gt;
          &lt;/goals&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;dependencies&gt;
        &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
          &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
          &lt;version&gt;${groovyVersion}&lt;/version&gt;
        &lt;/dependency&gt;
      &lt;/dependencies&gt;
    &lt;/plugin&gt;
    &lt;plugin&gt;
    &lt;groupId&gt;com.github.webdriverextensions&lt;/groupId&gt;
    &lt;artifactId&gt;webdriverextensions-maven-plugin&lt;/artifactId&gt;
    &lt;version&gt;3.1.1&lt;/version&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;goals&gt;
          &lt;goal&gt;install-drivers&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
    &lt;configuration&gt;
      &lt;drivers&gt;
        &lt;driver&gt;
          &lt;name&gt;chromedriver&lt;/name&gt;
          &lt;version&gt;2.36&lt;/version&gt;
          &lt;platform&gt;windows&lt;/platform&gt;
        &lt;/driver&gt;
        &lt;!-- &lt;driver&gt;
          &lt;name&gt;chromedriver&lt;/name&gt;
          &lt;version&gt;2.36&lt;/version&gt;
          &lt;platform&gt;windows&lt;/platform&gt;
        &lt;/driver&gt;--&gt;
       &lt;!-- &lt;driver&gt;
          &lt;name&gt;geckodriver&lt;/name&gt;
          &lt;version&gt;0.14.0&lt;/version&gt;
          &lt;platform&gt;windows&lt;/platform&gt;
        &lt;/driver&gt;--&gt;
        &lt;driver&gt;
          &lt;name&gt;geckodriver&lt;/name&gt;
          &lt;version&gt;0.20.1&lt;/version&gt;
          &lt;platform&gt;windows&lt;/platform&gt;
        &lt;/driver&gt;
      &lt;/drivers&gt;
  
    &lt;/configuration&gt;
    &lt;/plugin&gt;
  &lt;/plugins&gt;
  &lt;pluginManagement&gt;
      &lt;plugins&gt;
          &lt;!--This plugin's configuration is used to store Eclipse m2e 
  settings only. It has no influence on the Maven build itself.--&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
              &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;lifecycleMappingMetadata&gt;
                      &lt;pluginExecutions&gt;
                          &lt;pluginExecution&gt;
                              &lt;pluginExecutionFilter&gt;
                                  &lt;groupId&gt;
                                      com.github.webdriverextensions
                                  &lt;/groupId&gt;
                                  &lt;artifactId&gt;
                                      webdriverextensions-maven-plugin
                                  &lt;/artifactId&gt;
                                  &lt;versionRange&gt;
                                      [3.1.1,)
                                  &lt;/versionRange&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;install-drivers&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/pluginExecutionFilter&gt;
                              &lt;action&gt;
                                  &lt;ignore&gt;&lt;/ignore&gt;
                              &lt;/action&gt;
                          &lt;/pluginExecution&gt;
                          &lt;pluginExecution&gt;
                              &lt;pluginExecutionFilter&gt;
                                  &lt;groupId&gt;
                                      org.codehaus.gmaven
                                  &lt;/groupId&gt;
                                  &lt;artifactId&gt;
                                      gmaven-plugin
                                  &lt;/artifactId&gt;
                                  &lt;versionRange&gt;[1.5,)&lt;/versionRange&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;testCompile&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/pluginExecutionFilter&gt;
                              &lt;action&gt;
                                  &lt;ignore&gt;&lt;/ignore&gt;
                              &lt;/action&gt;
                          &lt;/pluginExecution&gt;
                      &lt;/pluginExecutions&gt;
                  &lt;/lifecycleMappingMetadata&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/pluginManagement&gt;
  </code></pre>
  
  <p>
  `</p>