Skip to content

Commit

Permalink
update doc string for CDP Commands (#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 Oct 15, 2021
1 parent 940d4f8 commit a501e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/node/selenium-webdriver/chromium.js
Original file line number Diff line number Diff line change
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 a501e6a

Please sign in to comment.