Install, Configure PhantomJS
-
Download PhantomJS by navigating to the link “https://code.google.com/p/phantomjs/downloads/list ”
-
Choose the zip folder of the PhantomJS installer depending on the Operating System used. For Eg: phantomjs-1.9.1-windows.zip for the Windows Operating system. The operating system will be mentioned under the column ‘Summary+Labels’
-
Unzip the folder to a specified location. (Directories without spaces are preferred.)
-
Eg: C:\Program Files (x86)\phantomjs-1.9.1-windows\phantomjs-1.9.1-windows
Note: For Macintosh operating systems path should be /Applications/PhantomJS
-
-
Create a file by the name “sahi.js” in the unzipped folder of PhantomJS with the below content
-
Configuration: Appvance IQ will automatically configure PhantomJS, User just needs to select the path of the installed PhantomJS Browser when AIQ prompts the user to do so
-
Make sure the following is available in Browser_types.xml in the path sahi > userdata > config