WebPagetest Forums

Full Version: Scripting setCookie name, domain, value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, not having much luck scripting a location cookie for a test.

In this case I need to set the domain of the cookie, in addition to a name (MYlocation) and value (ZIP=98006)

The examples provide only show domain and path, and my trial and error has not been successful. Please advise.

The scripting WIKi refers to a desktop version of pagetest (file->Runscript) that sounds like it might allow for testing and troubleshooting scripts... if so is that available for download? Thanks
I don't know what the desktop version is, but the documentation is pretty straightforward on how this scripting works

If you want to set a cookie, the documentation shows you exactly how to do it:
https://sites.google.com/a/webpagetest.o...-setCookie

What is the cookie supposed to contain?
Reference URL's