korimo / firewatir

Automatically exported from code.google.com/p/firewatir
0 stars 0 forks source link

By Kevin Alsteens : firewatir fails finding link by text watir does. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the following HTML on a page

<a href="http://www.test.com">
                    <span class="a">Go Test</span>

                 </a>

my script is as follows

browser = (instance of IE or Firefox at the correct page)
browser.link(:text, "Go Test").click

This will click the link in Watir, but not in FireWatir.

It returns the Unknown Object error

'Unable to locate object, using text and Go Test
(FireWatir::Exception::UnknownObjectException)"

Original issue reported on code.google.com by prema.a...@gmail.com on 13 Apr 2007 at 5:45

GoogleCodeExporter commented 9 years ago
This issue has been fixed and verified.

Original comment by prema.a...@gmail.com on 13 Apr 2007 at 5:53

GoogleCodeExporter commented 9 years ago

Original comment by prema.a...@gmail.com on 13 Apr 2007 at 5:54