This commit is contained in:
brow3c
2021-05-16 01:28:51 +09:00
parent a01f850033
commit 01d6592937

View File

@@ -42,7 +42,7 @@ class NavigateService {
}
async _getDriverExists(params) {
return new WebDriver(new Session(params.sessionId, this.config.capabilities), new _http.Executor(Promise.resolve(this.config.hub)
return new WebDriver(params.sessionId, new _http.Executor(Promise.resolve(this.config.hub)
.then(url => new _http.HttpClient(url, null, null))))
}