Run using the excellent WebPageTest API wrapper for NodeJS by Marcel Duran, and $WPT_API_KEY
as an environment variable.
webpagetest test example.com -k $WPT_API_KEY -l "Dulles_MotoG" -y "custom" -D 100 -U 100 -Y 200 -r "5" -vpt
-k
key
-l
location and device (Dulles being thinly place with a selection of mobile devices, at the time of writing)