You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+3
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ var config = {
28
28
sharedObjects: './shared-objects',
29
29
reports: './reports',
30
30
browser: 'chrome',
31
+
browserTeardownStrategy: 'always',
31
32
timeout: 15000
32
33
};
33
34
@@ -44,6 +45,7 @@ program
44
45
.option('-p, --pageObjects <path>','path to page objects. defaults to '+config.pageObjects,config.pageObjects)
45
46
.option('-o, --sharedObjects [paths]','path to shared objects (repeatable). defaults to '+config.sharedObjects,collectPaths,[config.sharedObjects])
46
47
.option('-b, --browser <path>','name of browser to use. defaults to '+config.browser,config.browser)
48
+
.option('-k, --browser-teardown <optional>','browser teardown strategy after every scenario (always, clear, none). defaults to "none"',config.browserTeardownStrategy)
47
49
.option('-r, --reports <path>','output path to save reports. defaults to '+config.reports,config.reports)
48
50
.option('-d, --disableLaunchReport [optional]','Disables the auto opening the browser with test report')
49
51
.option('-j, --junit <path>','output path to save junit-report.xml defaults to '+config.reports)
@@ -59,6 +61,7 @@ program.on('--help', function () {
59
61
60
62
// store browserName globally (used within world.js to build driver)
0 commit comments