forked from PyWizards/Selenium_Screenshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKG-INFO
70 lines (48 loc) · 2.1 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Metadata-Version: 2.1
Name: Selenium-Screenshot
Version: 1.2.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: [email protected]
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
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 :**
````python
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 :**
[Email: [email protected]](mailto::[email protected])
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown