No use strict; no use warnings; is poor practice. Aside from this does IE show that there are any errors with the JavaScript that is running? Can you alter the function do display an 'alert' to see if it has been clicked?
Try $ie->click_button( name => 'logoff' ); in case the space character is causing an issue, this is just a guess.
Martin
In reply to Re: Clicking on a button without a form using Win32::IE::Mechanize
by marto
in thread Clicking on a button without a form using Win32::IE::Mechanize
by venkatesan_G02
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |