Skip to content

Commit 7112694

Browse files
committed
fix lib/network.js
1 parent 5e3d747 commit 7112694

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
const network = require('../bidi/network')
18+
const { Network: getNetwork } = require('../bidi/network')
1919
const { InterceptPhase } = require('../bidi/interceptPhase')
2020
const { AddInterceptParameters } = require('../bidi/addInterceptParameters')
2121

@@ -39,7 +39,7 @@ class Network {
3939
if (this.#network !== undefined) {
4040
return
4141
}
42-
this.#network = await network(this.#driver)
42+
this.#network = await getNetwork(this.#driver)
4343

4444
await this.#network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED))
4545

0 commit comments

Comments
 (0)