We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4df607 commit 3e651f1Copy full SHA for 3e651f1
seleniumbase/core/browser_launcher.py
@@ -498,7 +498,7 @@ def _set_chrome_options(
498
chrome_options.add_argument("--guest")
499
else:
500
pass
501
- if user_data_dir:
+ if user_data_dir and not undetectable:
502
abs_path = os.path.abspath(user_data_dir)
503
chrome_options.add_argument("user-data-dir=%s" % abs_path)
504
if extension_zip:
@@ -2058,7 +2058,7 @@ def get_local_driver(
2058
edge_options.add_experimental_option(
2059
"mobileEmulation", emulator_settings
2060
)
2061
2062
2063
edge_options.add_argument("user-data-dir=%s" % abs_path)
2064
0 commit comments