Does your code work as expected with Chrome? The legacy Firefox driver will automatically close the alert if something raises an `UnhandledAlertError `, and so long as the error is rescued your code will timeout the way you describe. I'm not sure why the `#inspect` call would cause this.
I'd need to see your output from setting: `Selenium::WebDriver.logger.level = :info` On Tuesday, March 21, 2017 at 2:57:14 PM UTC-5, Raja gopalan wrote: > > I am using mozilla > > Version of mozilla is 47.0.2 > > Using legacy Firefox driver > > > > On Mar 22, 2017 1:20 AM, "Titus Fortner" <[email protected] > <javascript:>> wrote: > >> I need to know which browser, browser version & driver version you are >> using. >> >> If you are using the latest version of Watir, you can place this above >> the code of concern: `Selenium::WebDriver.logger.level = :info` and paste >> the output. >> >> Thanks >> >> On Tuesday, March 21, 2017 at 2:29:59 PM UTC-5, Raja gopalan wrote: >>> >>> If I remove Inspect from that line it works very fine that means that >>> line crosses by leaving alert open so that wait unit passes. >>> >>> By the way what is the rest of the info? >>> >>> On Mar 22, 2017 12:56 AM, "Titus Fortner" <[email protected]> wrote: >>> >>>> Interesting. I need the rest of the information I asked for, or a >>>> reproducible test case to figure out why this is happening. >>>> >>>> -- >>>> -- >>>> 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] >>>> <http://groups.google.com/group/[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/d/optout. >>>> >>> -- >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] <javascript:> >> http://groups.google.com/group/watir-general >> [email protected] <javascript:> >> >> --- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- 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/d/optout.
