I could be wrong, but I seem to remember a
browser.element_by_xpath("//a[contains(@onclick,'1002')]").click
I've personally never used the generic element method.
On 2011-08-09, at 1:40 AM, Mahi wrote:
> I Have following Gem list
>
> builder (3.0.0)
> childprocess (0.1.9)
> commonwatir (1.9.2
On Tue, Jul 12, 2011 at 4:03 PM, Mahi wrote:
> But i have a Link in that table which will be changing every time i
> search. How do i click the link in table data.
How do you know which link to click when you are doing it manually?
Željko
--
watir.com - community manager
watir.com/book - author
Hi
I Have A table
to retrieve the values i used for loop
for row in ttb
#~ for ccount in ttb
for ritem in row
#~ for citem in ccount #row
puts ritem
end
#~ end
#~ end
end
But i have a Link in that table which will be changing every time i
search. How do i click the link in tabl