seleniumbase 4.27.3__py3-none-any.whl → 4.27.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  # seleniumbase package
2
- __version__ = "4.27.3"
2
+ __version__ = "4.27.5"
@@ -1165,32 +1165,33 @@ def _set_chrome_options(
1165
1165
  chrome_options.add_argument("--ash-no-nudges")
1166
1166
  chrome_options.add_argument("--no-crash-upload")
1167
1167
  chrome_options.add_argument("--deny-permission-prompts")
1168
+ chrome_options.add_argument(
1169
+ '--simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT"'
1170
+ )
1171
+ chrome_options.add_argument("--disable-ipc-flooding-protection")
1172
+ chrome_options.add_argument("--disable-password-generation")
1173
+ chrome_options.add_argument("--disable-domain-reliability")
1174
+ chrome_options.add_argument("--disable-component-update")
1175
+ chrome_options.add_argument("--disable-breakpad")
1168
1176
  included_disabled_features = []
1177
+ included_disabled_features.append("OptimizationHints")
1178
+ included_disabled_features.append("OptimizationHintsFetching")
1179
+ included_disabled_features.append("Translate")
1180
+ included_disabled_features.append("OptimizationTargetPrediction")
1181
+ included_disabled_features.append("OptimizationGuideModelDownloading")
1182
+ included_disabled_features.append("DownloadBubble")
1183
+ included_disabled_features.append("DownloadBubbleV2")
1184
+ included_disabled_features.append("InsecureDownloadWarnings")
1185
+ included_disabled_features.append("InterestFeedContentSuggestions")
1169
1186
  if user_data_dir:
1170
- included_disabled_features.append("OptimizationHintsFetching")
1171
- included_disabled_features.append("Translate")
1172
- included_disabled_features.append("OptimizationTargetPrediction")
1173
1187
  included_disabled_features.append("PrivacySandboxSettings4")
1174
- included_disabled_features.append("DownloadBubble")
1175
- included_disabled_features.append("DownloadBubbleV2")
1176
- included_disabled_features.append("InsecureDownloadWarnings")
1177
- for item in extra_disabled_features:
1178
- if item not in included_disabled_features:
1179
- included_disabled_features.append(item)
1180
- d_f_string = ",".join(included_disabled_features)
1181
- chrome_options.add_argument("--disable-features=%s" % d_f_string)
1182
- else:
1183
- included_disabled_features.append("OptimizationHintsFetching")
1184
- included_disabled_features.append("Translate")
1185
- included_disabled_features.append("OptimizationTargetPrediction")
1186
- included_disabled_features.append("DownloadBubble")
1187
- included_disabled_features.append("DownloadBubbleV2")
1188
- included_disabled_features.append("InsecureDownloadWarnings")
1189
- for item in extra_disabled_features:
1190
- if item not in included_disabled_features:
1191
- included_disabled_features.append(item)
1192
- d_f_string = ",".join(included_disabled_features)
1193
- chrome_options.add_argument("--disable-features=%s" % d_f_string)
1188
+ if not is_using_uc(undetectable, browser_name) or user_data_dir:
1189
+ included_disabled_features.append("SidePanelPinning")
1190
+ for item in extra_disabled_features:
1191
+ if item not in included_disabled_features:
1192
+ included_disabled_features.append(item)
1193
+ d_f_string = ",".join(included_disabled_features)
1194
+ chrome_options.add_argument("--disable-features=%s" % d_f_string)
1194
1195
  if (
1195
1196
  is_using_uc(undetectable, browser_name)
1196
1197
  and (
@@ -2293,11 +2294,13 @@ def get_local_driver(
2293
2294
  or "Process unexpectedly closed" in str(e)
2294
2295
  or "Failed to read marionette port" in str(e)
2295
2296
  or "A connection attempt failed" in str(e)
2297
+ or "Expected browser binary" in str(e)
2296
2298
  or hasattr(e, "msg") and (
2297
2299
  "geckodriver unexpectedly exited" in e.msg
2298
2300
  or "Process unexpectedly closed" in e.msg
2299
2301
  or "Failed to read marionette port" in e.msg
2300
2302
  or "A connection attempt failed" in e.msg
2303
+ or "Expected browser binary" in e.msg
2301
2304
  )
2302
2305
  ):
2303
2306
  time.sleep(0.1)
@@ -2333,11 +2336,13 @@ def get_local_driver(
2333
2336
  or "Process unexpectedly closed" in str(e)
2334
2337
  or "Failed to read marionette port" in str(e)
2335
2338
  or "A connection attempt failed" in str(e)
2339
+ or "Expected browser binary" in str(e)
2336
2340
  or hasattr(e, "msg") and (
2337
2341
  "geckodriver unexpectedly exited" in e.msg
2338
2342
  or "Process unexpectedly closed" in e.msg
2339
2343
  or "Failed to read marionette port" in e.msg
2340
2344
  or "A connection attempt failed" in e.msg
2345
+ or "Expected browser binary" in e.msg
2341
2346
  )
2342
2347
  ):
2343
2348
  time.sleep(0.1)
@@ -2827,28 +2832,31 @@ def get_local_driver(
2827
2832
  edge_options.add_argument(chromium_arg_item)
2828
2833
  if disable_features:
2829
2834
  extra_disabled_features.extend(disable_features.split(","))
2835
+ edge_options.add_argument(
2836
+ '--simulate-outdated-no-au="Tue, 31 Dec 2099 23:59:59 GMT"'
2837
+ )
2838
+ edge_options.add_argument("--disable-ipc-flooding-protection")
2839
+ edge_options.add_argument("--disable-password-generation")
2840
+ edge_options.add_argument("--disable-domain-reliability")
2841
+ edge_options.add_argument("--disable-component-update")
2842
+ edge_options.add_argument("--disable-breakpad")
2830
2843
  included_disabled_features = []
2844
+ included_disabled_features.append("OptimizationHints")
2845
+ included_disabled_features.append("OptimizationHintsFetching")
2846
+ included_disabled_features.append("Translate")
2847
+ included_disabled_features.append("OptimizationTargetPrediction")
2848
+ included_disabled_features.append("OptimizationGuideModelDownloading")
2849
+ included_disabled_features.append("InsecureDownloadWarnings")
2850
+ included_disabled_features.append("InterestFeedContentSuggestions")
2831
2851
  if user_data_dir:
2832
- included_disabled_features.append("OptimizationHintsFetching")
2833
- included_disabled_features.append("Translate")
2834
- included_disabled_features.append("OptimizationTargetPrediction")
2835
2852
  included_disabled_features.append("PrivacySandboxSettings4")
2836
- included_disabled_features.append("InsecureDownloadWarnings")
2837
- for item in extra_disabled_features:
2838
- if item not in included_disabled_features:
2839
- included_disabled_features.append(item)
2840
- d_f_string = ",".join(included_disabled_features)
2841
- edge_options.add_argument("--disable-features=%s" % d_f_string)
2842
- else:
2843
- included_disabled_features.append("OptimizationHintsFetching")
2844
- included_disabled_features.append("Translate")
2845
- included_disabled_features.append("OptimizationTargetPrediction")
2846
- included_disabled_features.append("InsecureDownloadWarnings")
2847
- for item in extra_disabled_features:
2848
- if item not in included_disabled_features:
2849
- included_disabled_features.append(item)
2850
- d_f_string = ",".join(included_disabled_features)
2851
- edge_options.add_argument("--disable-features=%s" % d_f_string)
2853
+ if not is_using_uc(undetectable, browser_name) or user_data_dir:
2854
+ included_disabled_features.append("SidePanelPinning")
2855
+ for item in extra_disabled_features:
2856
+ if item not in included_disabled_features:
2857
+ included_disabled_features.append(item)
2858
+ d_f_string = ",".join(included_disabled_features)
2859
+ edge_options.add_argument("--disable-features=%s" % d_f_string)
2852
2860
  if (set_binary or IS_LINUX) and not binary_location:
2853
2861
  br_app = "edge"
2854
2862
  binary_loc = detect_b_ver.get_binary_location(br_app)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: seleniumbase
3
- Version: 4.27.3
3
+ Version: 4.27.5
4
4
  Summary: A complete web automation framework for end-to-end testing.
5
5
  Home-page: https://github.com/seleniumbase/SeleniumBase
6
6
  Author: Michael Mintz
@@ -116,7 +116,7 @@ Requires-Dist: setuptools >=70.0.0 ; python_version >= "3.8"
116
116
  Requires-Dist: wheel >=0.43.0 ; python_version >= "3.8"
117
117
  Requires-Dist: filelock >=3.14.0 ; python_version >= "3.8"
118
118
  Requires-Dist: platformdirs >=4.2.2 ; python_version >= "3.8"
119
- Requires-Dist: typing-extensions >=4.12.1 ; python_version >= "3.8"
119
+ Requires-Dist: typing-extensions >=4.12.2 ; python_version >= "3.8"
120
120
  Requires-Dist: trio ==0.25.1 ; python_version >= "3.8"
121
121
  Requires-Dist: selenium ==4.21.0 ; python_version >= "3.8"
122
122
  Requires-Dist: execnet ==2.1.1 ; python_version >= "3.8"
@@ -5,7 +5,7 @@ sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
5
5
  seleniumbase/ReadMe.md,sha256=4nEdto4d0Ch0Zneg0yAC-RBBdqRqPUP0SCo-ze_XDPM,3612
6
6
  seleniumbase/__init__.py,sha256=Mw4ShIWUF2Efjx-JuwUQLWF9nIbxcX-vu9AOGBp32ec,2123
7
7
  seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
8
- seleniumbase/__version__.py,sha256=ZE0Q_SXMRbHGumbp8674mbxzJ9Tt5VVz2pCj77PDhOQ,46
8
+ seleniumbase/__version__.py,sha256=9V5t9GCKIDFN9Rh-M7CIL9sPw61dUnW-tzZYx5rVDgA,46
9
9
  seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  seleniumbase/behave/behave_helper.py,sha256=elkl8P9eLulRAioLstE9baYNM9N_PHBmAOcajX-pH_Y,24198
11
11
  seleniumbase/behave/behave_sb.py,sha256=rpSKGufjzKeoiTqsr1HChNu1fY68CMirr5mgff--LHs,56291
@@ -40,7 +40,7 @@ seleniumbase/console_scripts/sb_print.py,sha256=yo641b_OdSE0GUauOyxk-QrNeIjYzbRY
40
40
  seleniumbase/console_scripts/sb_recorder.py,sha256=UQQhnAR18dbcC7ToDvj6TM2PIG5qBrNaekaM6kSK_E8,10970
41
41
  seleniumbase/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  seleniumbase/core/application_manager.py,sha256=e_0sjtI8cjY5BNyZj1QBR0j6_oCScxGmSXYEpcYwuZE,576
43
- seleniumbase/core/browser_launcher.py,sha256=CUtHUY1lv1diGQESHy0MQn1wuQgW-M2LZ3N2MutHYWk,168326
43
+ seleniumbase/core/browser_launcher.py,sha256=S6ZMJGEdMTQEhwx5TlG6UKPIcJ9WvfjCSDqD6yCrDAA,168748
44
44
  seleniumbase/core/capabilities_parser.py,sha256=meIS2uHapTCq2ldfNAToC7r0cKmZDRXuYNKExM1GHDY,6038
45
45
  seleniumbase/core/colored_traceback.py,sha256=DrRWfg7XEnKcgY59Xj7Jdk09H-XqHYBSUpB-DiZt6iY,2020
46
46
  seleniumbase/core/create_db_tables.sql,sha256=VWPtrdiW_HQ6yETHjqTu-VIrTwvd8I8o1NfBeaVSHpU,972
@@ -137,9 +137,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443
137
137
  seleniumbase/utilities/selenium_ide/ReadMe.md,sha256=hznGeuMpkIimqMiZBW-4goIy2ltW4l8X9kb0YSPUQfE,4483
138
138
  seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
139
139
  seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
140
- seleniumbase-4.27.3.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
- seleniumbase-4.27.3.dist-info/METADATA,sha256=QAbYE2UpDvwen4SL9aM4LXtc5CrpzUBokeTWpwUpTMw,85172
142
- seleniumbase-4.27.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
143
- seleniumbase-4.27.3.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
- seleniumbase-4.27.3.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
- seleniumbase-4.27.3.dist-info/RECORD,,
140
+ seleniumbase-4.27.5.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
+ seleniumbase-4.27.5.dist-info/METADATA,sha256=i3I1T0LYUbP5N0-0kCbk2oi6_YFQe1U4MquOb1e0XV4,85172
142
+ seleniumbase-4.27.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
143
+ seleniumbase-4.27.5.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
+ seleniumbase-4.27.5.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
+ seleniumbase-4.27.5.dist-info/RECORD,,