@browser.a(:href, '/networking/resources').click
@browser.a(:href, /resources/).click
@browser.a(:text, 'see all').click

Any of these three will work :D

On Monday, 9 September 2013 12:47:54 UTC-6, [email protected] wrote:
>
> 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