Well, i got solution using following line of code. browser.link(:text => "*Mobile & Accessories*").click
Just wanted to ask, is it the only way or could be some other nice way? Thanks On Fri, Nov 28, 2014 at 5:13 AM, Sohail Mirza <[email protected]> wrote: > Hi, > > I am trying to perform click event on the following span element but > something not working for me. > > <ul class="ng-scope" data-ng-repeat="module in leftSideNavigation"> > <li data-ng-click="selectedNode(module)"> > <a href="/home" ui-sref="home"> > * <span class="ng-binding">* > * Mobile & Accessories* > * </span>* > </a> > </li> > </ul> > > > I not sure how to access <li> in my code since it does not have rendered > attribute. Any help? > Browser.ul().li().span().click .... > > 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/d/optout.
