diff --git a/lib/chromedriver.js b/lib/chromedriver.js index a7c852a..e500c88 100644 --- a/lib/chromedriver.js +++ b/lib/chromedriver.js @@ -521,8 +521,8 @@ export class Chromedriver extends events.EventEmitter { } /** - * Sync the WebDriver protocol if current on going protocol is W3C or MJSONWP. - * Does nothing if driverVersion is null. + * Determines the driver communication protocol + * based on various validation rules. * * @returns {keyof PROTOCOLS} */