http://www.perlmonks.org?node_id=957871


in reply to Re: Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox
in thread [Solved] Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox

Hi, bitingduck!

Thanks for the reply. I hadn't noticed the clickables method before so I went ahead and tried it out. Progress! Now there is something to dump when I check $link->{onclick}, but it's a blessed MozRepl::RemoteObject. It's pretty massive so I won't post it here (unless requested). I still can't figure out how to just see what the onclick attribute is though...