The browser closes, but you expect the terminal it was running in to also close and it is not?
On Thursday, November 24, 2016 at 12:54:06 PM UTC-6, Raja gopalan wrote: > > I am using scite editor to execute the program(I use RubyMind if it's a > project), as soon as I press f5 button, program starts to run, one command > window opens, it usually closes as soon as program ends, but now after > including your latest code, it's not closing. > > On Friday, November 25, 2016 at 12:04:16 AM UTC+5:30, Titus Fortner wrote: >> >> I'm not sure I understand. >> Are you having an issue with calling browser.close or after your spec or >> rb file has completed executing? >> >> >> On Thursday, November 24, 2016 at 12:24:50 PM UTC-6, Raja gopalan wrote: >>> >>> But it's not allowing the command prompt window to be closed >>> automatically, that is, it's not allowing to terminate the ruby >>> interpreter. If I execute the problem without this part of the code, then >>> everything is terminated properly. >>> >>> On Thursday, November 24, 2016 at 11:36:51 PM UTC+5:30, Titus Fortner >>> wrote: >>>> >>>> That is more common than you think. :) Glad it's working for you now. >>>> >>>> Titus >>>> >>>> On Thursday, November 24, 2016 at 11:50:07 AM UTC-6, Raja gopalan wrote: >>>>> >>>>> Oh sorry, I installed the new version of ruby and watir, So I forgot >>>>> to put the chrome driver too . I don't even understand how I made this >>>>> mistake, Thanks. >>>>> >>>>> On Thursday, November 24, 2016 at 11:14:21 PM UTC+5:30, Titus Fortner >>>>> wrote: >>>>>> >>>>>> Verify that you are using chromedriver 2.25 >>>>>> If that doesn't work, please provide the code you are using. >>>>>> >>>>>> >>>>>> On Thursday, November 24, 2016 at 11:39:07 AM UTC-6, Raja gopalan >>>>>> wrote: >>>>>>> >>>>>>> hi, I have the given below error >>>>>>> >>>>>>> C:/Ruby23/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in >>>>>>> connect': Failed to open TCP connection to 127.0.0.1:9515 (No >>>>>>> connection could be made because the target machine actively refused >>>>>>> it. - >>>>>>> connect(2) for "127.0.0.1" port 9515) (Errno::ECONNREFUSED) >>>>>>> >>>>>>> Can anyone guide me how to resolve this error? I know this error is >>>>>>> not specific to WATIR 6.0.2! >>>>>>> >>>>>> -- -- 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.
