I'm starting with Perl and I'm trying to do a script that logs me out of a page (I already did the login one).
The idea is, I'm trying to use find_link function from WWW::Mechanize
(I also tried WWW::Mechanize::Firefox
) to find the logout link, but it's not working.
So, my question is:
is the event onmouseover avoiding that link to be found? I think WWW::Mechanize::Firefox
supports javascript but maybe that's not correct.
<a class="hb2" href="/goform/Logout?logout=Logout" onmouseover="(window.status='Logout');
return true">Logout</a>
Is there a way to do what I want? Any help or suggestions will be highly appreciated.