Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: WWW::Mechanize::Firefox ->click() problem

by ray.rick.mini (Sexton)
on Sep 26, 2016 at 21:42 UTC ( [id://1172679]=note: print w/replies, xml ) Need Help??


in reply to WWW::Mechanize::Firefox ->click() problem

I managed to find a working solution using __event method from the MozRepl::RemoteObject module... I basically get the td node and call JS events on it.

my @el = $mech>by_id('mytd'); $el[0]->__event('mouseover'); $el[0]->__event('click');

This works but I m wondering if this is a good solution or there are better alternatives. I read a Corion post where he suggest to capture get/post http request uri and directly use them with ->get()

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-18 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found