diff options
Diffstat (limited to 'node_modules/selenium-webdriver/firefox/binary.js')
-rw-r--r-- | node_modules/selenium-webdriver/firefox/binary.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/selenium-webdriver/firefox/binary.js b/node_modules/selenium-webdriver/firefox/binary.js index f31440b4e..b997b480d 100644 --- a/node_modules/selenium-webdriver/firefox/binary.js +++ b/node_modules/selenium-webdriver/firefox/binary.js @@ -182,6 +182,15 @@ class Binary { } /** + * @return {(string|undefined)} The path to the Firefox executable to use, or + * `undefined` if WebDriver should attempt to locate Firefox automatically + * on the current system. + */ + getExe() { + return this.exe_; + } + + /** * Add arguments to the command line used to start Firefox. * @param {...(string|!Array.<string>)} var_args Either the arguments to add * as varargs, or the arguments as an array. @@ -197,6 +206,14 @@ class Binary { } /** + * @return {!Array<string>} The command line arguments to use when starting + * the browser. + */ + getArguments() { + return this.args_; + } + + /** * Specifies whether to use Firefox Developer Edition instead of the normal * stable channel. Setting this option has no effect if this instance was * created with a path to a specific Firefox binary. |