Skip to content

Update selenium to 4.41.0#2449

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-selenium-4.20.0-to-4.41.0
Open

Update selenium to 4.41.0#2449
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-selenium-4.20.0-to-4.41.0

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates selenium from 4.20.0 to 4.41.0.

Changelog

4.41.0

* Support CDP versions: v143, v144, v145
* Fix return type hint for `alert_is_present` (16975)
* Use lazy imports in webdriver __init__.py (16993)
* SE_DEBUG warns only when overriding user settings (17009)
* Modularize Bazel build with per-module targets (17012)
* [grid] Add session event API for server-side event bus integration (17015)
* [bidi]: add emulation command `set_screen_settings_override` (17030)

4.40.0

* Properly verify Selenium Manager exists (16711)
* Remove deprecated FTP proxy support (16721)
* Add LocalWebDriver base class (16730)
* Add type hints for WebElement.find_element(s) (16772)
* Add/fix type hints for find_element/find_elements (16786)
* [bidi]: add emulation command `set_network_conditions` (16702)
* Add new ruff lint rules, fix violations and type annotations (16789)
* Remove deprecated FirefoxBinary class (16811)
* Fix type annotations, make docstrings consistent, centralize dev dependencies (16821)
* Fix remaining mypy errors and enable CI for type checking (16837)
* use SE_DEBUG to enable debugging (16816)
* improve how tests are run against the grid server (16851)
* Add type annotations to bidi network module (16875)
* Add type annotations (16883)
* have SE_DEBUG output driver logs as well (16902)
* use `is_url_connectable` for driver status check (16881)

4.39.0

* Add CDP for Chrome 143 and remove 140
* [bidi]: add emulation command - `set_locale_override` (16504)
* [bidi]: add emulation command `set_scripting_enabled` (16513)
* Update docstrings to google pydoc format (16511)
* Update docstrings (remove reST leftovers and resolve D200) (16525)
* Fix docstring formatting and apply ruff linting rules (16527)
* Fix Ruff D417 warnings in docstrings (16535)
* Fix ruff D415 warnings in docstrings (16536)
* [bidi]: add `set_screen_orientation_override` command in Emulation (16522)
* Fix D205 ruff warnings for docstrings and add type hints (16537)
* [bidi]: add `set_download_behavior` command (16556)
* Fix more type annotations (16551)
* [bidi]: add emulation command `set_user_agent_override` (16595)
* Improve type hints with union syntax and native types (16590)
* Use daemon threads for WebSocket connections (16298)
* [bidi] Allow resetting viewport (16623)

4.38.0

* Add CDP for Chrome 142 and remove 139
* [py][bidi]: add set_timezone_override command in emulation (16500)
* Replaced :param: and :args: from docstrings (16469)

4.37.0

* Add CDP for Chrome 141 and remove 138
* Fix mypy errors in by file and exceptions file (16300)
* Update docstrings style according to google guideline (16445)
* Support Python 3.14 and drop Python 3.9 (16342)
* Update docstrings style (16427)
* Fix default rpId in virtual authenticator (16428)
* Raise NotImplementedError when deleting downloads in driver subclass (16423)
* Configure WebSocket timeout and wait interval via ClientConfig (16248)
* Re-add defaults for Chromium kwargs (16372)
* Add --enable-chrome-logs to chrome service args to inherit browser i/o streams (16202)
* Fix type annotations in the chromium webdriver file (16309)
* Raise InvalidSelectorException for compound class names (16291)

4.36.0

* Add CDP for Chrome 140 and remove 137
* close ipv6 port in case of error (16165)
* Update docstring and comments in keys.py (16187)
* Fix formatting (16189)
* Fix type annotation error and raise clearer error message (16174)
* Fix type annotation errors in service.py (16250)
* replace `platform.system()` with `sys.platform` (16259)
* Fix mypy type annotation issues in action_builder (16207)
* [bidi]: add `downloadEnd` event for browsing context (16209)
* Specify the full path for fedcm import in webdriver.py (16286)
* Fix mypy errors (16283)
* Update DesiredCapabilities example to use modern Options API (16295)
* Add args to is_url_connectable (16212)
* Convert all relative imports to absolute imports (16311)
* Raise InvalidSelectorException for compound class names (16291)
* Fix type annotations in the chromium webdriver file (16309)

4.35.0

