This package is used to Clipped Images of Html Elements of Selenium Webdriver
Project description
Slenium Screenshot :
The Selenium Screenshot is used to clipped Html Element using Selenium Webdriver
Installations :
pip install Selenium-Screenshot
This Package Supported for Python 3.*
How to Use :
For Full Page ScreenShot :
from Screenshot import Screenshot_Clipping
from selenium import webdriver
Scr=Screenshot_Clipping.Screenshot()
driver = webdriver.Chrome()
url = "https://github.com/sam4u3/Selenium_Screenshot"
driver.get(url)
img_url=Scr.Full_Scrrenshot(driver,r'E:\Sayar_python\Selenium\test')
print(img_url)
driver.close()
driver.quit()
For Html Element Clipping :
from Screenshot import Screenshot_Clipping
from selenium import webdriver
Scr=Screenshot_Clipping.Screenshot()
driver = webdriver.Chrome()
url = "https://github.com/sam4u3/Selenium_Screenshot"
driver.get(url)
element=driver.find_element_by_class_name('pagehead-actions')
img_url=Scr.Get_element(driver,element,r'E:\Sayar_python\Selenium\test')
print(img_url)
driver.close()
driver.quit()
Contact Information :
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Selenium-Screenshot-1.2.0.tar.gz
.
File metadata
- Download URL: Selenium-Screenshot-1.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d749b634e1e23ce52fb47e2d4286493169671a293e156eea8c83f6c807ff937 |
|
MD5 | 73859ef0533f43e8b2c2499781984ad4 |
|
BLAKE2b-256 | a27151913c8bd33678edf35b036140894d72eb0e464ffb892906dd4b2a7f021d |