https://github.com/ruslanxdev/hermione-geckodriver
Hermione plugin for launch geckodriver.
https://github.com/ruslanxdev/hermione-geckodriver
Last synced: about 1 year ago
JSON representation
Hermione plugin for launch geckodriver.
- Host: GitHub
- URL: https://github.com/ruslanxdev/hermione-geckodriver
- Owner: ruslanxdev
- License: mit
- Created: 2018-11-19T11:45:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T13:52:33.000Z (over 7 years ago)
- Last Synced: 2025-03-18T17:24:42.513Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hermione-geckodriver
Hermione plugin for lounch geckodriver.
## Install
```
npm i -D hermione-geckodriver
```
## Usage
1. Install [geckodriver](https://github.com/mozilla/geckodriver) ([node-geckodriver](https://github.com/vladikoff/node-geckodriver)).
```
npm i -g geckodriver
```
2. Install Firefox:
```
brew cask install firefox
```
or download [here](http://ftp.mozilla.org/pub/firefox/releases).
3. Set options for the plugin in your hermione config:
```
{
gridUrl: 'http://127.0.0.1:/wd/hub',
plugins: {
'hermione-geckodriver': {
geckoDriverArgs: ['--port=4444', '--disable-gpu']
}
},
system: {
mochaOpts: {
timeout: 0
}
}
}
```
## Options
| Option | Default | Description |
| --- | --- | --- |
| `geckoDriverArgs` | | Arguments for geckodriver. |
## Licence
MIT