You should choose browser Watir::Browser.new :chrome as an example вторник, 21 января 2014 г., 20:52:37 UTC+4 пользователь Mike Frank написал: > > Hi, > > I am new to Watir, and I can't seem to get a browser window to come up. > > Here is the input and output of what occurs when I send commands to IRB. > > irb(main):002:0> require 'watir-classic' > => true > irb(main):003:0> browser = Watir::Browser.new > NoMethodError: unknown property or method: `visible' > HRESULT error code:0x8007000e > Not enough storage is available to complete this operation. > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-4.0.1/lib/watir-classic/browser.rb:302:in > > `method_missing' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-4.0.1/lib/watir-classic/browser.rb:302:in > > `visible=' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-4.0.1/lib/watir-classic/browser.rb:570:in > > `initialize_options' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-4.0.1/lib/watir-classic/browser.rb:547:in > > `_new_window_init' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-4.0.1/lib/watir-classic/browser.rb:236:in > > `initialize' > from (irb):3:in `new' > from (irb):3 > from C:/Ruby193/bin/irb:12:in `<main>' > > It would be great if someone in the group could provide me with some > assistance. > > Thank you, > > Mike >
-- -- 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.
