If you're not getting any errors and browser is closed after click then what's the problem? You're saying in your code to explicitly close the browser after click. Or am i misunderstanding anything?
Jarmo On Thursday, August 30, 2012 6:21:20 AM UTC+3, Ernesto Cadario wrote: > > Hello, I have the same problem. Same config for all zones, explorer 9, > selenium-webdriver-2.25.0, watir-webdriver-0.6.1, Ruby 1.8.7. Chrome and FF > works well, but IE doesn,t. > > This is my test: > > require 'rubygems' > require 'watir-webdriver' > > b = Watir::Browser.new :ie > b.goto 'www.facebook.com' > b.text_field(:id => 'email').set 'user' > b.text_field(:id => 'pass').set 'pass' > b.button(:type => 'submit').click > b.text.include? 'some text' > b.close > > and this is the log from ruby: > > >ruby TestRuby2.rb > Started InternetExplorerDriver server (32-bit) > 2.25.3.0 > Listening on port 5555 > [WARNING] MultiJson is using the default adapter (ok_json). We recommend > loading a different JSON library to improve performance. > >Exit code: 0 > > When IE makes the click on the button, the server and browser close and > there are no errors. > > Somebody can help? > > Thanks! > > El martes, 17 de mayo de 2011 09:57:47 UTC-3, the_zonker escribió: >> >> Hi guys, >> >> My working environment is watir-webdriver 0.2.3 and watir-selenium >> 0.2.0. >> >> Working on automation of Web application I've faced with weird IE >> behavior - in one particular case IE doesn't click on button. Indeed I >> can see that browser moves focus on the button and press it but then >> nothing happens. I can't see that application in any way reacts on >> this pressing. >> >> To press button I use: >> browser.button(:value,"XXX").click >> >> >> I get no any errors, and I can found in RubyMine debugger that >> element is properly located and can flash it. >> And in the same case Firefox 3.6 works well. Also IE clicks well any >> other buttons on my page. >> >> The same issue is reproduced on the machine of my co-worker. >> >> I appreciate any help. >> >> Regards, Vadim >> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com