常用的selenium-webdriver设置
Project description
SeleniumCommonSetting
常用的selenium-webdriver设置
更新
- 1.2.0 2022/01/10
- 增加添加user-agent功能
- 1.1.1 2021/12/28
- 修正chromium拼写错误问题。
- 1.1.0 2021/12/28
- 增加支持Chromnium。
- 修改参数localdata_path默认值为'default'。
- 1.0.6 2021/11/21
- 修改了名称为SeleniumCommonSetting,Class也修改为SeleniumCommonSetting。
- 1.0.5 2021/11/16
- 对注释和部分参数名进行修改,减少使用时引用的参数错误。
介绍
常用的selenium webdriver chrome options配置项设置工具。
用例
属性
- options: 根据设置的参数所返回的chrome_options。
参数
- localdata_path: 浏览器本地文件的地址,默认为None,可赋值'default'来导入本地文件的默认地址。
- extension_dir:存放浏览器插件的【文件夹地址】,默认为None,插件必须为打包好的crx格式,【不能】与无窗口模式同时使用。
- headless: 无窗口模式,默认为False。
- pic: 无图模式,默认为False。
- js: 不加载Javascript,默认为False。
- css:不加载CSS,默认为False。
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SeleniumCommonSetting-1.2.0.tar.gz.
File metadata
- Download URL: SeleniumCommonSetting-1.2.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41190a5e5da94297c1e648a6102cbb2413a18509a3b04afad8af9c4790a54e40
|
|
| MD5 |
95826f4459fee4fb65d1897dc46d7100
|
|
| BLAKE2b-256 |
e6b4aad2f00afb5f7147c9e354349eed9f83146896f344d2f5aa07b32714a507
|
File details
Details for the file SeleniumCommonSetting-1.2.0-py3-none-any.whl.
File metadata
- Download URL: SeleniumCommonSetting-1.2.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23c9c0d748f7dc9ffad339c27b33622c1e3db0fbb0b2bd16cbf957b787eab378
|
|
| MD5 |
9b92add45ef3c521b1b1dbd2e2f26157
|
|
| BLAKE2b-256 |
38bba11485a8d69dcfe246b8b35f990b0c0ed63be8555442071298e41b15759b
|