Update doc

This commit is contained in:
Laurent Destailleur 2020-10-15 11:01:37 +02:00
parent d21578d759
commit f33688bd0c
2 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
"devDependencies": { "devDependencies": {
"cucumber": "^6.0.5", "cucumber": "^6.0.5",
"nightwatch": "^1.4.1", "nightwatch": "^1.4.3",
"nightwatch-api": "^3.0.1" "nightwatch-api": "^3.0.1"
}, },
"scripts": { "scripts": {

View File

@ -37,6 +37,15 @@ Now we can run selenium by two ways:
apt install yarnpkg apt install yarnpkg
``` ```
* Install *nodejs* libraries. For example on Ubuntu:
```
apt install npm
npm install cucumber
npm install nightwatch-api
npm install nightwatch
npm update
```
* In *nightwatch.conf.js* file inside the root directory of the project and inside the configuration file following environment variable has been specified. We can change the default values according to our local configuration. * In *nightwatch.conf.js* file inside the root directory of the project and inside the configuration file following environment variable has been specified. We can change the default values according to our local configuration.