Skip to content

Commit 8eb22d5

Browse files
committed
added new test option htmlbody (issue #2)
1 parent c8f0552 commit 8eb22d5

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

lib/mapping.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,12 @@ var options = {
337337
param: 'switches',
338338
info: 'use a list of custom command line switches (Chrome only)'
339339
},
340+
'htmlbody': {
341+
name: 'htmlBody',
342+
api: 'htmlbody',
343+
bool: true,
344+
info: 'save the content of only the base HTML response'
345+
},
340346
'poll': {
341347
name: 'pollResults',
342348
param: 'interval',

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
-Q, --noparser disable threaded HTML parser (Chrome only)
5050
-q, --spdynossl use SPDY without SSL (Chrome only)
5151
--cmdline <switches> use a list of custom command line switches (Chrome only)
52+
--htmlbody save the content of only the base HTML response
5253
--poll [interval] poll for results after test is scheduled at every <interval> seconds [5]
5354
--wait [hostname:port] wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
5455
--timeout <seconds> timeout for polling and waiting results [no timeout]

0 commit comments

Comments
 (0)