IE & element_by_xpath returns OLE instead of Watir object.
----------------------------------------------------------

                 Key: WTR-477
                 URL: http://jira.openqa.org/browse/WTR-477
             Project: Watir
          Issue Type: Bug
          Components: Contrib
    Affects Versions: 1.8.0
         Environment: IE
            Reporter: A


>Given the following page:
><html>
>  <body>
>    <a href="/foo.html">hello</a>
>  </body>
></html>

>- Ie fails with: 
>browser.element_by_xpath("//a[@href='/foo.html']").exists?
>  WIN32OLERuntimeError: unknown property or method `exists?'
>      HRESULT error code:0x80020006
>        Unknown name.
>

See thread here:
http://rubyforge.org/pipermail/wtr-development/2011-April/003037.html


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Wtr-development mailing list
Wtr-development@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to