From a501e6acbc96853247ef5a980ccfb6c61292709f Mon Sep 17 00:00:00 2001 From: Marcin Strzyz <37447884+mastrzyz@users.noreply.github.com> Date: Thu, 14 Oct 2021 22:36:08 -0700 Subject: [PATCH] update doc string for CDP Commands (#9929) Fixed spelling issue and fixed the return statement to be of Promise --- javascript/node/selenium-webdriver/chromium.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/node/selenium-webdriver/chromium.js b/javascript/node/selenium-webdriver/chromium.js index 5debca2335b0a..4e9e11f8995c2 100644 --- a/javascript/node/selenium-webdriver/chromium.js +++ b/javascript/node/selenium-webdriver/chromium.js @@ -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} A promise that will be resolved when the command + * @return {!Promise} A promise that will be resolved when the command * has finished. * @see */