Skip to content

Commit b3ccbc2

Browse files
author
Rahul Raut
authored
Merge pull request #107 from shanegarner/master
Allow webdriver manager options to be passed in via the "opts" argument
2 parents 14af957 + 066bc72 commit b3ccbc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ var webdriver_update = function(opts, cb) {
7676
var options = (cb ? opts : null);
7777
var args = ["update", "--standalone"];
7878
if (options) {
79+
if (options.webdriverManagerArgs) {
80+
options.webdriverManagerArgs.forEach(function(element) {
81+
args.push(element);
82+
});
83+
}
7984
if (options.browsers) {
8085
options.browsers.forEach(function(element, index, array) {
8186
args.push("--" + element);

0 commit comments

Comments
 (0)