Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Selenium Template

A simple example of selenium test written in Python

Requirements

Basic requirements (for Mac):

  1. Homebrew

  2. Python

    $ brew install python
    
  3. Chromedriver

    $ brew install chromedriver
    

Setup

$ pip install selenium==3.8.0

Test run

$ git clone https://github.com/joyzoursky/selenium-template.git
$ cd selenium-template
$ python test_script.py

Running in docker image

$ git clone https://github.com/joyzoursky/selenium-template.git
$ cd selenium-template
$ docker run -it -v $(pwd):/usr/workspace joyzoursky/python-chromedriver:3.6-alpine3.7-selenium sh
/ # cd /usr/workspace
/usr/workspace # python test_script.py

About

A simple example of selenium test written in Python

Resources

License

Releases

No releases published

Packages

No packages published

Languages