[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Raja gopalan
Yes, when I press F5, program starts to run and along with program, terminal opens and it would remain until program comes to an end, but after I have added your code, it's not closing. On Friday, November 25, 2016 at 1:30:06 AM UTC+5:30, Titus Fortner wrote: > > The browser closes, but you

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Titus Fortner
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

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Raja gopalan
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

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Titus Fortner
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

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Raja gopalan
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,

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Titus Fortner
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

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Raja gopalan
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

[wtr-general] Re: Error while I try to initiate chrome using WATIR 6.0.2

2016-11-24 Thread Titus Fortner
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': >