Skip to content

Commit 2c8c4ff

Browse files
authored
Add the debuggerAddress option to chromium.js (#9561)
1 parent b0a4a29 commit 2c8c4ff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

javascript/node/selenium-webdriver/chromium.js

+13
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,19 @@ class Options extends Capabilities {
275275
return this
276276
}
277277

278+
/**
279+
* Sets the address of a Chromium remote debugging server to connect to.
280+
* Address should be of the form "{hostname|IP address}:port"
281+
* (e.g. "localhost:9222").
282+
*
283+
* @param {string} address The address to connect to.
284+
* @return {!Options} A self reference.
285+
*/
286+
debuggerAddress(address) {
287+
this.options_.debuggerAddress = address;
288+
return this
289+
}
290+
278291
/**
279292
* Configures the driver to start the browser in headless mode.
280293
*

0 commit comments

Comments
 (0)