seleniumbase 4.27.2__py3-none-any.whl → 4.27.4__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.2"
2
+ __version__ = "4.27.4"
@@ -1166,31 +1166,24 @@ def _set_chrome_options(
1166
1166
  chrome_options.add_argument("--no-crash-upload")
1167
1167
  chrome_options.add_argument("--deny-permission-prompts")
1168
1168
  included_disabled_features = []
1169
+ included_disabled_features.append("OptimizationHints")
1170
+ included_disabled_features.append("OptimizationHintsFetching")
1171
+ included_disabled_features.append("Translate")
1172
+ included_disabled_features.append("OptimizationTargetPrediction")
1173
+ included_disabled_features.append("OptimizationGuideModelDownloading")
1174
+ included_disabled_features.append("DownloadBubble")
1175
+ included_disabled_features.append("DownloadBubbleV2")
1176
+ included_disabled_features.append("InsecureDownloadWarnings")
1177
+ included_disabled_features.append("InterestFeedContentSuggestions")
1169
1178
  if user_data_dir:
1170
- included_disabled_features.append("OptimizationHintsFetching")
1171
- included_disabled_features.append("Translate")
1172
- included_disabled_features.append("OptimizationTargetPrediction")
1173
1179
  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)
1180
+ if not is_using_uc(undetectable, browser_name) or user_data_dir:
1181
+ included_disabled_features.append("SidePanelPinning")
1182
+ for item in extra_disabled_features:
1183
+ if item not in included_disabled_features:
1184
+ included_disabled_features.append(item)
1185
+ d_f_string = ",".join(included_disabled_features)
1186
+ chrome_options.add_argument("--disable-features=%s" % d_f_string)
1194
1187
  if (
1195
1188
  is_using_uc(undetectable, browser_name)
1196
1189
  and (
@@ -2828,27 +2821,22 @@ def get_local_driver(
2828
2821
  if disable_features:
2829
2822
  extra_disabled_features.extend(disable_features.split(","))
2830
2823
  included_disabled_features = []
2824
+ included_disabled_features.append("OptimizationHints")
2825
+ included_disabled_features.append("OptimizationHintsFetching")
2826
+ included_disabled_features.append("Translate")
2827
+ included_disabled_features.append("OptimizationTargetPrediction")
2828
+ included_disabled_features.append("OptimizationGuideModelDownloading")
2829
+ included_disabled_features.append("InsecureDownloadWarnings")
2830
+ included_disabled_features.append("InterestFeedContentSuggestions")
2831
2831
  if user_data_dir:
2832
- included_disabled_features.append("OptimizationHintsFetching")
2833
- included_disabled_features.append("Translate")
2834
- included_disabled_features.append("OptimizationTargetPrediction")
2835
2832
  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)
2833
+ if not is_using_uc(undetectable, browser_name) or user_data_dir:
2834
+ included_disabled_features.append("SidePanelPinning")
2835
+ for item in extra_disabled_features:
2836
+ if item not in included_disabled_features:
2837
+ included_disabled_features.append(item)
2838
+ d_f_string = ",".join(included_disabled_features)
2839
+ edge_options.add_argument("--disable-features=%s" % d_f_string)
2852
2840
  if (set_binary or IS_LINUX) and not binary_location:
2853
2841
  br_app = "edge"
2854
2842
  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.2
3
+ Version: 4.27.4
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
@@ -121,7 +121,7 @@ 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"
123
123
  Requires-Dist: pluggy ==1.5.0 ; python_version >= "3.8"
124
- Requires-Dist: pytest ==8.2.2 ; python_version >= "3.8"
124
+ Requires-Dist: pytest ==8.2.1 ; python_version >= "3.8"
125
125
  Requires-Dist: pytest-metadata ==3.1.1 ; python_version >= "3.8"
126
126
  Requires-Dist: pytest-rerunfailures ==14.0 ; python_version >= "3.8"
127
127
  Requires-Dist: pytest-xdist ==3.6.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=NMI1TY_3i4syHD3J8bxa4tVUKK9pprfYrAaoJUSmNp8,46
8
+ seleniumbase/__version__.py,sha256=Wl3YVpVro-G5RXfFDq_8oglRBUdEL0VNG77hwoXebN8,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=9iavCAIAA5ZUbjKWXOLrECslH6_20Lf1DfEKDrwVvj8,167644
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.2.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
- seleniumbase-4.27.2.dist-info/METADATA,sha256=UORBsZteLYjZAKIH-rAIOb1JG3F3cwdSSyLKTZNGk4g,85172
142
- seleniumbase-4.27.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
143
- seleniumbase-4.27.2.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
- seleniumbase-4.27.2.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
- seleniumbase-4.27.2.dist-info/RECORD,,
140
+ seleniumbase-4.27.4.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
+ seleniumbase-4.27.4.dist-info/METADATA,sha256=Eb0ldojwaHrBRpr1vSGSJJSnWoyMFA90twA5gszueoA,85172
142
+ seleniumbase-4.27.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
143
+ seleniumbase-4.27.4.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
+ seleniumbase-4.27.4.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
+ seleniumbase-4.27.4.dist-info/RECORD,,