|Don't ask to ask, just ask|
WWW::Mechanize::Firefox button click problem HP iLOby ruzam (Curate)
|on Jul 24, 2015 at 16:55 UTC||Need Help??|
ruzam has asked for the wisdom of the Perl Monks concerning the following question:
I think I've reached the end of my quest here. This is not the usual 'freeze after click' problem searching keeps finding for me.
For iLO version 3 I can activate the logout button as expected with:
But that same action on iLO version 4 does nothing. Seems nothing I do will activate the button. I've tried $mech->click with the appropriate xpath keys, I've tried using $mech->by_id to get the node, followed by $node->click. I've also tried $mech->follow_link( tag => 'button', id => 'logout_button' );
If I try $mech->eval('iLO.doLogout();'), I get:
I can find and retrieve the logout button node and manipulate it without errors, but it just doesn't do anything. I guess I should expect that being that it has no onclick handler. If I check the page for $mech->clickables, it clearly shows both 'Home' and 'Sign Out' for version 3, but only 'Home' for version 4.