If you want to run the file then,
-
Install nodejs and set its environment variables so that it can be accessed from the command prompt
-
npm install
-
node server.js
-
Open your browser and navigate to localhost:3000
-
Now enter the URL for which you want to analyse and you will see the results.
-
In order to get the results for the mobile add the following in the formData field for both the variables ---- var options and var options_ad put a ',' and then write the below statement 'mobile' : 1
Now you get the results for the page load times in mobile browser.