Description Usage Arguments Value Examples
get the Chrome Developer Tools Net log data (if available) from test
1 2 | getNetLogData(server, testId, run = 1L, repeatView = FALSE,
dryRun = FALSE, ...)
|
server |
A WebPagetest server |
testId |
test ID string |
run |
an integer. Which run number on a multiple runs test. Defaults to 1L. |
repeatView |
get the Repeat View (cached view) instead of default First View (primed cache). Defaults to FALSE |
dryRun |
If TRUE just return the RESTful API URL. Defaults to FALSE |
... |
Additonal function arguments |
A list containing the Net Log data If no net log data is available for the test a HTTP 404 error is returned.
1 2 3 4 5 6 7 | ## Not run:
WPT <- server()
history <- getHistory(WPT, filter = "London")
tID <- as.character(history[dim(history)[1], "Test ID"])
timelineData <- getNetLogData(WPT, tID)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.