Skip to content

Commit 121883b

Browse files
committed
added continuous video capture option to test
1 parent 2ccb9f0 commit 121883b

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

lib/mapping.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ var options = {
327327
info: 'use SPDY without SSL (Chrome only)'
328328
},
329329
'cmdline': {
330-
name: 'commnadLine',
330+
name: 'commandLine',
331331
api: 'cmdline',
332332
param: 'switches',
333333
info: 'use a list of custom command line switches (Chrome only)'
@@ -338,6 +338,12 @@ var options = {
338338
bool: true,
339339
info: 'save the content of only the base HTML response'
340340
},
341+
'continuous': {
342+
name: 'continuousVideoCapture',
343+
api: 'continuousVideo',
344+
bool: true,
345+
info: 'capture video continuously (unstable/experimental, may cause tests to fail)'
346+
},
341347
'poll': {
342348
name: 'pollResults',
343349
param: 'interval',

test/fixtures/command-line/help-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
-q, --spdynossl use SPDY without SSL (Chrome only)
5151
--cmdline <switches> use a list of custom command line switches (Chrome only)
5252
--htmlbody save the content of only the base HTML response
53+
--continuous capture video continuously (unstable/experimental, may cause tests to fail)
5354
--poll [interval] poll for results after test is scheduled at every <interval> seconds [5]
5455
--wait [hostname:port] wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
5556
--timeout <seconds> timeout for polling and waiting results [no timeout]

0 commit comments

Comments
 (0)