in reply to Re^2: How do I get WWW::Mechanize::PhantomJS to wait until the JavaScript on the web page has finished executing?
in thread How do I get WWW::Mechanize::PhantomJS to wait until the JavaScript on the web page has finished executing?

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.

  • Comment on Re^3: How do I get WWW::Mechanize::PhantomJS to wait until the JavaScript on the web page has finished executing?
  • Download Code

Replies are listed 'Best First'.
Re^4: How do I get WWW::Mechanize::PhantomJS to wait until the JavaScript on the web page has finished executing?
by Darth Ed (Beadle) on Aug 21, 2021 at 17:09 UTC
    Note that WWW::Mechanize::PhantomJS is not under development anymore. The program phantomjs also is not developped anymore.
    It's not? I was not aware of that. I don't see anything in the WWW::Mechanize::PhantomJS POD about that, and the most recent release was less than a year ago....

    You're certainly correct about the phantomjs program. I now see that notice at the top of https://phantomjs.org/.

    Unfortunately, I need this to work on a fairly old version of Linux (CentOS 6), so I don't think WWW::Mechanize::Chrome is an option. Maybe WWW::Mechanize::Firefox will work though....