Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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...

Replies are listed 'Best First'.
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 meditating upon the Monastery: (2)
As of 2016-06-25 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.