seleniumbase 4.30.6a3__py3-none-any.whl → 4.30.7__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- seleniumbase/__version__.py +1 -1
- seleniumbase/core/browser_launcher.py +17 -9
- {seleniumbase-4.30.6a3.dist-info → seleniumbase-4.30.7.dist-info}/METADATA +1 -1
- {seleniumbase-4.30.6a3.dist-info → seleniumbase-4.30.7.dist-info}/RECORD +8 -8
- {seleniumbase-4.30.6a3.dist-info → seleniumbase-4.30.7.dist-info}/LICENSE +0 -0
- {seleniumbase-4.30.6a3.dist-info → seleniumbase-4.30.7.dist-info}/WHEEL +0 -0
- {seleniumbase-4.30.6a3.dist-info → seleniumbase-4.30.7.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.30.6a3.dist-info → seleniumbase-4.30.7.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.7"
|
@@ -900,6 +900,11 @@ def _uc_gui_click_captcha(
|
|
900
900
|
and driver.is_element_present("%s div" % frame)
|
901
901
|
):
|
902
902
|
frame = "%s div" % frame
|
903
|
+
elif (
|
904
|
+
driver.is_element_present('[name*="cf-turnstile-"]')
|
905
|
+
and driver.is_element_present('[class*=spacer] + div div')
|
906
|
+
):
|
907
|
+
frame = '[class*=spacer] + div div'
|
903
908
|
elif (
|
904
909
|
driver.is_element_present('[name*="cf-turnstile-"]')
|
905
910
|
and driver.is_element_present("div.spacer div")
|
@@ -975,13 +980,16 @@ def _uc_gui_click_captcha(
|
|
975
980
|
driver.switch_to.default_content()
|
976
981
|
except Exception:
|
977
982
|
return
|
978
|
-
|
979
|
-
|
980
|
-
if
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
983
|
+
if x and y:
|
984
|
+
sb_config._saved_cf_x_y = (x, y)
|
985
|
+
if driver.is_element_present(".footer .clearfix .ray-id"):
|
986
|
+
driver.uc_open_with_disconnect(driver.current_url, 3.8)
|
987
|
+
else:
|
988
|
+
driver.disconnect()
|
989
|
+
try:
|
990
|
+
_uc_gui_click_x_y(driver, x, y, timeframe=0.54321)
|
991
|
+
except Exception:
|
992
|
+
pass
|
985
993
|
reconnect_time = (float(constants.UC.RECONNECT_TIME) / 2.0) + 0.6
|
986
994
|
if IS_LINUX:
|
987
995
|
reconnect_time = constants.UC.RECONNECT_TIME + 0.2
|
@@ -991,7 +999,7 @@ def _uc_gui_click_captcha(
|
|
991
999
|
caught = False
|
992
1000
|
if (
|
993
1001
|
driver.is_element_present(".footer .clearfix .ray-id")
|
994
|
-
and not driver.
|
1002
|
+
and not driver.is_element_visible("#challenge-success-text")
|
995
1003
|
):
|
996
1004
|
blind = True
|
997
1005
|
caught = True
|
@@ -1214,7 +1222,7 @@ def _uc_gui_handle_captcha(driver, frame="iframe", ctype=None):
|
|
1214
1222
|
_uc_gui_handle_captcha_(driver, frame=frame, ctype=ctype)
|
1215
1223
|
if (
|
1216
1224
|
driver.is_element_present(".footer .clearfix .ray-id")
|
1217
|
-
and not driver.
|
1225
|
+
and not driver.is_element_visible("#challenge-success-text")
|
1218
1226
|
):
|
1219
1227
|
driver.uc_open_with_reconnect(driver.current_url, 3.8)
|
1220
1228
|
_uc_gui_handle_captcha_(driver, frame=frame, ctype=ctype)
|
@@ -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=xaUh2aSjd6Yex3igsxzZOFtQHpAjf5do1GI8i3sloHc,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=eWVXIe14q4Bf1RztCOazx9UShwWrso5OuXXr6fuB6-4,200023
|
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.7.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.30.7.dist-info/METADATA,sha256=ZuC8P4G3jpGapGHfPgTG6_WX91_DX3_T8S1oAE_KstU,86759
|
142
|
+
seleniumbase-4.30.7.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
143
|
+
seleniumbase-4.30.7.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.30.7.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.30.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|