Skip to content

Commit 6f52ee7

Browse files
committed
Merge trunk and fix conflicts
1 parent ca6d7a9 commit 6f52ee7

File tree

298 files changed

+11105
-9749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+11105
-9749
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ body:
5050
id: selenium-version
5151
attributes:
5252
label: What version of Selenium are you currently using?
53-
description: Important! The latest released version of Selenium is 4.35 and we can't fix old versions.
53+
description: Important! The latest released version of Selenium is 4.36 and we can't fix old versions.
5454
placeholder: e.g., 4.17.0
5555
validations:
5656
required: true

.github/workflows/bazel.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ on:
5151
required: false
5252
type: string
5353
default: ''
54+
python-version:
55+
description: Custom Python version to use
56+
required: false
57+
type: string
58+
default: ''
5459
ruby-version:
5560
description: Custom Ruby version to use
5661
required: false
@@ -101,6 +106,9 @@ jobs:
101106
if: inputs.os != 'windows'
102107
run: |
103108
sudo rm -rf "$CHROMEWEBDRIVER" "$EDGEWEBDRIVER" "$GECKOWEBDRIVER"
109+
- name: Set Python version
110+
if: inputs.python-version != ''
111+
run: echo '${{ inputs.python-version }}' > py/.python-version
104112
- name: Set Ruby version
105113
if: inputs.ruby-version != ''
106114
run: echo '${{ inputs.ruby-version }}' > rb/.ruby-version
@@ -126,6 +134,8 @@ jobs:
126134
with:
127135
bazelisk-cache: true
128136
bazelrc: common --color=yes
137+
# Workaround for long path issues: https://github.com/bazelbuild/bazel/pull/22532
138+
output-base: ${{ inputs.os == 'windows' && 'D://b' || '' }}
129139
cache-version: 2
130140
disk-cache: ${{ inputs.cache-key }}
131141
external-cache: |

.github/workflows/ci-python.yml

Lines changed: 62 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,49 +11,73 @@ jobs:
1111
with:
1212
name: Build
1313
cache-key: py-build
14-
run: bazel build //py:selenium-wheel //py:selenium-sdist
14+
run: |
15+
bazel build //py:selenium-wheel //py:selenium-sdist
1516
1617
docs:
1718
name: Documentation
18-
needs: build
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout source tree
2222
uses: actions/checkout@v4
23-
- name: Set up Python 3.9
23+
- name: Set up Python 3.10
2424
uses: actions/setup-python@v6
2525
with:
26-
python-version: 3.9
26+
python-version: '3.10'
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install tox==4.30.2
30+
pip install tox
3131
- name: Generate docs
32-
run: tox -c py/tox.ini
32+
run: |
33+
tox -c py/tox.ini
3334
env:
3435
TOXENV: docs
3536

36-
mypy:
37-
name: Mypy
38-
needs: build
37+
typing:
38+
name: Type Checker
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout source tree
4242
uses: actions/checkout@v4
43-
- name: Set up Python 3.9
43+
- name: Set up Python 3.10
4444
uses: actions/setup-python@v6
4545
with:
46-
python-version: 3.9
46+
python-version: '3.10'
4747
- name: Install dependencies
4848
run: |
4949
python -m pip install --upgrade pip
50-
pip install tox==4.30.2
50+
pip install tox
5151
- name: Run type checking
5252
run: |
5353
tox -c py/tox.ini || true
5454
env:
5555
TOXENV: mypy
5656

