I am new to Watir framework and we have a code like $browser.link(:xpath, "//a[@href='/servlets/ProcessAction?identifier=createMemberAccountTypes&click1=Accounts_Open']").click . But this works well on IE but not on Firefox always. So we use something like
$browser.span(:text => "Logout").parent.click However we dont want to write one for IE and one for Firefox. What should we use? Thank you for your time. -- 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]
