Search code examples
seleniumselenium-webdrivergeckodriver

geckodriver 0.15 does not work with Firefox 64-bit


I am using selenium Grid to run tests over windows virtual machines.

After updating to:

  1. geckodriver - v0.15
  2. selenium-server-standalone.jar - v3.3.1
  3. selenium webdriver - v3.3

My tests do not work on 64-bit version of Firefox (v52). I get following exception:

Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line (WARNING: The server did not provide any stacktrace information)

how can I fix this issue?


Solution

  • Replacing 32-bit geckodriver with 64-bit version worked for me.

    Another solution is to add the Firefox folder under Environment variable Path