- Starter project with default structure using walnutjs.
- Use this project as a template to create your own project based on walnutjs
Before start, you need to install the following programs:
- java - tested on 1.8.0_211
- node - tested on v10.16.0
- selenium webserver:
- webdriver-manager - A selenium server and browser driver manager
- zalenium - A flexible and scalable selenium grid
-
Use this few steps to install JAVA and set
JAVA_HOME
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
- Get the JRE path
sudo update-alternatives --config java
- Set in the file and update:
- edit
/etc/environment
- add
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
- run
source /etc/environment
- edit
- Get the JRE path
-
Clone this repo into your workspace
git clone git@github.com:mmendesas/walnutjs-boilerplate.git cd walnutjs-boilerplate
-
Install the dependencies of the project
npm install
-
For execution just run these following commands to open
selenium-server
:webdriver-manager update webdriver-manager start
-
And just run
npm start
inside the project folder, to start your tests