Dah I see you did that too.

Try gem cleanup
Followed by gem update

Do you have the Ruby Dev Kit installed?




On May 3, 12:39 pm, Super Kevy <[email protected]> wrote:
> OK.   I see you had that
> Maybe try downgrading the chrome driver to
> chromedriver_win_26.0.1383.0.zip
>
> On May 3, 12:06 pm, Super Kevy <[email protected]> wrote:
>
>
>
>
>
>
>
> > Are there 2 colons in the browser call
>
> > browser  = Watir::Browser.new(:chrome, :switches => %w[--start-
> > maximized] )
>
> > Do you see in the log stream?
> > Started ChromeDriver
> > port=28999
> > version=22.0.1203.0b
>
> > On May 3, 11:59 am, Anne <[email protected]> wrote:
>
> > > I'm installing ruby/watir/watir-webdriver on a new machine with the hopes
> > > of updating my existing automation to run on ie, ff, chrome, and opera.
> > > I have ie and ff working and am struggling with getting chrome working.
>
> > > I downloaded chromedriver and put it in the ruby/bin directory.  When I 
> > > try
> > > to open chrome using irb, I get...
>
> > >      C:\Ruby>irb
> > >      DL is deprecated, please use Fiddle
> > >      irb(main):001:0> require "watir-webdriver"
> > >      => true
> > >      irb(main):002:0> browser = Watir::Browser.new :chrome
> > >      ChildProcess::LaunchError: Unknown error (Windows says "The operation
> > > completed successfully.", but it did not.)
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/childprocess-0.3.9/lib/childproces
> > >  s/windows/process_builder.rb:87:in
> > > `create_process'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/childprocess-0.3.9/lib/childproces
> > >  s/windows/process_builder.rb:34:in
> > > `start'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/childprocess-0.3.9/lib/childproces
> > >  s/windows/process.rb:63:in
> > > `launch_process'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/childprocess-0.3.9/lib/childproces
> > >  s/abstract_process.rb:72:in
> > > `start'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.32.1/lib/sele
> > >  nium/webdriver/chrome/service.rb:47:in
> > > `start'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.32.1/lib/sele
> > >  nium/webdriver/chrome/bridge.rb:15:in
> > > `initialize'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.32.1/lib/sele
> > >  nium/webdriver/common/driver.rb:37:in
> > > `new'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.32.1/lib/sele
> > >  nium/webdriver/common/driver.rb:37:in
> > > `for'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.32.1/lib/sele
> > >  nium/webdriver.rb:67:in
> > > `for'
> > >         from
> > > C:/Ruby/Ruby200/lib/ruby/gems/2.0.0/gems/watir-webdriver-0.6.4/lib/watir-we
> > >  bdriver/browser.rb:46:in
> > > `initialize'
> > >         from (irb):2:in `new'
> > >         from (irb):2
> > >         from C:/Ruby/Ruby200/bin/irb:12:in `<main>'
> > > irb(main):003:0>
>
> > > I've searched for this error message but the only thing I've found are
> > > comments stating that there could be an error in chromedriver.  Chrome
> > > never comes up.
>
> > > The version of chromedriver I downloaded is: chromedriver_win_26.0.1383.0
> > > because I read somewhere that chromedriver2_win32_0.8.zip
> > > <http://code.google.com/p/chromedriver/downloads/detail?name=chromedri...>wasn't
> > > ready.
>
> > > This is a list of the gems I have installed:
> > >      C:\Ruby>gem list
> > >      *** LOCAL GEMS ***
> > >      bigdecimal (1.2.0)
> > >      builder (3.2.0)
> > >      childprocess (0.3.9)
> > >      commonwatir (4.0.0)
> > >      ffi (1.8.1 x86-mingw32)
> > >      hoe (3.6.0)
> > >      io-console (0.4.2)
> > >      json (1.7.7)
> > >      mini_magick (3.5.0)
> > >      mini_portile (0.5.0)
> > >      minitest (4.3.2)
> > >      multi_json (1.7.2)
> > >      nokogiri (1.5.9 x86-ming
> > >      psych (2.0.0)
> > >      rake (0.9.6)
> > >      rautomation (0.9.1)
> > >      rdoc (4.0.0)
> > >      rubygems-update (2.0.3)
> > >      rubyzip (0.9.9)
> > >      s4t-utils (1.0.4)
> > >      selenium-webdriver (2.32
> > >      subexec (0.2.3)
> > >      test-unit (2.0.0.0)
> > >      user-choices (1.1.6.1)
> > >      watir (4.0.2 x86-mingw32
> > >      watir-classic (3.6.0)
> > >      watir-webdriver (0.6.4)
> > >      websocket (1.0.7)
> > >      win32-api (1.4.8 x86-min
> > >      win32-process (0.7.2)
> > >      win32screenshot (1.0.8)
> > >      windows-api (0.4.2)
> > >      windows-pr (1.2.2)
> > >      xml-simple (1.1.2)
>
> > > Anyone have any idea what I'm missing?
>
> > > Thanks in advance!
> > > Anne

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to