Skip to content

Commit

Permalink
update doc string for CDP Commands (SeleniumHQ#9929)
Browse files Browse the repository at this point in the history
Fixed spelling issue and fixed the return statement to be of Promise<string>
  • Loading branch information
mastrzyz authored and elgatov committed Jun 27, 2022
1 parent ca3b32d commit 03073f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/node/selenium-webdriver/chromium.js
Expand Up @@ -725,11 +725,11 @@ class Driver extends webdriver.WebDriver {
}

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

0 comments on commit 03073f6

Please sign in to comment.