Skip to main content

python package which helps in creation of many screenshots for selenium.webdriver

Project description

GitHub last commit GitHub license<space><space> Documentation Status https://travis-ci.org/stas-prokopiev/selenium_screenshots.svg?branch=master PyPI PyPI - Python Version

Short Overview.

selenium_screenshots is a python package that helps in creating many screenshots for selenium webdrivers.

Example

from selenium import webdriver
from selenium_screenshots.main import Screenshots
# Please define here any webdriver you would like to use
# E.G. driver = webdriver.Chrome()
screenshots_handler = Screenshots(driver)
# When you would want to create a screenshot, just call method
# As the result you will get a screenshot in the directory: ./screenshots/
screenshots_handler.create_screenshot()

Installation via pip:

pip install selenium_screenshots

Usage examples

Arguments of the class object initializer: Screenshots

Contacts

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium_screenshots-0.1.0.tar.gz (15.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page