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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-07-26 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (240 votes). Check out past polls.