SeleniumCommonSetting
常用的selenium-webdriver设置
更新
-
1.2.1
- 修正在不添加Chromium_path参数时依然会使用Chromium的BUG。
-
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。
Release files for SeleniumCommonSetting 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SeleniumCommonSetting-1.2.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SeleniumCommonSetting-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / SeleniumCommonSetting-1.2.1.tar.gz
| Download URL | SeleniumCommonSetting-1.2.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb10c1b2b65eeeb96a388088edfd0aa44a7eaec0708d9482418c58da09e4384d
|
|
BLAKE2b-256 checksum How to use checksums |
2e304480b15af468462b537bc8dafce58c16c12ff06102b0be836886653ff1e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / SeleniumCommonSetting-1.2.1-py3-none-any.whl
| Download URL | SeleniumCommonSetting-1.2.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8fb4ba32cf5c97ac58445aab9756220b63113e5b4986f7456c0aa5c95b5c13e
|
|
BLAKE2b-256 checksum How to use checksums |
41b2f12168907bb932553e46eba3ff0ed5af0d815766bc6b7370dd6da1e79684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|