Open
Description
When using the WPT web UI the addHeader method works great.
When using the node wrapper program I cannot get it to work.
This is the syntax I use in the WPT UI which works:
addHeader X-header: someheader
navigate https://some.url.com
In the node program it looks like this:
var script = wpt.scriptToString([
{addHeader:[‘X-Header:’, ‘someheader’]},
{navigate: "https://some.url.com"}
])
wpt.runTest(script, {"location": "us-west-2", "connectivity": "Cable"}, function(err, data) {
...
});
The headers do not show up in the requests when viewing the results on the WPT web UI
Is this disabled from the wrapper program, how can I get it to work?
Thanks,
Dan
Metadata
Metadata
Assignees
Labels
No labels