Watir-webdriver unable to locate element in IE8
I've been trying to use watir-webdriver and have made a simple script:

    require 'watir-webdriver'

    ie = Watir::Browser.new :ie
    ie.goto 'www.google.com'

    ie.text_field(:name, 'q').set("Watir-WebDriver")

But I keep getting an unable to locate element error when testing through IE8 and webdriver. I've tested this with regular Watir and it seems to work fine with IE8 and also works fine on google chrome(using web-driver).
Watir-webdriver unable to locate element in IE8
===

I've been trying to use watir-webdriver and have made a simple script:

    require 'watir-webdriver'

    ie = Watir::Browser.new :ie
    ie.goto 'www.google.com'

    ie.text_field(:name, 'q').set("Watir-WebDriver")

But I keep getting an unable to locate element error when testing through IE8 and webdriver. I've tested this with regular Watir and it seems to work fine with IE8 and also works fine on google chrome(using web-driver).