Add a cookie advanced option on the front page

This commit is contained in:
Gaël Métais
2015-05-04 15:24:00 +02:00
parent b2f6f68d1a
commit bb2f0e6c55
6 changed files with 47 additions and 10 deletions
+4 -1
View File
@@ -26,6 +26,10 @@ var PhantomasWrapper = function() {
'tablet': (task.options.device === 'tablet'),
'phone': (task.options.device === 'phone'),
'screenshot': task.options.screenshot || false,
'wait-for-selector': task.options.waitForSelector,
'cookie': task.options.cookie,
'auth-user': task.options.authUser,
'auth-pass': task.options.authPass,
// Mandatory
'reporter': 'json:pretty',
@@ -42,7 +46,6 @@ var PhantomasWrapper = function() {
'jQuery', // overridden
'jserrors', // overridden
'pageSource', // not needed
'waitForSelector', // not needed
'windowPerformance' // overriden
].join(','),
'include-dirs': [