Skip to content

Commit

Permalink
Add the debuggerAddress option to chromium.js (#9561)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalderman committed Jul 15, 2021
1 parent b0a4a29 commit 2c8c4ff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions javascript/node/selenium-webdriver/chromium.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,19 @@ class Options extends Capabilities {
return this
}

/**
* Sets the address of a Chromium remote debugging server to connect to.
* Address should be of the form "{hostname|IP address}:port"
* (e.g. "localhost:9222").
*
* @param {string} address The address to connect to.
* @return {!Options} A self reference.
*/
debuggerAddress(address) {
this.options_.debuggerAddress = address;
return this
}

/**
* Configures the driver to start the browser in headless mode.
*
Expand Down

0 comments on commit 2c8c4ff

Please sign in to comment.