"Absolute path to an unpacked extension to run in the subbrowser session."
}
}
},
{
"id": "ReplayURLsResult",
"type": "object",
"description": "Return value for Replay callback",
"properties": {
"runTime": {
"type": "number",
"description": "Time in milliseconds to complete all runs."
},
"stats": {
"type": "string",
"description": "Full multiline dump of output stats, showing one statistic per line, comprising an abbreviated statistic name and its value (e.g. vmsize_f_b= 696164352 bytes for final vm size). This is ugly, and will be changed shortly."
},
"errors": {
"type": "array",
"items": {"type": "string"},
"description": "List of errors during replay. Presently, this should only be abnormal browser termination for unexpected reasons."
}
}
}
],
"functions": [
{
"name": "captureURLs",
"description": "",
"type": "function",
"parameters": [
{
"type": "string",
"description": "Unique name of the capture.",
"name": "captureName"
},
{
"type": "array",
"items": {"type": "string"},
"description": "URL list to visit during capture.",
"name": "urls"
},
{
"name": "callback",
"type": "function",
"description": "Called when capture has completed.",
"optional": true,
"parameters": [
{
"type": "array",
"items": {"type": "string"},
"name": "errors",
"description": "List of any URLs that failed to load, one error per textline, along with failure reason (e.g. unknown domain). Also may include general abnormal-exit message if the subbrowser run failed for other reasons."
}
]
}
]
},
{
"name": "replayURLs",
"description": "",
"type": "function",
"parameters": [
{
"type": "string",
"name": "captureName",
"description": "Unique name of capture. Use to determine cache."
},
{
"type": "integer",
"name": "repeatCount",
"minimum": 0,
"maximum": 100
},
{
"$ref": "SessionDetails",
"name": "details",
"optional": true
},
{
"name": "callback",
"type": "function",
"optional": true,
"description": "Called when playback has completed.",