源文件 https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES
搬运工
对重点版本做时间标注,具体时间点可以参考https://github.com/SeleniumHQ/selenium/releases
对重点更新做简单翻译
持续更新
python3.7
Popen.wait()
calls caught the wrong exceptions when timing outcapabilities
and set_capability
in wpewebkit/options.py (#12169)errorhandler.py
to corresponding exception object. (#12190)to_capabilities
method in ie/options.py
(#12262)RemoteConnection
class in remote/remote_connection.py
(#12261)ConnectionType
class outside Mobile
class to avoid nesting of classes (#12256)pathlib
module to check if the file exist in remote/file_detector.py
(#12253)firefox/firefox_profile.py
(#12271)SwitchTo
class (#12296)PrintOptions
class attributes to custom descriptor class. (#12297)common/actions
libraries. (#12325)ignore_proxy
in ChromiumRemoteconnection
ValueError
when proxy type is not acceptablekeys_to_typing
WPEWebKitService
and WebKitGTKService
in the public APIActionChains.scroll(...)
DEFAULT_SAFARI_CAPS
in safari/webdriver.py
(#12416)setter
methods of different browser options (#12328)popen_kw
mapping for all services.Options
classes now allow timeout
to be set partially and no longer raise an exception when all values are not provided. (#11623)SIGKILL
to subprocesses in instances where SIGTERM
was successful within 60 seconds.pop
when parsing service popen_kwalert_is_present
Service
destructors accessing modules that no longer existed during interpreter shutdown.relative
locator issues.service=
arg. closes #11067permissions.py
RemoteDriverServerException
send_remote_shutdown_command
implementations in serviceslog_path
docs for non chromium based servicesget_screenshot_as_file()
work with pathlib.Paths (#11095)protocols.py
acceptSslCerts
, platform
and version
is now deprecatedNone
when strict_file_interactability, set_window_rect or accept_insecure_certs are not settyping_extensions
to be compatible with py37
(#10613)tox -e docs
by pinning Jinja2
(#10492)get_timeout()
for urllib pool manager timeouts in remote connection (#10563)py.typed
in the libraryNoSuchElementException
for relative failures instead of IndexError
(#10078)Options
and Service
arguments in driver instantiation. (#9125,#9128)ELEMENT
(#9102, #9110)BREAKING CHANGE: Dropped support for python < 3.7
Remove support for XBL in Firefox.
Correct formatting with JS fragment
Add debugpy to requirements
Fix uploading multiple files on remote driver (#7472) (#8734)
Correct docstring around find_element and find_elements. Fixes #8806
Add the ability to ignore local proxys that are available
add script pinning to python bindings
Deprecate desired_capabilities property in favour of capabilities property
Update tests to use requirements file
Allow driver fixtures to be used in Chrome only tests
Update testing to use the latest pytest
do not update already set preference (#8692)
Added new argument creationflags in Service class for common, chrome, and firefox (#8647)
add se namespacing to file upload endpoint for all bindings (#8588)
Correct dependency management for code generator
Update host to connect to get a port. Fixes #8503
Poll quicker for the driver when starting up. Fixes #8477
Add support for DevTools APIs
Improve WebKitGTK and WPEWebKit support
Fix browserName typo for Edge WebView2
Fix wheel generation for multiple python versions
acceptInsecureCerts
to Options for Firefox. Fixes #8261其实后面还有几个小版本
set_headless
methods in favor of property setterauthenticate
methods from Alert
No changes just keeping python version in step with the rest of the project.
Firefox options can now be imported from selenium.webdriver as FirefoxOptions (#5120)
Headless mode can now be set in Chrome Options using set_headless
Headless mode can now be set in Firefox Options using set_headless
Add the WebKitGTK WebDriver and options class (#4635)
Browser options can now be passed to remote WebDriver via the options
parameter
Browser option parameters are now standardized across drivers as options
. firefox_options
,
chrome_options
, and ie_options
are now deprecated
Added missing W3C Error Codes (#4556)
Support has been removed for Python versions 2.6 and 3.3
*Iterate over capabilities in a way to support py2.7 and py3
firstMatch
and alwaysMatch
javascriptEnabled
capability for real browserstext
key to alert#sendKeys parameters for W3C Endpointtext
to send_keys, make sure we send a string not arrayNote If you are updating to this version, please also update GeckoDriver to v0.15.0
Use atoms for get_attribute and is_displayed when communicating with
a w3c compliant remote end.
Make it possible to specialise web element
Playwright是新兴的自动化测试工具,拥有丰富的功能和API,隐藏在众多的爬虫和自动化工具背后,而多模LLM的出现让Playwright可以如虎添翼,自动化智能化的RPA工具预计将会井喷般出现。