seleniumbase 4.30.7__py3-none-any.whl → 4.30.8__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.
- seleniumbase/__version__.py +1 -1
- seleniumbase/core/browser_launcher.py +18 -4
- {seleniumbase-4.30.7.dist-info → seleniumbase-4.30.8.dist-info}/METADATA +1 -1
- {seleniumbase-4.30.7.dist-info → seleniumbase-4.30.8.dist-info}/RECORD +8 -8
- {seleniumbase-4.30.7.dist-info → seleniumbase-4.30.8.dist-info}/LICENSE +0 -0
- {seleniumbase-4.30.7.dist-info → seleniumbase-4.30.8.dist-info}/WHEEL +0 -0
- {seleniumbase-4.30.7.dist-info → seleniumbase-4.30.8.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.30.7.dist-info → seleniumbase-4.30.8.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.30.
|
2
|
+
__version__ = "4.30.8"
|
@@ -1188,8 +1188,10 @@ def _uc_gui_handle_captcha_(driver, frame="iframe", ctype=None):
|
|
1188
1188
|
for i in range(10):
|
1189
1189
|
pyautogui.hotkey("shift", "tab")
|
1190
1190
|
time.sleep(0.027)
|
1191
|
+
tab_count = 0
|
1191
1192
|
for i in range(34):
|
1192
1193
|
pyautogui.press("\t")
|
1194
|
+
tab_count += 1
|
1193
1195
|
time.sleep(0.027)
|
1194
1196
|
active_element_css = js_utils.get_active_element_css(driver)
|
1195
1197
|
if (
|
@@ -1198,6 +1200,7 @@ def _uc_gui_handle_captcha_(driver, frame="iframe", ctype=None):
|
|
1198
1200
|
or (special_form and active_element_css.endswith(" div"))
|
1199
1201
|
):
|
1200
1202
|
found_checkbox = True
|
1203
|
+
sb_config._saved_cf_tab_count = tab_count
|
1201
1204
|
break
|
1202
1205
|
time.sleep(0.02)
|
1203
1206
|
if not found_checkbox:
|
@@ -1207,11 +1210,22 @@ def _uc_gui_handle_captcha_(driver, frame="iframe", ctype=None):
|
|
1207
1210
|
driver.switch_to.default_content()
|
1208
1211
|
except Exception:
|
1209
1212
|
return
|
1210
|
-
|
1211
|
-
|
1213
|
+
if (
|
1214
|
+
driver.is_element_present(".footer .clearfix .ray-id")
|
1215
|
+
and hasattr(sb_config, "_saved_cf_tab_count")
|
1216
|
+
and sb_config._saved_cf_tab_count
|
1217
|
+
):
|
1218
|
+
driver.uc_open_with_disconnect(driver.current_url, 3.8)
|
1219
|
+
try:
|
1220
|
+
for i in range(sb_config._saved_cf_tab_count):
|
1221
|
+
pyautogui.press("\t")
|
1222
|
+
time.sleep(0.027)
|
1223
|
+
pyautogui.press(" ")
|
1224
|
+
except Exception:
|
1225
|
+
pass
|
1226
|
+
else:
|
1227
|
+
driver.disconnect()
|
1212
1228
|
pyautogui.press(" ")
|
1213
|
-
except Exception:
|
1214
|
-
pass
|
1215
1229
|
reconnect_time = (float(constants.UC.RECONNECT_TIME) / 2.0) + 0.6
|
1216
1230
|
if IS_LINUX:
|
1217
1231
|
reconnect_time = constants.UC.RECONNECT_TIME + 0.2
|
@@ -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=
|
8
|
+
seleniumbase/__version__.py,sha256=rlzZLfE73I_642pw7EWStQj7VqH17H1avL8qhR88qwk,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=Yd4CRZegyl5esBoJN-DLygPt0AecwyRlDZtX7mmh9vs,57007
|
@@ -40,7 +40,7 @@ seleniumbase/console_scripts/sb_print.py,sha256=yo641b_OdSE0GUauOyxk-QrNeIjYzbRY
|
|
40
40
|
seleniumbase/console_scripts/sb_recorder.py,sha256=9rLgxq_K2g37zpEPYtQ8j01u2fGkZpacw3Xi6o_ENWc,11162
|
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=
|
43
|
+
seleniumbase/core/browser_launcher.py,sha256=2AbA7FhWRJTu7WF80ogPk7x_IGHnc6oQSNm7oVrLZJE,200615
|
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.30.
|
141
|
-
seleniumbase-4.30.
|
142
|
-
seleniumbase-4.30.
|
143
|
-
seleniumbase-4.30.
|
144
|
-
seleniumbase-4.30.
|
145
|
-
seleniumbase-4.30.
|
140
|
+
seleniumbase-4.30.8.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.30.8.dist-info/METADATA,sha256=FTgBLVlh9d_LCMitkgu6sjnd2pHTEEwdDElecC6Ueks,86759
|
142
|
+
seleniumbase-4.30.8.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
143
|
+
seleniumbase-4.30.8.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.30.8.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.30.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|