Skip to content

Commit 576690a

Browse files
committed
added missing api parameters
1 parent 1b6c221 commit 576690a

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

lib/mapping.js

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,90 @@ var options = {
328328
param: 'bandwidth',
329329
info: 'upload bandwidth in Kbps (used when specifying a custom connectivity profile)'
330330
},
331+
'browserwidth': {
332+
name: 'browserwidth',
333+
key: 'bw',
334+
api: 'browser_width',
335+
param: 'browserwidth',
336+
info: 'Browser window width (in display pixels)'
337+
},
338+
'browserheight': {
339+
name: 'browserheight',
340+
key: 'bh',
341+
api: 'browser_height',
342+
param: 'browserheight',
343+
info: 'Browser window height (in display pixels)'
344+
},
345+
'viewportheight': {
346+
name: 'viewportheight',
347+
key: 'vh',
348+
api: 'height',
349+
param: 'viewportheight',
350+
info: 'Viewport Height in css pixels'
351+
},
352+
'viewportwidth': {
353+
name: 'viewportwidth',
354+
key: 'vw',
355+
api: 'width',
356+
param: 'viewportwidth',
357+
info: 'Viewport Width in css pixels'
358+
},
359+
'dpr' : {
360+
name : 'dpr',
361+
key : 'dpr',
362+
api : 'dpr',
363+
param : 'dpr',
364+
info : 'Device To Pixel Ratio'
365+
366+
},
367+
'appendua' : {
368+
name : 'appendua',
369+
key : 'au',
370+
api : 'appendua',
371+
info : 'String to append to the user agent string. This is in addition to the default PTST/ver string.'
372+
},
373+
'testtype' : {
374+
name : 'testtype',
375+
key : 'tt',
376+
api : 'type',
377+
param : 'testtype',
378+
info : 'For running alternative test types, can specify traceroute or lighthouse'
379+
},
380+
'profiler' : {
381+
name : 'profiler',
382+
key : 'pr',
383+
api : 'profiler',
384+
param : 'profiler',
385+
info : 'Set to 1 to enable the V8 sampling profiler (Chromium only)'
386+
},
387+
'disableAVIF' : {
388+
name : 'disableAVIF',
389+
key : 'avif',
390+
api : 'disableAVIF',
391+
param : 'disableAVIF',
392+
info : 'Set to 1 to disable AVIF support (Chromium 88+).'
393+
},
394+
'disableWEBP' : {
395+
name : 'disableWEBP',
396+
key : 'webp',
397+
api : 'disableWEBP',
398+
param : 'disableWEBP',
399+
info : 'Set to 1 to disable AVIF support (Chromium 88+).'
400+
},
401+
'disableJXL' : {
402+
name : 'disableJXL',
403+
key : 'jxl',
404+
api : 'disableJXL',
405+
param : 'disableJXL',
406+
info : 'Set to 1 to disable JpegXL support (Chromium 88+).'
407+
},
408+
'dtShaper' : {
409+
name : 'dtShaper',
410+
key : 'dts',
411+
api : 'dtShaper',
412+
param : 'dtShaper',
413+
info : "Set to 1 to use Chrome's built-in traffic-shaping instead of the packet-level netem shaping usually used by the test agents"
414+
},
331415
'latency': {
332416
name: 'latency',
333417
key: 'Y',

0 commit comments

Comments
 (0)