Problems? Is your data what you think it is? | |
PerlMonks |
WWW::Mechanize::Firefox hangs when jquery element clickedby nysus (Parson) |
on Feb 12, 2016 at 11:13 UTC ( [id://1155062]=perlquestion: print w/replies, xml ) | Need Help?? |
nysus has asked for the wisdom of the Perl Monks concerning the following question: I've got a form in WordPress that uses the "Chosen" jquery plugin for drop down <select> fields. I'm having a tough time automating these fields with WWW::Mechanize::Firefox. The website for the plugin is here. When I click on the div tag associated with the drop down, it just hangs. Here is the code I'm using to click on it:
The synchronize => 0 bit is supposed to prevent the script from waiting for a response from the server. However, I'm thinking that because clicking on the div tag causes jquery to change the classes of the div tag, it might be confusing WWW::Mechanize::Firefox. I tried this:
It didn't work. Any other workarounds I might try?
$PM = "Perl Monk's";
Back to
Seekers of Perl Wisdom
|
|