Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox

by Riales (Hermit)
on Mar 05, 2012 at 10:37 UTC ( #957871=note: print w/ replies, xml ) Need Help??


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...


Comment on Re^2: Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox
Select or Download Code
Re^3: Checking onclick attribute of an anchor tag with WWW:::Mechanize::Firefox
by Anonymous Monk on Mar 05, 2012 at 10:56 UTC

    I still can't figure out how to just see what the onclick attribute is though...

    Try $node->getAttribute

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://957871]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-07-11 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls