Skip to content

Python selenium framework skeleton with Behave and Pyderman

Notifications You must be signed in to change notification settings

misiekofski/selenpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python selenium framework skeleton

Requirements

  1. python3.7
  2. pip
  3. latest chrome browser

Installation

pip install -r requirements.txt in project main folder

Running tests

  1. From Pycharm by running .feature file
  2. From command line by running behave command from project main folder

Changing browser to Firefox (or any other)

Change in file ./features/environment.py lines

path = driver.install(browser=driver.chrome)
context.behave_driver = behave_webdriver.Chrome(path)

to

path = driver.install(browser=driver.firefox)
context.behave_driver = behave_webdriver.Firefox(path)

About

Python selenium framework skeleton with Behave and Pyderman

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published