Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
deps(webdriver_js_extender): update webdriver_js_extender to 2.0 and
Browse files Browse the repository at this point in the history
update selenium typing to 3.x.
  • Loading branch information
qiyigg committed Jul 16, 2018
1 parent ed955e5 commit 6489643
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 74 deletions.
2 changes: 1 addition & 1 deletion lib/debugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export class DebugHelper {
},
(err: string) => {
console.error(err);
process.exit(1);
return process.exit(1) as never;
});
}

Expand Down
2 changes: 1 addition & 1 deletion lib/driverProviders/driverProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export abstract class DriverProvider {
if (this.config_.disableEnvironmentOverrides === true) {
builder.disableEnvironmentOverrides();
}
let newDriver = builder.build();
let newDriver = builder.build() as WebDriver;
this.drivers_.push(newDriver);
return newDriver;
}
Expand Down
82 changes: 12 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@types/node": "^6.0.46",
"@types/q": "^0.0.32",
"@types/selenium-webdriver": "~2.53.39",
"@types/selenium-webdriver": "^3.0.0",
"blocking-proxy": "^1.0.0",
"chalk": "^1.1.3",
"glob": "^7.0.3",
Expand All @@ -25,7 +25,7 @@
"saucelabs": "^1.5.0",
"selenium-webdriver": "3.6.0",
"source-map-support": "~0.4.0",
"webdriver-js-extender": "^1.0.0",
"webdriver-js-extender": "2.0.0",
"webdriver-manager": "^12.0.6"
},
"devDependencies": {
Expand Down

0 comments on commit 6489643

Please sign in to comment.