Skip to content

Commit 3265eba

Browse files
committed
add note about FIREFOX_BINARY
1 parent ac4ab6e commit 3265eba

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,19 @@ python scripts/combine.py
279279
and change `create_console('browser')` to `create_console('floating')` in `VirtualEditor`
280280
constructor (please feel free to add a config option for this).
281281

282+
- If you see:
283+
284+
> `SessionNotCreatedException: Message: Unable to find a matching set of capabilities`
285+
286+
`geckodriver >=0.27.0` requires an _actual_ Firefox executable. Several places
287+
will be checked (including where `conda-forge` installs, as in CI): to test
288+
a Firefox _not_ on your `PATH`, set the following enviroment variable:
289+
290+
```bash
291+
export FIREFOX_BINARY=/path/to/firefox # ... unix
292+
set FIREFOX_BINARY=C:\path\to\firefox.exe # ... windows
293+
```
294+
282295
### Formatting
283296

284297
Minimal code style is enforced with `pytest-flake8` during unit testing. If installed,

0 commit comments

Comments
 (0)