UNPKG

protractor-errors

Version:

A protractor runner that allows you to run errors from previous runs.

10 lines (7 loc) 274 B
#! /usr/bin/env node const shell = require("shelljs"); const args = process.argv.slice(2); const timestamp = (new Date()).toISOString(); args.push('--params.currentTime'); args.push(timestamp); shell.exec('./node_modules/protractor/bin/protractor ' + args.join(' '));