Install, Configure PhantomJS

  1. Download PhantomJS by navigating to the link “https://code.google.com/p/phantomjs/downloads/list

  2. 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’

  3. 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

  4. Create a file by the name “sahi.js” in the unzipped folder of PhantomJS with the below content

  5. 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

  6. Make sure the following is available in Browser_types.xml in the path sahi > userdata > config