As a third alternative, you can look for the corresponding code in the sister modules WWW::Mechanize::Firefox or WWW::Mechanize::Chrome and copy that into your code.
Note that WWW::Mechanize::PhantomJS is not under development anymore. The program phantomjs also is not developped anymore.
In reply to Re^3: How do I get WWW::Mechanize::PhantomJS to wait until the JavaScript on the web page has finished executing?
by Corion
in thread How do I get WWW::Mechanize::PhantomJS to wait until the JavaScript on the web page has finished executing?
by Darth Ed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |