diff --git a/help_docs/method_summary.md b/help_docs/method_summary.md index 0b833365000..9b83d9ada33 100644 --- a/help_docs/method_summary.md +++ b/help_docs/method_summary.md @@ -1006,8 +1006,6 @@ driver.uc_open_with_tab(url) driver.uc_open_with_reconnect(url, reconnect_time=None) driver.uc_click(selector) - -############ ``` -------- diff --git a/help_docs/recorder_mode.md b/help_docs/recorder_mode.md index e48ce66e8e9..9b88c4b143f 100644 --- a/help_docs/recorder_mode.md +++ b/help_docs/recorder_mode.md @@ -9,9 +9,9 @@ -ℹ️ Recorder Mode can be activated from the command-line interface, or from the Recorder Desktop App. +⏺️ Recorder Mode can be activated from the command-line interface or the Recorder Desktop App. -⏺️ To make a new recording from the command-line interface, use ``sbase mkrec``, ``sbase codegen``, or ``sbase record``): +⏺️ To make a new recording from the command-line interface, use ``sbase mkrec``, ``sbase codegen``, or ``sbase record``: ```bash sbase mkrec TEST_NAME.py --url=URL diff --git a/mkdocs_build/requirements.txt b/mkdocs_build/requirements.txt index 67268d84310..1172696e87f 100644 --- a/mkdocs_build/requirements.txt +++ b/mkdocs_build/requirements.txt @@ -3,7 +3,7 @@ regex>=2023.10.3 PyYAML>=6.0.1 -pymdown-extensions>=10.3 +pymdown-extensions>=10.3.1 pipdeptree>=2.13.0 python-dateutil>=2.8.2 Markdown==3.5 diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index 93ddc01a094..66de16c2752 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.20.4" +__version__ = "4.20.5" diff --git a/seleniumbase/core/browser_launcher.py b/seleniumbase/core/browser_launcher.py index 2e3f04df7e8..c5f3e8cd7d6 100644 --- a/seleniumbase/core/browser_launcher.py +++ b/seleniumbase/core/browser_launcher.py @@ -1030,10 +1030,16 @@ def _set_chrome_options( if headless or headless2 or is_using_uc(undetectable, browser_name): chrome_options.add_argument("--disable-renderer-backgrounding") chrome_options.add_argument("--disable-backgrounding-occluded-windows") - chrome_options.add_argument( - '--disable-features=OptimizationHintsFetching,' - 'OptimizationTargetPrediction' - ) + if user_data_dir: + chrome_options.add_argument( + "--disable-features=OptimizationHintsFetching," + "OptimizationTargetPrediction,PrivacySandboxSettings4" + ) + else: + chrome_options.add_argument( + "--disable-features=OptimizationHintsFetching," + "OptimizationTargetPrediction" + ) if ( is_using_uc(undetectable, browser_name) and ( @@ -2458,10 +2464,16 @@ def get_local_driver( edge_options.add_argument( "--disable-autofill-keyboard-accessory-view[8]" ) - edge_options.add_argument( - '--disable-features=OptimizationHintsFetching,' - 'OptimizationTargetPrediction' - ) + if user_data_dir: + edge_options.add_argument( + "--disable-features=OptimizationHintsFetching," + "OptimizationTargetPrediction,PrivacySandboxSettings4" + ) + else: + edge_options.add_argument( + "--disable-features=OptimizationHintsFetching," + "OptimizationTargetPrediction" + ) edge_options.add_argument("--disable-browser-side-navigation") edge_options.add_argument("--disable-translate") if not enable_ws: