Skip to content

Commit d37267e

Browse files
authored
Merge pull request #4002 from seleniumbase/selenium-upgrade-and-recorder-update
Selenium upgrade and Recorder update
2 parents f01103b + 374908f commit d37267e

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ mycdp>=1.2.0
1616
pynose>=1.5.5
1717
platformdirs>=4.3.6;python_version<"3.9"
1818
platformdirs>=4.4.0;python_version>="3.9"
19-
typing-extensions>=4.13.2
19+
typing-extensions~=4.13.2;python_version<"3.9"
20+
typing-extensions>=4.15.0;python_version>="3.9"
2021
sbvirtualdisplay>=1.4.0
2122
MarkupSafe==2.1.5;python_version<"3.9"
2223
MarkupSafe>=3.0.3;python_version>="3.9"
@@ -41,13 +42,13 @@ sniffio==1.3.1
4142
h11==0.16.0
4243
outcome==1.3.0.post0
4344
trio==0.27.0;python_version<"3.9"
44-
trio~=0.30.0;python_version>="3.9"
45+
trio>=0.31.0,<1;python_version>="3.9"
4546
trio-websocket~=0.12.2
4647
wsproto==1.2.0
4748
websocket-client~=1.8.0
4849
selenium==4.27.1;python_version<"3.9"
4950
selenium==4.32.0;python_version>="3.9" and python_version<"3.10"
50-
selenium==4.35.0;python_version>="3.10"
51+
selenium==4.36.0;python_version>="3.10"
5152
cssselect==1.2.0;python_version<"3.9"
5253
cssselect==1.3.0;python_version>="3.9"
5354
sortedcontainers==2.4.0

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.41.12"
2+
__version__ = "4.42.0"

seleniumbase/fixtures/base_case.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5419,6 +5419,20 @@ def __process_recorded_actions(self):
54195419
)
54205420
):
54215421
srt_actions[n][0] = "_skip"
5422+
for n in range(len(srt_actions)):
5423+
if (
5424+
(srt_actions[n][0] == "begin" or srt_actions[n][0] == "_url_")
5425+
and n > 1
5426+
and (
5427+
srt_actions[n - 1][0] == "f_url"
5428+
or srt_actions[n - 1][0] == "_url_"
5429+
)
5430+
and srt_actions[n][2] == srt_actions[n - 1][2]
5431+
and (
5432+
int(srt_actions[n][3]) - int(srt_actions[n - 1][3]) < 4800
5433+
)
5434+
):
5435+
srt_actions[n][0] = "_skip"
54225436
for n in range(len(srt_actions)):
54235437
if (
54245438
srt_actions[n][0] == "input"

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@
164164
"pynose>=1.5.5",
165165
'platformdirs>=4.3.6;python_version<"3.9"',
166166
'platformdirs>=4.4.0;python_version>="3.9"',
167-
'typing-extensions>=4.13.2',
167+
'typing-extensions~=4.13.2;python_version<"3.9"',
168+
'typing-extensions>=4.15.0;python_version>="3.9"',
168169
"sbvirtualdisplay>=1.4.0",
169170
'MarkupSafe==2.1.5;python_version<"3.9"',
170171
'MarkupSafe>=3.0.3;python_version>="3.9"',
@@ -189,13 +190,13 @@
189190
'h11==0.16.0',
190191
'outcome==1.3.0.post0',
191192
'trio==0.27.0;python_version<"3.9"',
192-
'trio~=0.30.0;python_version>="3.9"',
193+
'trio>=0.31.0,<1;python_version>="3.9"',
193194
'trio-websocket~=0.12.2',
194195
'wsproto==1.2.0',
195196
'websocket-client~=1.8.0',
196197
'selenium==4.27.1;python_version<"3.9"',
197198
'selenium==4.32.0;python_version>="3.9" and python_version<"3.10"',
198-
'selenium==4.35.0;python_version>="3.10"',
199+
'selenium==4.36.0;python_version>="3.10"',
199200
'cssselect==1.2.0;python_version<"3.9"',
200201
'cssselect==1.3.0;python_version>="3.9"',
201202
"sortedcontainers==2.4.0",

0 commit comments

Comments
 (0)