Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Docker image includes python 2.7, selenium 2.53.2 and firefox 45.0.2. uses firefox as the default driver.

Notifications You must be signed in to change notification settings

tyy02/webdriver-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

Webdriver-python

A Docker image includes python 2.7, selenium 2.52.0 and firefox 45.0.2. It uses Firefox as the driver. Dockerfile

Run image

There are two test cases in the main.py test file and each case tests a keyword searching in www.baidu.com.

We import the module unittest, when finish the two test cases, you will get the result. "." presents the PASS.

$ docker run tyy02/webdriver-python

Customize

Use the RESOLUTION environmental variable to customize screen size and depth. The default is "1024x768x24". For example:

$ docker run -e RESOLUTION=1920x1600x24 tyy02/webdriver-python

About

A Docker image includes python 2.7, selenium 2.53.2 and firefox 45.0.2. uses firefox as the default driver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /