protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Is their anyway to pass parameter from console to plugin attribute of conf file

Open Saurabh06 opened this issue 10 years ago • 1 comments

i have used plugin for report inside the conf file but i am not able to pass the screenshotPath from console. i want to change hardcoded path to command line provided path. exports.config = { plugins: [{ package: 'jasmine2-protractor-utils', disableHTMLReport: false, disableScreenshot: false, screenshotPath: 'reports/screenshots', /* i have to give path from command line instead of hardcoded path_/ screenshotOnExpectFailure:true, screenshotOnSpecFailure:true, clearFoldersBeforeTest: true, htmlReportDir: '_reports/htmlreports*' }] }

Saurabh06 avatar Aug 05 '16 10:08 Saurabh06

Hi there!

Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.

From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!

NickTomlin avatar Aug 05 '16 13:08 NickTomlin