Okay. I'll have to look that up. Thanks for the hint. I did install the official google chrome package and it did work with that.
On Sat, Aug 27, 2011 at 2:46 PM, Željko Filipin < [email protected]> wrote: > Jari said webdriver should be able to drive both chrome and chromium, there > is a setting, but I can not remember right now the name. > > > On Saturday, August 27, 2011, Kyle Korbel <[email protected]> wrote: > > Wow...this is a bit embarrassing but I only had the chromium-browser > installed which is different, I guess, than the offical chrome browser. I > didn't know there was a difference but now I do. > > > > I will install the offical google version of the chrome browser and try > again. > > > > > > > > On Thu, Aug 25, 2011 at 11:55 AM, Kyle Korbel <[email protected]> > wrote: > > > > 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() > > -- > 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]
