in reply to Clicking on a button without a form using Win32::IE::Mechanize
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Clicking on a button without a form using Win32::IE::Mechanize
by venkatesan_G02 (Sexton) on Sep 21, 2009 at 10:35 UTC | |
by vitoco (Hermit) on Sep 21, 2009 at 13:47 UTC |