diff --git a/requirements.txt b/requirements.txt index bdbdc730da6..af8acb51b65 100755 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,8 @@ mycdp>=1.2.0 pynose>=1.5.5 platformdirs>=4.3.6;python_version<"3.9" platformdirs>=4.4.0;python_version>="3.9" -typing-extensions>=4.13.2 +typing-extensions~=4.13.2;python_version<"3.9" +typing-extensions>=4.15.0;python_version>="3.9" sbvirtualdisplay>=1.4.0 MarkupSafe==2.1.5;python_version<"3.9" MarkupSafe>=3.0.3;python_version>="3.9" @@ -41,13 +42,13 @@ sniffio==1.3.1 h11==0.16.0 outcome==1.3.0.post0 trio==0.27.0;python_version<"3.9" -trio~=0.30.0;python_version>="3.9" +trio>=0.31.0,<1;python_version>="3.9" trio-websocket~=0.12.2 wsproto==1.2.0 websocket-client~=1.8.0 selenium==4.27.1;python_version<"3.9" selenium==4.32.0;python_version>="3.9" and python_version<"3.10" -selenium==4.35.0;python_version>="3.10" +selenium==4.36.0;python_version>="3.10" cssselect==1.2.0;python_version<"3.9" cssselect==1.3.0;python_version>="3.9" sortedcontainers==2.4.0 diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index 8abed862c5a..987eaa421ab 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.41.12" +__version__ = "4.42.0" diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index 3d746705f75..75f26938bb9 100644 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -5419,6 +5419,20 @@ def __process_recorded_actions(self): ) ): srt_actions[n][0] = "_skip" + for n in range(len(srt_actions)): + if ( + (srt_actions[n][0] == "begin" or srt_actions[n][0] == "_url_") + and n > 1 + and ( + srt_actions[n - 1][0] == "f_url" + or srt_actions[n - 1][0] == "_url_" + ) + and srt_actions[n][2] == srt_actions[n - 1][2] + and ( + int(srt_actions[n][3]) - int(srt_actions[n - 1][3]) < 4800 + ) + ): + srt_actions[n][0] = "_skip" for n in range(len(srt_actions)): if ( srt_actions[n][0] == "input" diff --git a/setup.py b/setup.py index 5799dcd15db..f1538a259e6 100755 --- a/setup.py +++ b/setup.py @@ -164,7 +164,8 @@ "pynose>=1.5.5", 'platformdirs>=4.3.6;python_version<"3.9"', 'platformdirs>=4.4.0;python_version>="3.9"', - 'typing-extensions>=4.13.2', + 'typing-extensions~=4.13.2;python_version<"3.9"', + 'typing-extensions>=4.15.0;python_version>="3.9"', "sbvirtualdisplay>=1.4.0", 'MarkupSafe==2.1.5;python_version<"3.9"', 'MarkupSafe>=3.0.3;python_version>="3.9"', @@ -189,13 +190,13 @@ 'h11==0.16.0', 'outcome==1.3.0.post0', 'trio==0.27.0;python_version<"3.9"', - 'trio~=0.30.0;python_version>="3.9"', + 'trio>=0.31.0,<1;python_version>="3.9"', 'trio-websocket~=0.12.2', 'wsproto==1.2.0', 'websocket-client~=1.8.0', 'selenium==4.27.1;python_version<"3.9"', 'selenium==4.32.0;python_version>="3.9" and python_version<"3.10"', - 'selenium==4.35.0;python_version>="3.10"', + 'selenium==4.36.0;python_version>="3.10"', 'cssselect==1.2.0;python_version<"3.9"', 'cssselect==1.3.0;python_version>="3.9"', "sortedcontainers==2.4.0",