We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37a727 commit 61379c9Copy full SHA for 61379c9
javascript/node/selenium-webdriver/lib/webdriver.js
@@ -1294,10 +1294,10 @@ class WebDriver {
1294
async getBidi() {
1295
if (this._bidi === undefined) {
1296
const caps = await this.getCapabilities()
1297
- let WebSocketUrl = caps['map_'].get('webSocketUrl')
1298
- this._bidi = new BIDI(WebSocketUrl.replace('localhost', '127.0.0.1'))
1299
- }
1300
- return this._bidi;
+ let WebSocketUrl = caps['map_'].get('webSocketUrl')
+ this._bidi = new BIDI(WebSocketUrl.replace('localhost', '127.0.0.1'))
+ }
+ return this._bidi
1301
}
1302
1303
/**
0 commit comments