Skip to content

Commit 0fe28e3

Browse files
committed
[js] Fix comment
1 parent 27ad7f4 commit 0fe28e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: javascript/node/selenium-webdriver/lib/network.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Network {
3030

3131
// This should be done in the constructor.
3232
// 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.
33+
// We can have a separate async method that initialises the Network instance.
3434
// However, that pattern does not allow chaining the methods as we would like the user to use it.
3535
// Since it involves awaiting to get the instance and then another await to call the method.
3636
// Using this allows the user to do this "await driver.network.addAuthenticationHandler(callback)"

0 commit comments

Comments
 (0)