Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8742429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:29:53+00:00 2026-06-13T11:29:53+00:00

Problem My selenium functional test is failing when I run using the Chrome driver,

  • 0

Problem

My selenium functional test is failing when I run using the Chrome driver, but works when using Firefox.

My Environment

  1. Mac OS X Mountain Lion
  2. Chrome Version 22.0.1229.94
  3. Build info: version: ‘2.2.1’, revision: ‘16551’, time: ‘2012-04-11 21:42:35’
  4. System info: os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.8.2’, java.version: ‘1.6.0_35’
    Driver info: driver.version: ChromeDriver

Steps to Reproduce

The exception occurs when using the Geb Grails example application from github.

Run the application using the Chrome driver:

grails -Dgeb.env=chrome test-app

The tests will begin to run, an instance of Chrome is successfully opened, but nothing happens afterwards. The Chrome browser isn’t directed to a url, it just sits there with a silly grin on its face. The below error is thrown in the console after a 15 second (or so) timeout.

The Error

Caused by: org.openqa.selenium.WebDriverException: Unable to either launch or connect to Chrome. 
Please check that ChromeDriver is up-to-date. Using Chrome binary 
at: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome 

My Debugging Steps

  1. Per this stackoverflow post, I’ve attempted various different versions of the driver with no effect.
  2. The tests are successful when using the Firefox driver (sadly, I must test with Chrome).
  3. Attempt to use the latest beta of chrome Version 23.0.1271.40 beta. no luck.
  4. Upgraded the geb and selenium versions in the test app to latest and greatest: def gebVersion = "0.7.2" def seleniumVersion = "2.25.0"

Humble Thanks Section

Thanks for taking a look at this. I’d love to adopt geb, but its been an uphill battle to date.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:29:54+00:00Added an answer on June 13, 2026 at 11:29 am

    Might be a silly answer but did you install the chrome driver? http://code.google.com/p/selenium/wiki/ChromeDriver

    For Firefox, you don’t need to install a driver but for Chrome and IE, you do. That may be why your tests are running using FF and not chrome.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to record a functional test using the selenium IDE plugin for Firefox
I am trying to test an inplace editor using Cucumber/Capybara/Selenium stack, but my problem
I'm using django-selenium to test my Django 1.3 project. The problem is, tests fail
I've run into a weird problem yesterday. I am using selenium-rc along with C#
I've got a problem with parallel starting tests, using Selenium RC+SeleniumGrid+TestNG. While I run
I have a problem to run selenium tests with separate django command. Default test
I run GWT OBF (thus this isn't the problem), but when I use Selenium
Im doing webtest using selenium Webdriver in C#. But I'm having a problem where
I'm using Selenium's webdriver, but I've hit upon a problem. I'm using KnockoutJS to
I'm using selenium to run some functional tests on the UI for our current

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.