Selenium Webdriver integration with Cucumber.
- Selenium WebDriver: 4.35.0.
- Cucumber (JVM) 1.2.6 with JUnit 4.13.1.
- Java 8 or higher and Maven.
- CI with GitHub Actions: the project is compiled on every push and pull request.
In order to start using the project you need to create your own Fork on Github and then clone the project:
git clone https://github.com/XXXX/selenium-cucumberOn the pom.xml file you can choose between:
- Several OS: Windows, Mac, Linux.
- Several Browsers: Chrome, Firefox, IE.
- Several log level configuration: All, Debug, Info, Warn, Error, Fatal, Off.
You just need to change the following lines:
<!-- Test Browser -->
<!-- This Parameters select where run the test
[Remote ,Firefox ,Chrome ,Internet Explorer] -->
<browser>YOUR_BROWSER</browser>
<!-- Test Operative System [linux, mac, windows]-->
<os>YOUR_OS</os>
<!-- Log Mode Section -->
<!-- Parameter for logger level use in this order to include the right information
[ALL > DEBUG > INFO > WARN > ERROR > FATAL > OFF]-->
<log.level>YOUR_LOG_MODE</log.level>On this project you can find the following set of predefined steps ordered by action already done for you. The types of actions are:
- Assertion Steps
- Click Steps
- Configuration Steps
- Input Steps
- JavaScript Handling Steps
- Keyboard Steps
- Navigation Steps
- Progress Steps
- Screenshot Steps
If you want more information or more predefined steps to add into your project you can visit:
https://github.com/selenium-cucumber/selenium-cucumber-java/blob/master/doc/canned_steps.md