se_com_opts
常用的selenium-webdriver设置
更新
- 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。
用例
- SetChromeOptions(webdriver).options: 返回最基础的设置项。
- SetChromeOptions(webdriver,localdata_path = ’default').options: 返回使用默认本地*文件地址的设置项。
- SetChromeOptions(webdriverm, extension_dir = <extension_dir>).options: 返回使用crx插件的设置项。
Metadata
Release files for se-com-opts 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| se-com-opts-1.0.5.tar.gz | 3.5 kB | Without provenance | Details for se-com-opts-1.0.5.tar.gz |
Release files / se-com-opts-1.0.5.tar.gz
| Download URL | se-com-opts-1.0.5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37e18a9a784923e071a4adf711fe11f85bbda73e8f75cecbd5192a20f1daf172
|
|
BLAKE2b-256 checksum How to use checksums |
99a95546e5ea88152234707cb75178f5c0145246686f02f2d536900a8ff4ca7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for se-com-opts 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.