Misc

combineSteps

Causes multiple script steps to be combined into a single "step" in the results
Browser Support: IE, Chrome, Firefox, Safari

usage:   combineSteps [count]  
example: combineSteps

[count] - Number of script steps to merge (optional, defaults to 0 which is ALL)  
Sample Script:

combiineSteps
navigate [www.google.com](http://www.google.com)  
navigate [www.yahoo.com](http://www.yahoo.com)  
navigate [www.aol.com](http://www.aol.com)

clearCache

Clears all cache and cookies.
Browser Support: Chrome, Safari on iOS

usage:   clearCache  
example: clearCache  

firefoxPref

Allows you to specify arbitrary preferences that will be configured before launching the browser.
Browser Support: Firefox

usage:   firefoxPref <pref> <value>  
examples:  
firefoxPref network.http.pipelining false  
firefoxPref network.http.pipelining.maxrequests 5  
firefoxPref general.useragent.override "Some User Agent String"

<pref> - The preference that is to be modified  
<value> - The value to use.  String values should be enclosed in quotes like the example.  

setEventName

Sets the name of the event for the next measurable operation. It is important to only set this right before the action that will generate the activity you want to measure so that you don't inadvertently measure other page activity. Without explicit event names each step will be automatically named Step_1, Step_2, etc.
Browser Support: IE

usage:   setEventName <event name>  
example: setEventName loadWebmail

<event name> - Name to use for the event about to occur (in resulting log files)  

setLocation

Specifies a geolocation override position.
Browser Support: Chrome

usage:   setLocation <lat>,<lng> <accuracy>  
example: setLocation 38.954980,-77.447956 10

<lat> - Latitude  
<lng> - Longitude  
<accuracy> - Accuracy (in meters)

setViewportSize

Changes the size of the visible browser window so that the page viewport matches the given dimensions. If you get black areas on your screen shots then the viewport is larger than the desktop.
Browser Support: IE, Chrome, Firefox, Safari

usage:   setViewportSize <width> <height>  
example: setViewportSize 320 365

<width> - Viewport Width  
<height> - Viewport Height

sleep

Pauses the script operation for a given number of seconds.
Browser Support: IE, Chrome, Firefox, Safari

usage:   sleep <seconds to sleep>  
example: sleep 5

<seconds to sleep> - An integer indicating how long to sleep.  The allowable range is 1-30.