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 usinf 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
import os
ob=Screenshot_Clipping.Screenshot()
driver = webdriver.Chrome()
url = "https://github.com/sam4u3/Selenium_Screenshot"
driver.get(url)
dir_path = os.path.dirname(os.path.realpath(__file__))
element=driver.find_element_by_class_name('pagehead-actions')
# img_url=ob.Get_element(driver,element,r'E:\Sayar_python\Selenium\test')
img_url=ob.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
import os
ob=Screenshot_Clipping.Screenshot()
driver = webdriver.Chrome()
url = "https://github.com/sam4u3/Selenium_Screenshot"
driver.get(url)
dir_path = os.path.dirname(os.path.realpath(__file__))
element=driver.find_element_by_class_name('pagehead-actions')
img_url=ob.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
Built Distribution
Close
Hashes for Selenium-Screenshot-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e3b0f9583d0fb4c483b62dfafa47fc1dc2bf76c78f68a6cbece7c0231a7416 |
|
MD5 | b91fa4f6eebd6c2f4b03ff9e684e0550 |
|
BLAKE2b-256 | 6ff2e4555ca0965ae6b9828bc19ea97e6458bb5ce4803d67a728b3863e06cd65 |
Close
Hashes for Selenium_Screenshot-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5762b9a61614b7020557f63789b53e44c6aadb1e83c232b3920268de8d8b6fc |
|
MD5 | bd8c2af61b63ca12768a1bd02fcfb369 |
|
BLAKE2b-256 | 670d29ee32c61d903517db2fbba9d240dc32635335d8683ea05cd79772387303 |