Skip to content

Commit 5676598

Browse files
Merge branch 'trunk' into dotnet-editorconfig
2 parents befa5d6 + 7ba6fc5 commit 5676598

File tree

9 files changed

+46
-43
lines changed

9 files changed

+46
-43
lines changed

common/mirror/selenium

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
11
[
2+
{
3+
"tag_name": "selenium-4.27.0",
4+
"assets": [
5+
{
6+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.27.0/selenium-dotnet-4.27.0.zip"
7+
},
8+
{
9+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.27.0/selenium-dotnet-strongnamed-4.27.0.zip"
10+
},
11+
{
12+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.27.0/selenium-java-4.27.0.zip"
13+
},
14+
{
15+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.27.0/selenium-server-4.27.0.jar"
16+
},
17+
{
18+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.27.0/selenium-server-4.27.0.zip"
19+
}
20+
]
21+
},
222
{
323
"tag_name": "nightly",
424
"assets": [
525
{
6-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/nightly/selenium-java-4.27.0-SNAPSHOT.zip"
26+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/nightly/selenium-java-4.28.0-SNAPSHOT.zip"
727
},
828
{
9-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/nightly/selenium-server-4.27.0-SNAPSHOT.jar"
29+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/nightly/selenium-server-4.28.0-SNAPSHOT.jar"
1030
},
1131
{
12-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/nightly/selenium-server-4.27.0-SNAPSHOT.zip"
32+
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/nightly/selenium-server-4.28.0-SNAPSHOT.zip"
1333
}
1434
]
1535
},
@@ -932,28 +952,5 @@
932952
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-3/selenium-server-4.0.0-rc-3.zip"
933953
}
934954
]
935-
},
936-
{
937-
"tag_name": "selenium-4.0.0-rc-2",
938-
"assets": [
939-
{
940-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-2/selenium-dotnet-4.0.0-rc2.zip"
941-
},
942-
{
943-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-2/selenium-dotnet-strongnamed-4.0.0-rc2.zip"
944-
},
945-
{
946-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-2/selenium-html-runner-4.0.0-rc-2.jar"
947-
},
948-
{
949-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-2/selenium-java-4.0.0-rc-2.zip"
950-
},
951-
{
952-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-2/selenium-server-4.0.0-rc-2.jar"
953-
},
954-
{
955-
"browser_download_url": "https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0-rc-2/selenium-server-4.0.0-rc-2.zip"
956-
}
957-
]
958955
}
959956
]

py/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ compile_pip_requirements(
6262
],
6363
)
6464

65-
SE_VERSION = "4.28.0.202411252021"
65+
SE_VERSION = "4.28.0.202411261607"
6666

6767
BROWSER_VERSIONS = [
6868
"v85",

py/CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Selenium 4.27.1
2+
* Fix `pyproject.toml` for installable from sdist (#14806)
3+
* Revert the Deprecation warnings of WebElement.get_attribute() (#14808)
4+
15
Selenium 4.27.0
26
* Add CDP for Chrome 131 and remove 128
37
* Add Firefox CDP deprecation warnings (#14787)

py/docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
# The short X.Y version.
5959
version = '4.28'
6060
# The full version, including alpha/beta/rc tags.
61-
release = '4.28.0.202411252021'
61+
release = '4.28.0.202411261607'
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
6464
# for a list of supported languages.

py/pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "selenium"
7-
version = "4.28.0.202411252021"
8-
license = "Apache 2.0"
7+
version = "4.28.0.202411261607"
8+
license = { text = "Apache 2.0" }
99
description = "Official Python bindings for Selenium WebDriver."
1010
readme = "README.rst"
1111
requires-python = "~=3.8"
@@ -24,6 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.10",
2525
"Programming Language :: Python :: 3.11",
2626
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
2728
]
2829
dependencies = [
2930
"urllib3[socks]>=1.26,<3",
@@ -40,7 +41,7 @@ zip-safe = false
4041
[tool.setuptools.packages.find]
4142
include = ["selenium*"]
4243
exclude = ["test*"]
43-
namespace = false
44+
namespaces = false
4445
# include-package-data is `true` by default in pyproject.toml
4546

4647
[project.urls]

py/selenium/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818

19-
__version__ = "4.28.0.202411252021"
19+
__version__ = "4.28.0.202411261607"

py/selenium/webdriver/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from .wpewebkit.service import Service as WPEWebKitService # noqa
4545
from .wpewebkit.webdriver import WebDriver as WPEWebKit # noqa
4646

47-
__version__ = "4.28.0.202411252021"
47+
__version__ = "4.28.0.202411261607"
4848

4949
# We need an explicit __all__ because the above won't otherwise be exported.
5050
__all__ = [

py/selenium/webdriver/remote/webelement.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ def get_attribute(self, name) -> str | None:
173173
# Check if the "active" CSS class is applied to an element.
174174
is_active = "active" in target_element.get_attribute("class")
175175
"""
176-
177-
warnings.warn(
178-
"using WebElement.get_attribute() has been deprecated. Please use get_dom_attribute() instead.",
179-
DeprecationWarning,
180-
stacklevel=2,
181-
)
182-
183176
if getAttribute_js is None:
184177
_load_js()
185178
attribute_value = self.parent.execute_script(

py/tox.ini

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
[tox]
2-
envlist = docs, flake8, isort
2+
envlist = docs, flake8, isort, validate-pyproject
3+
4+
[testenv:validate-pyproject]
5+
skip_install = true
6+
deps =
7+
validate-pyproject==0.23
8+
packaging==24.2
9+
commands =
10+
validate-pyproject ./pyproject.toml
311

412
[testenv:docs]
513
skip_install = true
614
deps =
715
-r {toxinidir}/docs/requirements.txt
816
-r {toxinidir}/requirements.txt
917

10-
commands =
18+
commands =
1119
; regenerate autodoc stub pages
1220
sphinx-autogen docs/source/api.rst
13-
; build api docs
21+
; build api docs
1422
sphinx-build -b html -d ../build/docs/doctrees docs/source ../build/docs/api/py {posargs}
1523
setenv =
1624
PYTHONPATH = {toxinidir}/.

0 commit comments

Comments
 (0)