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 5e3d747 commit 7112694Copy full SHA for 7112694
javascript/node/selenium-webdriver/lib/network.js
@@ -15,7 +15,7 @@
15
// specific language governing permissions and limitations
16
// under the License.
17
18
-const network = require('../bidi/network')
+const { Network: getNetwork } = require('../bidi/network')
19
const { InterceptPhase } = require('../bidi/interceptPhase')
20
const { AddInterceptParameters } = require('../bidi/addInterceptParameters')
21
@@ -39,7 +39,7 @@ class Network {
39
if (this.#network !== undefined) {
40
return
41
}
42
- this.#network = await network(this.#driver)
+ this.#network = await getNetwork(this.#driver)
43
44
await this.#network.addIntercept(new AddInterceptParameters(InterceptPhase.AUTH_REQUIRED))
45
0 commit comments