Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOSX - selenium fails creating a new session #3304

Closed
emlloyd opened this issue Mar 26, 2015 · 3 comments
Closed

MacOSX - selenium fails creating a new session #3304

emlloyd opened this issue Mar 26, 2015 · 3 comments
Labels

Comments

@emlloyd
Copy link

emlloyd commented Mar 26, 2015

After our app has been updated to use V0.12 our selenium tests no longer work, the following is seen when the selenium server attempts to start a session:
Caused by: org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary

I have a workaround of renaming /node-webkit.app/Contents/MacOS/nwjs to /node-webkit.app/Contents/MacOS/node-webkit but I don't know what other side affects this could have?

I believe I have traced back the code to chrome/test/chromedriver/chrome/chrome_finder.cc in the chromium.src

Also created #37 against nwjs/chromium.src?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Paxa
Copy link

Paxa commented Mar 31, 2015

For now you can override chrome binary path.
How you run chromedriver?

You can add

chromeOptions: {
  binary: "/Applications/nwjs.app/Contents/MacOS/nwjs"
}

@Christywl
Copy link
Contributor

Is this issue still reproduced on the latest nwjs build?

@Christywl
Copy link
Contributor

close until there is more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants