Metadata-Version: 2.1
Name: Selenium-Screenshot
Version: 1.1.0
Summary: This package is used to Clipped Images of Html Elements of Selenium Webdriver
Home-page: https://github.com/sam4u3/Selenium_Screenshot
Author: Sayar Mendis
Author-email: sayarmendis26@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: Pillow
Requires-Dist: selenium

**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 :**
```python
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 :**

````python
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 :**

[Email: sayarmendis26@gmail.com](mailto::sayarmendis26@gmail.com)



