createVideo: Create video

Description Usage Arguments Value Examples

Description

create a video from <tests> (character vector of test ids)

Usage

1
2
createVideo(server, tests, comparisonEndPoint = c("visual", "all", "doc",
  "full"), dryRun = FALSE, ...)

Arguments

server

A WebPagetest server

tests

A character vector of test ids

comparisonEndPoint

frame comparison end point: [visual]=visually complete | all=last change | doc=document complete | full=fully loaded

dryRun

If TRUE just return the RESTful API URL. Defaults to FALSE

...

Additonal function arguments

Value

A list of relevant video url's

Examples

1
2
3
4
5
6
7
## Not run: 
  WPT <- server()
  history <- getHistory(WPT, days = 10L, filter = "google.com")
  tests <- tail(history[["Test ID"]], 5)
  createVideo(WPT, tests = tests)

## End(Not run)

johndharrison/webpagetestr documentation built on May 19, 2019, 5:14 p.m.