This commit is contained in:
brow3c
2021-05-16 01:09:29 +09:00
parent ea780a206e
commit 18fb0c9821

View File

@@ -40,7 +40,7 @@ class NavigateService {
return params.sessionId ? this._getDriverExists(params) : this._getNewDriver()
}
_getDriverBySessionId(params) {
_getDriverExists(params) {
return new WebDriver(params.sessionId, new _http.Executor(Promise.resolve(this.config.hub)
.then(url => new _http.HttpClient(url, null, null))))
}