Metadata-Version: 2.1
Name: Selenium-Screenshot
Version: 1.4.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
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 :**
        ```python
        from Screenshot import Screenshot_Clipping
        from selenium import webdriver
        
        
        
        ob=Screenshot_Clipping.Screenshot()
        driver = webdriver.Chrome()
        url = "https://github.com/sam4u3/Selenium_Screenshot/tree/master/test"
        driver.get(url)
        img_url=ob.full_Screenshot(driver, save_path=r'D:\Sayar Mendis\Python_Projects\Selenium\test', image_name='Myimage.png')
        print(img_url)
        driver.close()
        
        driver.quit()
        ```
        
        **For Html Element Clipping :**
        
        ````python
        from Screenshot import Screenshot_Clipping
        from selenium import webdriver
        
        
        ob=Screenshot_Clipping.Screenshot()
        driver = webdriver.Chrome()
        url = "https://github.com/sam4u3/Selenium_Screenshot/blob/master/Screenshot/Screenshot_Clipping.py"
        driver.get(url)
        
        element=driver.find_element_by_class_name('signup-prompt')
        img_url=ob.get_element(driver, element, r'D:\Sayar Mendis\Python_Projects\Selenium\test')
        print(img_url)
        
        driver.close()
        
        driver.quit()
        
        ````
        
        **For Html Element Clipping with Hiding Element :**
        ````python
        from Screenshot import Screenshot_Clipping
        from selenium import webdriver
        
        
        ob=Screenshot_Clipping.Screenshot()
        driver = webdriver.Chrome()
        url = "https://github.com/sam4u3"
        driver.get(url)
        Hide_elements=['class=avatar width-full height-full avatar-before-user-status'] # Use full class name
        img_url=ob.full_Screenshot(driver, save_path=r'D:\Sayar Mendis\Python_Projects\Selenium\test', elements=Hide_elements, image_name='Myimage.png')
        print(img_url)
        driver.close()
        
        driver.quit()
        
        
        ````
        
        **Contact Information :**
        
        [Email: sayarmendis26@gmail.com](mailto::sayarmendis26@gmail.com)
        
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
