Constructor
new Channel(darwin, win32)
Name | Type | Description |
---|---|---|
darwin | string | The path to check when running on MacOS. |
win32 | string | The path to check when running on Windows. |
- Deprecated
- Instead of using this class, you should configure the Options with the appropriate binary location or let Selenium Manager handle it for you.
- Source
Members
(static, constant) BETA
Firefox's beta channel. Note this is provided mainly for convenience as the beta channel has the same installation location as the main release channel.
- Source
(static, constant) DEV
Firefox's developer channel.
- Source
(static, constant) NIGHTLY
Firefox's nightly release channel.
- Source
(static, constant) RELEASE
Firefox's release channel.
- Source
Methods
Symbols.serialize() → (non-null) {Promise.<string>}
- Source
- Type:
- Promise.<string>
locate() → (non-null) {Promise.<string>}
Attempts to locate the Firefox executable for this release channel. This will first check the default installation location for the channel before checking the user's PATH. The returned promise will be rejected if Firefox can not be found.
- Source
A promise for the location of the located Firefox executable.
- Type:
- Promise.<string>