Override WebPagetest.org dns settings

Super useful for testing a non-live site to see if the new server or settings is fast enough.

Source: https://www.webpagetest.org/forums/showthread.php?tid=14066&pid=27237#pid27237

Script:

setDns	mytestedhost.com	123.234.123.234
navigate	mytestedhost.com

Notes:

  • Use Tab stops not spaces
    • I copied the above code into VSCODE and changed it to tab stops to get it to work.
  • Paste into https://www.webpagetest.org/#script