Skip to content

About

Selenium Webdriver 3.11.0 integration with Cucumber.

Topics

Resources

Stars

12 stars

Watchers

4 watching

Forks

Latest commit

 

History

298 Commits

Folders and files

Repository files navigation

Selenium-Cucumber

CI Selenium Webdriver integration with Cucumber.


1. Stack:

  • 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.

2. Download the project.

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-cucumber

3. Choose your OS, Browser and Log Level on the POM.

On 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>

4. Step Definition By Action.

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

About

Selenium Webdriver 3.11.0 integration with Cucumber.

Topics

Resources

Stars

12 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages