Skip to content

Commit a501e6a

Browse files
authored
update doc string for CDP Commands (#9929)
Fixed spelling issue and fixed the return statement to be of Promise<string>
1 parent 940d4f8 commit a501e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/node/selenium-webdriver/chromium.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,11 @@ class Driver extends webdriver.WebDriver {
725725
}
726726

727727
/**
728-
* ends an arbitrary devtools command to the browser and get the result.
728+
* Sends an arbitrary devtools command to the browser and get the result.
729729
*
730730
* @param {string} cmd The name of the command to send.
731731
* @param {Object=} params The command parameters.
732-
* @return {!Promise<void>} A promise that will be resolved when the command
732+
* @return {!Promise<string>} A promise that will be resolved when the command
733733
* has finished.
734734
* @see <https://chromedevtools.github.io/devtools-protocol/>
735735
*/

0 commit comments

Comments
 (0)