Hi Charley, I hadn't debugged it at the time of my first message and
was curious if anyone else had come across it before I spent time
trying to find a minimum set of code that reproduced the issue.

I have done some  tracing now and have a code example that reproduces
the issue. It seems to be an issue with the xpath selectors.

Environment:
Windows 7 64-bit with Service Pack 1
Internet Explorer 32-bit 9.0.8112.16421
Ruby 1.9.2p180
Gem 1.5.2
Watir 1.9.0

Sample code:
require 'watir'
browser = Watir::Browser.new
browser.goto 'http://google.ca'
field = browser.text_field(:xpath, "input[@name='q']")
field.exists?

When I run the above code I get the follow three lines printed 70
times in a row:
unknown property or method: `gsub'
    HRESULT error code:0x80020006
      Unknown name.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to