* Add CDP for Chrome 139 and remove 136
* [bidi]: implement bidi module - emulation (15819)
* Allow free_port() to bind to IPv6 if IPv4 is unavailable (16003)
* Fix vendor prefix for Edge browser remote connections (16078)
* [bidi]: support `accept_insecure_certs` and `proxy` parameters in `create_user_context` (15983)
* Encapsulated Geo Location co-ordinates using `getters/setters` (16079)
* [bidi]: add `unhandled_prompt_behavior` param for `create_user_context` (16112)
* add `default` as a value for SameSite (16129)
* Use native dict for type annotation (16157)
* Fix proxy basic auth handling special characters (16105)
* fix WebView2 and target issues related to CDP and BiDi (16140)
* [bidi]: add event handler support for browsing context (16101)
* [bidi]: Implement low-level API for Input BiDi module (16049)

4.34.1

* Updated urllib3 due to security issue https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5

4.34.0

* Add CDP for Chrome 138 and remove 135
* Upgrade type hints (15784)
* Fix type error for attribute in remote_connection.py (15810)
* Fixed type hint (15814)
* Fix import for type hint (15817)
* [bidi]: add `enable_webextensions` option for chromium-based browsers (15794)
* Fix type annotation errors (15841)
* Fixed type annotation issues (15847)
* [bidi]: implement bidi permissions module (15830)
* Fixed mypy error and change source var (15853)
* do not use global var for devtools, allows multiple devtools to run (15881)
* Fix : Mypy type annotation errors - 2 (15848)
* [bidi]: add `timestamp` to `HistoryUpdatedParams` class (15892)
* Fix possible TypeError in expected conditions (15891)
* Refactor server.py to use properties (15840)
* Add properties (getter/setter) for service args (15889)
* Fix error handler for non-json response bodies (15887)
* [bidi]: add BiDi script module commands (15880)
* Fix: Mypy type annotation errors in remote/webdriver.py (15900)
* Deprecate support for FTP proxies (15906)
* Type hint cleanup (15917)
* Adding Note to enable_webextensions() regarding CDP (plus gen docstring updates) (15927)
* Return HTTP response reason when remote connection error occurs (15942)
* [py] add macOS specific keys to Key enum (15948)

4.33.0

* Add CDP for Chrome 137 and remove 134
* [bidi]: add bidi storage module (15669)
* Add session_id property to webelement and fix mypy error  (15705)
* [BiDi] use constant for LogLevel (15677)
* Missing Headers Assignment in Network Class’s _on_request() (15736)
* Correct type annotations of default-None params (15341)
* Add missing 'id' property to ShadowRoot class (15739)
* Use ruff for linting and code formatting (15746)
* return `message` as part of exception in `execute` method (15751)
* [bidi]: Add bidi webExtension module (15749)
* Better error for downloads on local webdrivers (15756)
* Add missing modules to python API docs (15779)

4.32.0

* Add CDP for Chrome 136 and remove 133
* BiDi Network implementation of Intercepts and Auth in Python (14592)
* Fix select being able to select options hidden by css rules (15135)
* [bidi]: Implement BiDi browser module  (15616)
* Call service.stop() when session can't be started (15636)
* Remove logging API for non-Chromium browsers  (15641)
* Raise TypeError when creating webdriver.Remote() without options (15619)
* Add autoflake linter and update linting dependencies (15643)
* Fix driver service stop when starting browser fails (15656)
* [bidi]: add bidi command `session.status` and encapsulate in Session class (15615)
* Set remote active protocol in Firefox to BiDi only
* [bidi]: Implement BiDi `browsing_context` module (15631)
* [BiDi] separate log module from script module and add more tests (15668)
* Add client_config property and update deprecation messages (15674)
* Remove support for GLOBAL_DEFAULT_TIMEOUT environment variable (15673)
* Server class to manage (download/run) grid server (15666)

4.31.0

* Add CDP for Chrome 135 and remove 132
* Fix docstring issues that sphinx complains about (15466)
* service: only shutdown if process not terminated (15183)

4.30.0

* Add CDP for Chrome 134 and remove 131
* Remove support for v85 since no longer required by Firefox
* expected_conditions: correct type annotation (15337)
* use `By` class attributes instead of strings in locator converter (15402)
* fix invalid selector bug for mutation observation
* improve socket resource management with proper shutdown sequence (15453)

4.29.0

* Add CDP for Chrome 133 and remove 130
* [py] Disable strict time stamps in Firefox profile (15141)
* [py] Enhance PrintOptions to support default, predefined, and custom page sizes (15052) (15064)
* [py] Remove Firefox CDP (15200)
* [py] Handle named `get_cookie` and `delete_cookie` for None and empty strings (15073)
* [py] Document cygwin path for `send_keys` (15275)
* [py] Fix return type and docstring of get_downloadable_files (15292)

