We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27ad7f4 commit 0fe28e3Copy full SHA for 0fe28e3
javascript/node/selenium-webdriver/lib/network.js
@@ -30,7 +30,7 @@ class Network {
30
31
// This should be done in the constructor.
32
// But since it needs to call async methods we cannot do that in the constructor.
33
- // We can have a separate async method that initialises the Script instance.
+ // We can have a separate async method that initialises the Network instance.
34
// However, that pattern does not allow chaining the methods as we would like the user to use it.
35
// Since it involves awaiting to get the instance and then another await to call the method.
36
// Using this allows the user to do this "await driver.network.addAuthenticationHandler(callback)"
0 commit comments