I must say, you have posted a very nice set of instructions.  I think I am
going to start from scratch and follow your instructions.  I'm pretty sure I
have executed all of the required steps but I will try it again tonight.
 Thank you very much.


On Thu, Aug 25, 2011 at 8:12 AM, Željko Filipin <
[email protected]> wrote:

> I have recently played with Chrome on Ubuntu. Follow my instructions and it
> should work:
>
>
> https://github.com/zeljkofilipin/watirbook/blob/master/installation/ubuntu-11-04.md
>
> Željko
>
> On Wed, Aug 24, 2011 at 4:15 PM, Kyle Korbel <[email protected]>wrote:
>
>> Well, it looks like */usr/bin/* is in the Ruby PATH.
>>
>> I don't need to run the JAVA standalone selenium server
>> (selenium-server-standalone-2.4.0.jar) do I?  Again, I don't on my windows
>> box which is working.
>>
>> Thank you for the help!
>> Kyle
>>
>>
>>
>> On Wed, Aug 24, 2011 at 8:24 AM, joedio <[email protected]> wrote:
>>
>>> Kyle,
>>>
>>> Looks like you've followed the info at:
>>> http://code.google.com/p/selenium/wiki/ChromeDriver
>>>
>>> Including:
>>> a)  Downloading the chrome driver for your OS
>>> b)  Installed it in a location on the file system that is in the OS
>>> search path
>>>    (e.g. /usr/bin/)
>>>
>>> See if /usr/bin is in the PATH used by ruby
>>>   puts ENV["PATH"]
>>>
>>> I ran into a situation on OSX where it was not.
>>> I set the PATH variable used by Ruby in my script to include /usr/bin
>>> on a line in the script before it started my chrome browser.
>>>
>>> Joe
>>>
>>>
>>> On Aug 23, 10:12 pm, Kyle Korbel <[email protected]> wrote:
>>> > Hello all,
>>> > I am having a small issue using the chrome browser with Ruby and the
>>> > Watir-webdriver.  Has any one else had this issue?  I cannot figure it
>>> out.
>>> >  I have it up and running on a Win 7 box but not on my Linux machines.
>>>  I
>>> > get the same error with both.  I listed it below.  One box is Ubuntu
>>> 11.04
>>> > and the other is 11.10a.  Also, firefox works fine with the
>>> watir-webdriver.
>>> >  I have the code commented out below but it works.  It is just chrome
>>> that
>>> > is not working.  Any ideas?
>>> >
>>> > I am using chrome browser v. 13.0.??? or something like that.  It is a
>>> > pretty new version.
>>> >
>>> > <===== code =====>
>>> >
>>> > require 'rubygems'
>>> > require 'watir-webdriver'
>>> >
>>> > b = Watir::Browser.new(:chrome)
>>> >
>>> > ##### this one works fine #####
>>> > # b = Watir::Browser.new(:firefox)
>>> >
>>> > <===== end code =====>
>>> >
>>> > <----- error recieved ----->
>>> >
>>> > Selenium::WebDriver::Error::UnhandledError: Could not find default
>>> Chrome
>>> > binary
>>> > Backtrace:
>>> > base::debug::StackTrace::StackTrace() [0x809e79a]
>>> > webdriver::Error::Error() [0x807ffe5]
>>> > webdriver::Automation::Init() [0x809a8c6]
>>> > webdriver::Session::InitOnSessionThread() [0x808da8c]
>>> > RunnableMethod<>::Run() [0x808cf0f]
>>> > webdriver::Session::RunSessionTaskOnSessionThread() [0x808dc72]
>>> > RunnableMethod<>::Run() [0x808c7e1]
>>> > base::subtle::TaskClosureAdapter::Run() [0x80ad6f5]
>>> > base::internal::Invoker1<>::DoInvoke() [0x80b798e]
>>> > MessageLoop::RunTask() [0x80b961f]
>>> > MessageLoop::DeferOrRunPendingTask() [0x80b9b5c]
>>> > MessageLoop::DoWork() [0x80ba067]
>>> > base::MessagePumpDefault::Run() [0x80bd390]
>>> > MessageLoop::RunInternal() [0x80b80e4]
>>> > MessageLoop::Run() [0x80b814d]
>>> > base::Thread::Run() [0x80add8d]
>>> > base::Thread::ThreadMain() [0x80ae29e]
>>> > base::(anonymous namespace)::ThreadFunc() [0x80adb4c]
>>> > start_thread [0xcbed31]
>>> > 0x1b140ae
>>> >
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/response.rb:45:in
>>> > `assert_ok'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/response.rb:15:in
>>> > `initialize'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/http/common.rb:53:in
>>> > `new'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/http/common.rb:53:in
>>> > `create_response'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/http/default.rb:56:in
>>> > `request'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/http/common.rb:34:in
>>> > `call'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/bridge.rb:410:in
>>> > `raw_execute'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/bridge.rb:88:in
>>> > `create_session'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/remote/bridge.rb:68:in
>>> > `initialize'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/chrome/bridge.rb:44:in
>>> > `initialize'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/common/driver.rb:35:in
>>> > `new'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver/common/driver.rb:35:in
>>> > `for'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.4.0/lib/selenium/webdriver.rb:81:in
>>> > `for'
>>> > from
>>> >
>>> /usr/lib/ruby/gems/1.8/gems/watir-webdriver-0.3.1/lib/watir-webdriver/browser.rb:35:in
>>> > `initialize'
>>> > from (irb):3:in `new'
>>> > from (irb):3
>>> > from  :0irb(main):004:0> ^C
>>> >
>>> > Lastly, I do have a link to google-chrome in the /usr/bin/ folder
>>> >
>>> > -rwxr-xr-x 2 root root 3573 2011-08-03 14:35 google-chrome
>>> > -rwxrwxrwx 1 root root 18358264 2011-07-28 09:24 chromedriver
>>> > -rwxr-xr-x 2 root root     3573 2011-08-03 14:35 chromium-browser
>>> >
>>> > Kyle
>>>
>>> --
>>> Before posting, please read http://watir.com/support. In short: search
>>> before you ask, be nice.
>>>
>>> [email protected]
>>> http://groups.google.com/group/watir-general
>>> [email protected]<http://groups.google.com/group/[email protected]>
>>>
>>
>>  --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> [email protected]
>> http://groups.google.com/group/watir-general
>> [email protected]
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to