4.28.1

* [py] Fix installing most of the data from source distributions

4.28.0

* Add CDP for Chrome 132 and remove 129
* [py] fix packaging (14823)
* [py] Typing package import enhancement (14283)
* [py] moved all getters in `fedcm/account.py` into descriptor object. (14858)
* [py] add execute_cdp_cmd to Remote (14809)
* Added more detailed docstrings to find_element() (14930)
* [py] Refactored `remote/client_config.py` by moving `properties` into `descriptor` object (14899)
* py: Ensure DRIVER_PATH_ENV_KEY defaults to string (14862)
* [py] add doc for driver_path_env_key (14997)
* [py] Fix WebKitGTK driver name check (15046)
* [py] Upgraded WebDriverWait Docstrings (15054)
* [py] Added Docstrings to ActionBuilder (15065)
* [py] Upgraded WebElement Docstrings (15056)
* [py] Upgraded WebDriver Docstrings (15055)
* [java][js][py] Add straight relative-by locators (14482)
* [py] Added Docstrings to RelativeBy Class and Added Missing Deprecation Warning to with_tag_name() (15097)

4.27.1

* Fix `pyproject.toml` for installable from sdist (14806)
* Revert the Deprecation warnings of WebElement.get_attribute() (14808)

4.27.0

* Add CDP for Chrome 131 and remove 128
* Add Firefox CDP deprecation warnings (14787)
* Cleaned up Py doc sphinx warnings/errors and added README (14191)
* Added Deprecation of WebElement.get_attribute() per 13334 (14675)
* Fix TypeError when init Safari webdriver (14699)
* Set user_agent and extra_headers via ClientConfig (14718)
* Updated Handling for DetachedShadowRoot Exception (14677)
* Support FedCM commands (14710)

4.26.1

* DeprecationWarning raised in default webdriver init (14690)
* Remote connection use timeout from ClientConfig (14692)
* Add backward compatibility for AppiumConnection (14696)

4.26.0

* Add CDP for Chrome 130 and remove 127
* Added more internal logging for CDP (14668)
* Set consistent polling across java and python for `WebDriverWait` methods (14626)
* webkitgtk: log_path -> log_output (14618)
* Implement configurable configuration class for the http client (13286)
* Better compatibility with Appium-python (14587)
* Avoid waiting indefinitely on a frozen chromedriver process (14578)
* Allow logging diagnose in safari driver (14606)
* Remote connection throws response status code when data is empty (14601)
* Remove deprecated parameter from EdgeService (14563)
* Allow driver path to be set using ENV variables (14528)
* Remove un-needed print (14562)
* Fix a bug in `bidi/session.py` by removing mutable object as default value for function argument (14286)

4.25.0

* Add CDP for Chrome 129 and remove 126
* fix type errors for `service.py`, `cdp.py`, `webelement.py` and `remote_connection.py` (14448)
* fix type errors for `input_device` and `file_detector` (14459)
* fix type errors for `pointer_input.py`, `wheel_input.py` and `firefox/options.py` (14476)
* firefox_profile.py: use `with` statement in zipfile as Python 2.x support is dropped (14489)

4.24.0

* Allow overriding `GLOBAL_DEFAULT_TIMEOUT` (14354)
* fix mypy errors for `timeouts.py` and `print_page_options.py` (14362)
* fix mypy errors for `input_device.py`, `ie/options.py` and `selenium_manager.py` (14377)
* fix type errors for `log.py`, `chromium/options.py`, `websocket_connection.py` and `chrome/options.py` (14392)
* Add CDP for Chrome 128 and remove 125

4.23.1

* Fix 14278 and match ordering of dependencies (14297)

4.23.0

* Disable strict time stamps in Firefox profile (14168)
* Update the py api doc build (14173)
* Add websocket-client v.1.8.0 to setup.py (14187)
* Remove precompiled binaries from sdist (14233)
* Fix RelativeBynear to take 2 parameters (13082)
* Add CDP for Chrome 127 and remove 124

4.22.0

* Fix EOFError when calling the Remote WebDriver download_file method (14031)
* Add low-level sync API to use DevTools (13977)
* Add preference to enable CDP in Firefox by default (14091)
* Allow using enable_bidi property on options class
* Implement script module for BiDi
* Remove desired capabilities argument for Webkitgtk (14128)
* Make webkitgtk.webdriver same as wpewebkit.webdriver
* Add CDP for Chrome 126 and remove 123

4.21.0

* Add CDP for Chrome 125 and remove 122
* Moving ignore_local_proxy_environment_variables to BaseOptions (13926)
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant