On Monday, July 22, 2013 2:22:07 AM UTC-7, Željko Filipin wrote: > On Mon, Jul 22, 2013 at 10:24 AM, Sachin Uplaonkar > <[email protected]<javascript:> > > wrote: > >> "irb(main):008:0> b.text.include? "suplaonk" >> Selenium::WebDriver::Error:: >> **NoSuchElementError: Unable to find element with tag >> name == body" >> >> "irb(main):036:0> b.text.include? "suplaonk" >> Errno::ECONNREFUSED: No connection could be made because the target >> machine acti >> vely refused it. - connect(2)" >> > > Can you provide more relevant code? Is the site you are testing public? > (Please provide it's URL in that case.) If it is not public, can you > reproduce the error with a public site? > > Željko > -- > https://leanpub.com/watirbook >
Is the login page opening a new window? or changing security context? the behavior you are seeing is a bit like the browser object is no longer pointing to an instance of a web browser. -- -- 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.
