in reply to Re^3: 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?
Maybe just use sleep to wait for three seconds?Sleep between the call to the get method and the call to the decoded_content method? I tried that. No change to the content.
Is there a different arrangement of methods you recommend? Do you have an example that does something like this?
|
|---|