You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
The use of phantom.args has been deprecated (see commit 545a3f7) since a long time ago (version 1.5, March 2012). It is time to remove it in the upcoming major version PhantomJS 2.
Any old scripts need to switch to use System#args instead.
// old APIconsole.log('First argument is',phantom.args[0]);console.log('Second argument is',phantom.args[1]);phantom.exit();
// new APIvarsystem=require('system');console.log('First argument is',system.args[1]);console.log('Second argument is',system.args[2]);phantom.exit();
The text was updated successfully, but these errors were encountered:
The use of phantom.args has been deprecated (see commit 545a3f7)
since a long time ago (version 1.5, March 2012). Any old scripts
need to switch to use System#args instead.
#12527
The use of
phantom.args
has been deprecated (see commit 545a3f7) since a long time ago (version 1.5, March 2012). It is time to remove it in the upcoming major version PhantomJS 2.Any old scripts need to switch to use
System#args
instead.The text was updated successfully, but these errors were encountered: