browser.li(:class => "last").a(:class => "seel=-all").click

adding id's will be better like Oscar said

Em segunda-feira, 9 de setembro de 2013 15h47min54s UTC-3, 
[email protected] escreveu:
>
> In the code below I want to acess and click on the element <a class 
> ="see-all" style="" href ="/netowrking/resources"> see all </a>  which is 
> containedin a div object. The div tag has no attributes. I basically cannot 
> acurately locate the see all link. 
>
> Please, any suggestion on how can this be done? Thanks 
>
> <li class ="last"> 
>     <div>
>         <h3>Resource</h3>
>         <div class =" pages sui-opt-in>
>         <div class ="component-header>
>         <ul class ="components">
>         <div class ="list-fotter-controls">
>         <a class ="seel=-all" style ="" heref ="/networking/resources">see 
> all</a>
>      </div>
> </li>
>
>
> Thanks 
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to