Is there a better way to create a function that just clicks what you need it to click as opposed to having so many of this in your step definitions? One for login, logout, add, etc.
Ex, Logout > Then(/^I logout the system$/) do > @browser.a(:href => '/logout').click > end > > How or what is the best way to go about it. Thanks. -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. 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.
