Skip to content

Commit 61379c9

Browse files
committed
[js] Fix formatting
1 parent a37a727 commit 61379c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

javascript/node/selenium-webdriver/lib/webdriver.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,10 +1294,10 @@ class WebDriver {
12941294
async getBidi() {
12951295
if (this._bidi === undefined) {
12961296
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;
1297+
let WebSocketUrl = caps['map_'].get('webSocketUrl')
1298+
this._bidi = new BIDI(WebSocketUrl.replace('localhost', '127.0.0.1'))
1299+
}
1300+
return this._bidi
13011301
}
13021302

13031303
/**

0 commit comments

Comments
 (0)