Thank you but I found what was wrong!
On Tue, Sep 15, 2015 at 2:40 PM, c w <[email protected]> wrote: > Hi! > > Can one help me. I have to select the elements from the ""..." menu and it > looks doesnt work. > > 1. go to http://www.granville.vfmltest.com/en/ > 2. maximize the browser to full screen > > [image: Inline image 1] > > For instance I want to select Reviews. > > I try to click on "..." first but not sure why doesn't work > > @dotMenu = @b.div(@class => 'main-nav-container').li(@class => 'navtab > hidden-menu-button') > > > And for review I Try using > > @reviewsPage = @b.a(:xpath, "//a[contains(@href, 'reviews.html')]") > > But it looks like they are not correct > > def clickReviews > @dotMenu.flash > @dotMenu.click > @reviewsPage.click > end > -- -- 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.
