Today’s Code Snippet is for using a JSON configuration file with CapserJS and PhantomJS. I have been using JSON configuration files with my test automation for a while now to help manage test URLs, user agents, users, etc. It is a great way to make your automation more flexible and update settings for an entire application. Below is an example of how your configuration file would look.
Continue reading “Snippet: Using a config file for CapserJS and PhantomJS”