Description Usage Arguments Value Examples
List locations and the number of pending tests
| 1 2 | getLocations(server, requestId = NULL, key = Sys.getenv("WPTKEY"),
  dryRun = FALSE, ...)
 | 
| server | A WebPagetest server | 
| requestId | request ID, useful to track asynchronous requests | 
| key | API key (if assigned). Contact the WebPageTest server administrator for a key if required | 
| dryRun | If TRUE just return the RESTful API URL. Defaults to FALSE | 
| ... | Additonal function arguments | 
A list of locations and the number of pending tests at those locations
| 1 2 3 4 5 | ## Not run: 
  WPT <- server()
  locs <- getLocations(WPT)  
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.