Skip to main content

常用的selenium-webdriver设置

Project description

SeleniumCommonSetting

常用的selenium-webdriver设置

更新

  • 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.0.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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SeleniumCommonSetting-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 4ff6aac3161948b59fa198e7822b29a8d1ef974f01071b9dfcd031b2fe117a90
MD5 b1810fd66e66d615ffc2ab75588002d6
BLAKE2b-256 ce44ebd3c0b0c6eb785345b40425235210922a842458c7f3a45d337117594929

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SeleniumCommonSetting-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa0d5deac3a821a2f43999a2eebcc2d25e0d94f76da2fe99a3c22be36196d8d4
MD5 d4917d1cffaca261a83c0f8a1d7742fa
BLAKE2b-256 1386fc551a1de95c7a209d1ef4b39dccf54caab0bbceea2f8e67bcde0139a537

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