57+
unit-tests:
58+
name: Unit Tests
59+
needs: build
60+
uses: ./.github/workflows/bazel.yml
61+
strategy:
62+
fail-fast: false
63+
matrix:
64+
include:
65+
- python-version: '3.10'
66+
os: ubuntu
67+
- python-version: '3.10'
68+
os: macos
69+
- python-version: '3.14'
70+
os: ubuntu
71+
- python-version: '3.14'
72+
os: macos
73+
with:
74+
name: Unit Tests (${{ matrix.python-version }}, ${{ matrix.os }})
75+
os: ${{ matrix.os }}
76+
python-version: ${{ matrix.python-version }}
77+
cache-key: python-unit-test-${{ matrix.python-version }}
78+
run: |
79+
bazel test //py:unit
80+
5781
remote-tests:
5882
name: Remote Tests
5983
needs: build
@@ -67,7 +91,8 @@ jobs:
6791
name: Integration Tests (remote, ${{ matrix.browser }})
6892
browser: ${{ matrix.browser }}
6993
cache-key: py-remote-${{ matrix.browser }}
70-
run: bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote
94+
run: |
95+
bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote
7196
7297
browser-tests:
7398
name: Browser Tests
@@ -89,10 +114,30 @@ jobs:
89114
os: ${{ matrix.os }}
90115
cache-key: py-browser-${{ matrix.browser }}
91116
run: |
92-
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi
93-
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:test-${{ matrix.browser }}
117+
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }}
118+
119+
browser-tests-windows:
120+
name: Browser Tests
121+
needs: build
122+
uses: ./.github/workflows/bazel.yml
123+
strategy:
124+
fail-fast: false
125+
matrix:
126+
include:
127+
- browser: chrome
128+
os: windows
129+
- browser: edge
130+
os: windows
131+
with:
132+
name: Integration Tests (${{ matrix.browser }}, ${{ matrix.os }})
133+
browser: ${{ matrix.browser }}
134+
os: ${{ matrix.os }}
135+
cache-key: py-browser-${{ matrix.browser }}
136+
run: |
137+
fsutil 8dot3name set 0
138+
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }}
94139
95-
safari-tests:
140+
browser-tests-macos:
96141
name: Browser Tests
97142
needs: build
98143
uses: ./.github/workflows/bazel.yml
@@ -108,4 +153,4 @@ jobs:
108153
os: ${{ matrix.os }}
109154
cache-key: py-browser-${{ matrix.browser }}
110155
run: |
111-
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:test-${{ matrix.browser }}
156+
bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }} //py:test-${{ matrix.browser }}

.github/workflows/ci-ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
matrix:
9797
include:
9898
- browser: edge
99-
os: windows
99+
os: macos
100100
with:
101101
name: Remote Tests (${{ matrix.browser }}, ${{ matrix.os }})
102102
browser: ${{ matrix.browser }}

.github/workflows/update-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
with:
6767
java-version: 17
6868
distribution: 'temurin'
69-
- name: Set up Python 3.9
69+
- name: Set up Python 3.10
7070
if: ${{ inputs.language == 'py' || inputs.language == 'all' }}
7171
uses: actions/setup-python@v6
7272
with:
73-
python-version: 3.9
73+
python-version: '3.10'
7474
- name: Install dependencies
7575
if: ${{ inputs.language == 'py' || inputs.language == 'all' }}
7676
run: |

AUTHORS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Andrii Rohovets <[email protected]>
7878
Andy Duncan <[email protected]>
7979
Angie Jones <[email protected]>
8080
anonymous_sdet <[email protected]>
81+
Anthony Richardson <[email protected]>
8182
Anthony Sottile <[email protected]>
8283
Anton Usmansky <[email protected]>
8384
Anton Velma <[email protected]>
@@ -318,6 +319,7 @@ GFHuang <[email protected]>
318319
319320
Ghjuvan Lacambre <[email protected]>
320321
Giorgos Tzampanakis <[email protected]>
322+
Giulio Longfils <[email protected]>
321323
322324
Glib Briia <[email protected]>
323325
Godefroid Chapelle
@@ -367,6 +369,7 @@ Iain Dawson <[email protected]>
367369
Ian Lesperance <[email protected]>
368370
ian zhang <[email protected]>
369371
Iaroslav Naidon <[email protected]>
372+
370373
371374
Ilya Kozhevnikov <[email protected]>
372375
Ilyas Bayraktar <[email protected]>
@@ -681,6 +684,7 @@ Nirantak Raghav <[email protected]>
681684
682685
Noel Gordon
683686
Noritaka Kobayashi <[email protected]>
687+
NoStory-py <[email protected]>
684688
Nowell Strite <[email protected]>
685689
Nozomi Ito <[email protected]>
686690
no_author <[email protected]>
@@ -703,6 +707,7 @@ Outsider <[email protected]>
703707
Paladin Wang <[email protected]>
704708
705709
Palmer Bandy <[email protected]>
710+
Paresh Gupta <[email protected]>
706711
Pat Tullmann <[email protected]>
707712
Patrice Jaton <[email protected]>
708713
Patrick Beart <[email protected]>
@@ -900,6 +905,7 @@ Ulf Adams <[email protected]>
900905
Ulrich Buchgraber <[email protected]>
901906
User253489 <[email protected]>
902907
908+
Vaibhav Gupta <[email protected]>
903909
Valery Yatsynovich <[email protected]>
904910
Varun Menon <[email protected]>
905911
varunsurapaneni <[email protected]>
@@ -908,6 +914,8 @@ vedanthvdev <[email protected]>
908914
909915
910916
Victor Tang <[email protected]>
917+
Victoria Ivanova <[email protected]>
918+
Victoria Ivanova <[email protected]>
911919
Viet Nguyen Duc <[email protected]>
912920
Vijay Singh <[email protected]>
913921
Vijendarn Selvarajah <[email protected]>

0 commit comments

Comments
 (0)