python package which helps in creation of many screenshots for selenium.webdriver
Project description
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
Links
Project local Links
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)
Close
Hashes for selenium_screenshots-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f133e14302178f2894ba9e950259c8a2243e2ab92c74fc683b9e7d61cca0f05 |
|
MD5 | 3e681a3ab7ac76aa6ea4dfc30ee1f462 |
|
BLAKE2b-256 | 0d7a266187e61ae90b1eb47feb39c7d8a1595e8e2b7d0cce4a0ef54c274e1735 |