Skip to content

rajadavidh/learning-selenium-behave-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Selenium and BDD in python

Code examples for learning combination of Selenium and Behaviour-Driven Development (BDD) in python.

Behave directory structure:

/features
    *.feature
    environment.py
    /steps
        *.py

*.feature files should have identical name with *.py* inside /steps directory

Running cucumber script from terminal:

behave --no-capture features/*.feature

Required libraries:

  • Selenium Python
  • Behave
  • Chromedriver

Install libraries

Run this command on terminal: pip install -r requirements.txt

Get chromedriver

Download it here: http://chromedriver.chromium.org/downloads

Add it inside the project directory

About

Code examples for learning combination of Selenium and Behaviour-Driven Development (BDD) in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published