diff --git a/mkdocs_build/requirements.txt b/mkdocs_build/requirements.txt index 1e6f6780dc7..6a932c7a84d 100644 --- a/mkdocs_build/requirements.txt +++ b/mkdocs_build/requirements.txt @@ -20,7 +20,7 @@ lxml==5.2.2 pyquery==2.0.0 readtime==3.0.0 mkdocs==1.6.0 -mkdocs-material==9.5.25 +mkdocs-material==9.5.26 mkdocs-exclude-search==0.6.6 mkdocs-simple-hooks==0.1.5 mkdocs-material-extensions==1.3.1 diff --git a/requirements.txt b/requirements.txt index c0381a56a12..4cba1a54db7 100755 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ filelock>=3.12.2;python_version<"3.8" filelock>=3.14.0;python_version>="3.8" platformdirs>=4.0.0;python_version<"3.8" platformdirs>=4.2.2;python_version>="3.8" -typing-extensions>=4.12.1;python_version>="3.8" +typing-extensions>=4.12.2;python_version>="3.8" parse>=1.20.1 parse-type>=0.6.2 pyyaml>=6.0.1 diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index aab03489fc5..e06fd45c16b 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.27.4" +__version__ = "4.27.5" diff --git a/seleniumbase/core/browser_launcher.py b/seleniumbase/core/browser_launcher.py index 5e9638cc27f..4f37ea64004 100644 --- a/seleniumbase/core/browser_launcher.py +++ b/seleniumbase/core/browser_launcher.py @@ -1165,6 +1165,14 @@ def _set_chrome_options( chrome_options.add_argument("--ash-no-nudges") chrome_options.add_argument("--no-crash-upload") chrome_options.add_argument("--deny-permission-prompts") + chrome_options.add_argument( + '--simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT"' + ) + chrome_options.add_argument("--disable-ipc-flooding-protection") + chrome_options.add_argument("--disable-password-generation") + chrome_options.add_argument("--disable-domain-reliability") + chrome_options.add_argument("--disable-component-update") + chrome_options.add_argument("--disable-breakpad") included_disabled_features = [] included_disabled_features.append("OptimizationHints") included_disabled_features.append("OptimizationHintsFetching") @@ -2286,11 +2294,13 @@ def get_local_driver( or "Process unexpectedly closed" in str(e) or "Failed to read marionette port" in str(e) or "A connection attempt failed" in str(e) + or "Expected browser binary" in str(e) or hasattr(e, "msg") and ( "geckodriver unexpectedly exited" in e.msg or "Process unexpectedly closed" in e.msg or "Failed to read marionette port" in e.msg or "A connection attempt failed" in e.msg + or "Expected browser binary" in e.msg ) ): time.sleep(0.1) @@ -2326,11 +2336,13 @@ def get_local_driver( or "Process unexpectedly closed" in str(e) or "Failed to read marionette port" in str(e) or "A connection attempt failed" in str(e) + or "Expected browser binary" in str(e) or hasattr(e, "msg") and ( "geckodriver unexpectedly exited" in e.msg or "Process unexpectedly closed" in e.msg or "Failed to read marionette port" in e.msg or "A connection attempt failed" in e.msg + or "Expected browser binary" in e.msg ) ): time.sleep(0.1) @@ -2820,6 +2832,14 @@ def get_local_driver( edge_options.add_argument(chromium_arg_item) if disable_features: extra_disabled_features.extend(disable_features.split(",")) + edge_options.add_argument( + '--simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT"' + ) + edge_options.add_argument("--disable-ipc-flooding-protection") + edge_options.add_argument("--disable-password-generation") + edge_options.add_argument("--disable-domain-reliability") + edge_options.add_argument("--disable-component-update") + edge_options.add_argument("--disable-breakpad") included_disabled_features = [] included_disabled_features.append("OptimizationHints") included_disabled_features.append("OptimizationHintsFetching") diff --git a/setup.py b/setup.py index 1778c7ae4d2..79f7d56935d 100755 --- a/setup.py +++ b/setup.py @@ -159,7 +159,7 @@ 'filelock>=3.14.0;python_version>="3.8"', 'platformdirs>=4.0.0;python_version<"3.8"', 'platformdirs>=4.2.2;python_version>="3.8"', - 'typing-extensions>=4.12.1;python_version>="3.8"', + 'typing-extensions>=4.12.2;python_version>="3.8"', 'parse>=1.20.1', 'parse-type>=0.6.2', 'pyyaml>=6.0.1',