On Mon, Oct 19, 2009 at 11:48 PM, Shlomit Gazit
wrote:
> When I am trying to locate the cell for .link,
What are you trying to do? Click all links in the table? This will flash all
links, you can work from there:
browser.table(:class, "tableLeftNav").links.each {|link| link.flash}
Željko
--~--
Hi there,
I think this might work for you:
puts @@leftNav.rstrip!
This should remove the "\r\n" tags.
-George
On Oct 20, 9:18 am, Shlomit Gazit wrote:
> watir code: (see above also):
>
> $ie.link(:text, "#{@@leftNav[i]}").click
>
> html of the table:
>
>
>
> valign="middle" cla
watir code: (see above also):
$ie.link(:text, "#{@@leftNav[i]}").click
html of the table:
Scope (0)
On Mon, Oct 19, 2009 at 11:48 PM, Shlomit Gazit
wrote:
> Watir::Exception::UnknownObjectException: Unable to locate element,
> using :text, "Scope (0) \r\n"
Please post html of the table and Watir code that returns this error.
> I dont know why it is appending: \r\n, and how to truncate it.
Bec