From 50994d5f759440193d552b3412cf8ca6cceaabba Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Fri, 21 Mar 2025 23:57:46 -0400 Subject: [PATCH 1/4] Update Python package installation instructions --- examples/python/requirements.txt | 2 +- .../webdriver/getting_started/install_library.en.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/python/requirements.txt b/examples/python/requirements.txt index f1afcbd854a6..fa1b3e496e6a 100644 --- a/examples/python/requirements.txt +++ b/examples/python/requirements.txt @@ -1,4 +1,4 @@ -selenium==4.29.0 +selenium==4.30.0 pytest==8.3.5 trio==0.29.0 pytest-trio==0.8.0 diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md index c1fda4c5d1a4..8584b09a26ca 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md @@ -37,7 +37,7 @@ Specify the dependency in the project `build.gradle` file as `testImplementation {{% /tab %}} {{% tab header="Python" %}} The minimum supported Python version for each Selenium version can be found -in `Supported Python Versions` on [PyPi](https://pypi.org/project/selenium/) +in "Supported Python Versions" on [PyPi](https://pypi.org/project/selenium/). There are a couple different ways to install Selenium. @@ -50,11 +50,11 @@ pip install selenium ### Download -Alternatively you can download the [PyPI source archive](https://pypi.org/project/selenium/#files) -(selenium-x.x.x.tar.gz) and install it using _setup.py_: +Alternatively you can download the [PyPI Built Distribution](https://pypi.org/project/selenium/#files) +(selenium-x.x.x.-py3-none-any.whl) and install it using _pip_: ```shell -python setup.py install +pip install selenium-x.x.x.-py3-none-any.whl ```
From 216a7109932ad822a4554d5eee123f98727a6b46 Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Sat, 22 Mar 2025 00:07:45 -0400 Subject: [PATCH 2/4] Update Python package installation instructions translations --- .../webdriver/getting_started/install_library.ja.md | 4 ++-- .../webdriver/getting_started/install_library.pt-br.md | 6 +++--- .../webdriver/getting_started/install_library.zh-cn.md | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md index cc266706a996..0f2c95dc2fd1 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md @@ -48,10 +48,10 @@ pip install selenium ### ダウンロード または、ダウンロードすることもできます[PyPI ソースアーカイブ](https://pypi.org/project/selenium/#files) -(selenium-x.x.x.tar.gz) を使用してインストールします _setup.py_ +(selenium-x.x.x.-py3-none-any.whl) を使用してインストールします _pip_: ```shell -python setup.py install +pip install selenium-x.x.x.-py3-none-any.whl ```
diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md index 02456646fb26..5e3d749e866c 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md @@ -37,7 +37,7 @@ Especifique a dependência no `build.gradle` do seu projeto como `testImplementa {{% /tab %}} {{% tab header="Python" %}} A mínima versão suportada do Python para cada versão do Selenium pode ser encontrada -em `Supported Python Versions` no [PyPi](https://pypi.org/project/selenium/) +em "Supported Python Versions" no [PyPi](https://pypi.org/project/selenium/) Existe muitas formas diferentes de instalar Selenium. @@ -51,10 +51,10 @@ pip install selenium ### Download Como uma alternativa você pode baixar o [código fonte PyPI](https://pypi.org/project/selenium/#files) -(selenium-x.x.x.tar.gz) e instalar usando _setup.py_: +(selenium-x.x.x.-py3-none-any.whl) e instalar usando _pip_: ```shell -python setup.py install +pip install selenium-x.x.x.-py3-none-any.whl ```
diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md index 3a3932a94a3a..2b3335bafc75 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md @@ -48,11 +48,11 @@ pip install selenium ### 下载 -此外你可以从这里下载 [PyPI source archive](https://pypi.org/project/selenium/#files) -(selenium-x.x.x.tar.gz) 并通过: _setup.py_ 文件安装: +此外你可以从这里下载 [PyPI Built Distribution](https://pypi.org/project/selenium/#files) +(selenium-x.x.x.-py3-none-any.whl) 并通过: _pip_ 文件安装: ```shell -python setup.py install +pip install selenium-x.x.x.-py3-none-any.whl ```
From 4055fac96ebd97155fc30882e11b0534cf11112f Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Sat, 22 Mar 2025 18:28:55 -0400 Subject: [PATCH 3/4] Add punctuation --- .../webdriver/getting_started/install_library.pt-br.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md index 5e3d749e866c..3e0a116d3fd5 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md @@ -37,7 +37,7 @@ Especifique a dependência no `build.gradle` do seu projeto como `testImplementa {{% /tab %}} {{% tab header="Python" %}} A mínima versão suportada do Python para cada versão do Selenium pode ser encontrada -em "Supported Python Versions" no [PyPi](https://pypi.org/project/selenium/) +em "Supported Python Versions" no [PyPi](https://pypi.org/project/selenium/). Existe muitas formas diferentes de instalar Selenium. From 76e11632bc17021e8dc743a51558278ceee9c8c9 Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Sat, 22 Mar 2025 18:29:57 -0400 Subject: [PATCH 4/4] Bumped python version back to 4.29.0 --- examples/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/requirements.txt b/examples/python/requirements.txt index fa1b3e496e6a..f1afcbd854a6 100644 --- a/examples/python/requirements.txt +++ b/examples/python/requirements.txt @@ -1,4 +1,4 @@ -selenium==4.30.0 +selenium==4.29.0 pytest==8.3.5 trio==0.29.0 pytest-trio==0.8.0