Thanks for your quick feedback! gem install watir --pre
and try again with rc2. Jarmo On Tue, Sep 18, 2012 at 4:37 AM, Alister Scott <alister.sc...@gmail.com>wrote: > Fantastic work Jarmo! > > This will be big time when we have one command that works across all > platforms. > > I tried it on OSX and the gem installs correctly, but when I try to launch > a new browser without specifying a browser it complains (when it should > default to firefox according to your README). Using :firefox works fine. (I > am using watir-webdriver 0.6.1). > > > Als-MacBook-Air:minesweeper-robot alisterscott$ irb >> 1.9.3p194 :001 > require 'watir' >> => true >> 1.9.3p194 :002 > b = Watir::Browser.new >> ArgumentError: expected Symbol or Selenium::WebDriver::Driver, got >> NilClass >> from >> /Users/alisterscott/.rvm/gems/ruby-1.9.3-p194@minesweeper-robot/gems/watir-webdriver-0.6.1/lib/watir-webdriver/browser.rb:39:in >> `initialize' >> from >> /Users/alisterscott/.rvm/gems/ruby-1.9.3-p194@minesweeper-robot/gems/watir-4.0.0.rc1/lib/watir/loader.rb:16:in >> `new' >> from >> /Users/alisterscott/.rvm/gems/ruby-1.9.3-p194@minesweeper-robot/gems/watir-4.0.0.rc1/lib/watir/loader.rb:16:in >> `new' >> from (irb):2 >> from /Users/alisterscott/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in >> `<main>' >> 1.9.3p194 :003 > b = Watir::Browser.new :firefox >> => #<Watir::Browser:0x482564e843693ef4 url="about:blank" title=""> >> 1.9.3p194 :004 > quit >> >> > Thanks for this great work. > > Cheers, > Alister > > Alister Scott > Brisbane, Australia > Blog: http://watirmelon.com > LinkedIn: http://www.linkedin.com/in/alisterscott > > “Debt, no matter how creatively structured, is anathema to peace of mind.” > > ~ Ryan > Freitas<http://ryanfreitas.tumblr.com/post/968361763/35-lessons-in-35-years> > > On Tue, Sep 18, 2012 at 6:34 AM, Jarmo <jarm...@gmail.com> wrote: > >> Hello everyone! >> >> I'm happy to announce that Watir 4.0.rc1 has been released. >> >> Please install it with: >> gem install watir --pre >> >> Refer to the usage at the readme: >> https://github.com/watir/watir/blob/master/README.md >> >> All questions, comments or suggestions are welcome. >> >> PS! This gem detects automatically which driver to use (webdriver or >> classic), but still has a limitation of using one driver per Ruby process. >> I'm not even sure if using webdriver and classic in the same Ruby process >> will be possible in the future due to namespace collisions. >> >> With Best Regards, >> Jarmo Pertman >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development@rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development >
_______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development