I see that this issue has been discussed before but I haven't seen any
solutions. I see that a fix might be available
http://jira.openqa.org/browse/SRC-717
But I downloaded the latest google chrome beta from
http://www.google.com/intl/en/landing/chrome/beta/
but I still get the same error:
/opt/local/lib/ruby/gems/1.9.1/gems/selenium-client-1.2.18/lib/
selenium/client/protocol.rb:13:in `block in remote_control_command':
Failed to start new browser session: java.lang.RuntimeException:
Google Chrome could not be found in the path! (Selenium::CommandError)
Please add the directory containing ''chrome.exe' or 'google-chrome''
to your PATH environment
variable, or explicitly specify a path to Google Chrome like this:
*googlechrome/blah/blah/chrome.exe
I tried creating a link in a directory already in my path using
sudo ln -s "/Applications/Google Chrome.app/Contents/MacOS/Google
Chrome" google-chrome
But when I execute via this link I get:
[1101/134508:FATAL:/b/slave/chrome-official-mac/build/src/base/
mac_util.mm(195)] Check failed: bundle. Failed to load the bundle at /
Users/mikejramsey/Versions/7.0.517.41/Google Chrome
Framework.framework
Trace/BPT trap
Has anybody managed to workaround this problem? If so, how?
I am running
Ruby 1.9.1
gem selenium-client (1.2.18)
--Thank you,
--Mike Jr.