seleniumbase 4.28.7__py3-none-any.whl → 4.29.1__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.28.7"
2
+ __version__ = "4.29.1"
@@ -801,7 +801,14 @@ def _uc_gui_click_captcha(
801
801
  pass
802
802
  else:
803
803
  visible_iframe = False
804
- if driver.is_element_present(".cf-turnstile-wrapper"):
804
+ if (
805
+ frame != "iframe"
806
+ and driver.is_element_present(
807
+ "%s .cf-turnstile-wrapper" % frame
808
+ )
809
+ ):
810
+ frame = "%s .cf-turnstile-wrapper" % frame
811
+ elif driver.is_element_present(".cf-turnstile-wrapper"):
805
812
  frame = ".cf-turnstile-wrapper"
806
813
  elif driver.is_element_present(
807
814
  '[data-callback="onCaptchaSuccess"]'
@@ -1652,6 +1659,7 @@ def _set_chrome_options(
1652
1659
  if user_agent:
1653
1660
  chrome_options.add_argument("--user-agent=%s" % user_agent)
1654
1661
  chrome_options.add_argument("--safebrowsing-disable-download-protection")
1662
+ chrome_options.add_argument("--disable-search-engine-choice-screen")
1655
1663
  chrome_options.add_argument("--disable-browser-side-navigation")
1656
1664
  chrome_options.add_argument("--disable-save-password-bubble")
1657
1665
  chrome_options.add_argument("--disable-single-click-autofill")
@@ -3214,6 +3222,7 @@ def get_local_driver(
3214
3222
  "--disable-autofill-keyboard-accessory-view[8]"
3215
3223
  )
3216
3224
  edge_options.add_argument("--safebrowsing-disable-download-protection")
3225
+ edge_options.add_argument("--disable-search-engine-choice-screen")
3217
3226
  edge_options.add_argument("--disable-browser-side-navigation")
3218
3227
  edge_options.add_argument("--disable-translate")
3219
3228
  if not enable_ws:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: seleniumbase
3
- Version: 4.28.7
3
+ Version: 4.29.1
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
@@ -122,10 +122,10 @@ Requires-Dist: platformdirs >=4.2.2 ; python_version >= "3.8"
122
122
  Requires-Dist: typing-extensions >=4.12.2 ; python_version >= "3.8"
123
123
  Requires-Dist: trio ==0.26.0 ; python_version >= "3.8"
124
124
  Requires-Dist: websocket-client ==1.8.0 ; python_version >= "3.8"
125
- Requires-Dist: selenium ==4.22.0 ; python_version >= "3.8"
125
+ Requires-Dist: selenium ==4.23.1 ; python_version >= "3.8"
126
126
  Requires-Dist: execnet ==2.1.1 ; python_version >= "3.8"
127
127
  Requires-Dist: pluggy ==1.5.0 ; python_version >= "3.8"
128
- Requires-Dist: pytest ==8.3.1 ; python_version >= "3.8"
128
+ Requires-Dist: pytest ==8.3.2 ; python_version >= "3.8"
129
129
  Requires-Dist: pytest-metadata ==3.1.1 ; python_version >= "3.8"
130
130
  Requires-Dist: pytest-rerunfailures ==14.0 ; python_version >= "3.8"
131
131
  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=dgq30q6wGO2fJOVYemxC5hLxzv-of-MRn5P1YarBq5k,2263
7
7
  seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
8
- seleniumbase/__version__.py,sha256=kVSnT5N8KYNYTsM_uONfqxrZEe5XZMntq2yqh5g03tY,46
8
+ seleniumbase/__version__.py,sha256=xs3ifIaLA7hLdeAAauJuVjFibvjHcLI2LyIXRGFN3gQ,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=q4uYZixZBf7VYWnQnEk2weTcyMy1X1faR3vyYvUzDiA,56406
@@ -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=_b1Fik4AkoZT96CeNb_Ra5cwPDo5qkO9DsG0ZWP-R9U,189231
43
+ seleniumbase/core/browser_launcher.py,sha256=wK8FUSCetCBrYqTGoiYhPDe9ub2o6sylsN9W1tQwPBY,189654
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.28.7.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
- seleniumbase-4.28.7.dist-info/METADATA,sha256=acR0P3b6rOk_ng8oidhHyr17HllDoYN8eRmS2sf1oKs,85695
142
- seleniumbase-4.28.7.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
143
- seleniumbase-4.28.7.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
- seleniumbase-4.28.7.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
- seleniumbase-4.28.7.dist-info/RECORD,,
140
+ seleniumbase-4.29.1.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
+ seleniumbase-4.29.1.dist-info/METADATA,sha256=90KMMp9LuqhcBWtAgYIMs1RwVO8XZgt90kbreN33aco,85695
142
+ seleniumbase-4.29.1.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
143
+ seleniumbase-4.29.1.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
+ seleniumbase-4.29.1.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
+ seleniumbase-4.29.1.dist-info/RECORD,,