I use the latest version of chromewatir, I have also met a problem.
When I run the code below:
*require "chrome_watir"**
**$browser = ChromeWatir::Browser.new*
*$browser.goto("**www.google.com* <http://www.yahoo.com/>*")*
*$browser.text_field(:name, "q").set "hello world"*
*$browser.button(:index, 1).click*
The script hangs when it turns to "www.google.com", it can't access the text
field.
When I close the browser, it displays the error message as below:
*d:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/chrome_watir/container.rb:348:in
`recv': An existing connection was forcibly closed by the remote host. -
recvfrom(2) (Errno::ECONNRESET)*
Wesley.
For life, the easier, the better.
On Thu, Mar 11, 2010 at 12:06 PM, Mrunal <[email protected]> wrote:
> ory or anyw
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general