Skip to main content

常用的selenium-webdriver设置

Project description

SeleniumCommonSetting

常用的selenium-webdriver设置

更新

  • 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

SeleniumCommonSetting-1.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SeleniumCommonSetting-1.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file SeleniumCommonSetting-1.1.1.tar.gz.

File metadata

  • Download URL: SeleniumCommonSetting-1.1.1.tar.gz
  • Upload date:
  • Size: 3.8 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

Hashes for SeleniumCommonSetting-1.1.1.tar.gz
Algorithm Hash digest
SHA256 992cebafe741707ba59091f142bcdd83cb203841f66a883e5e5f014b1aaaf877
MD5 876396c15d6730ce12067d11a9e4b0e9
BLAKE2b-256 4c690647ba99a9362e79754fb249c190aec5488a887c1c507052cdb66b4d85e4

See more details on using hashes here.

File details

Details for the file SeleniumCommonSetting-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: SeleniumCommonSetting-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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

Hashes for SeleniumCommonSetting-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92b6f53b291c891187705c5f1cd3444f0f03c56715fe1557ef2f484be1d5a46e
MD5 77f4e5224de24d2e015139fcf0121dc6
BLAKE2b-256 4fb5462dbdea9f8225d6a1344b09e5c847b5d7ef94068e079a2d289a54440b9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page