seleniumbase 4.30.5__py3-none-any.whl → 4.30.6a1__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 +8 -2
- seleniumbase/fixtures/js_utils.py +7 -9
- {seleniumbase-4.30.5.dist-info → seleniumbase-4.30.6a1.dist-info}/METADATA +3 -3
- {seleniumbase-4.30.5.dist-info → seleniumbase-4.30.6a1.dist-info}/RECORD +9 -9
- {seleniumbase-4.30.5.dist-info → seleniumbase-4.30.6a1.dist-info}/LICENSE +0 -0
- {seleniumbase-4.30.5.dist-info → seleniumbase-4.30.6a1.dist-info}/WHEEL +0 -0
- {seleniumbase-4.30.5.dist-info → seleniumbase-4.30.6a1.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.30.5.dist-info → seleniumbase-4.30.6a1.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.6a1"
|
@@ -989,7 +989,10 @@ def _uc_gui_click_captcha(
|
|
989
989
|
reconnect_time = 1 # Make it quick (it already failed)
|
990
990
|
driver.reconnect(reconnect_time)
|
991
991
|
caught = False
|
992
|
-
if
|
992
|
+
if (
|
993
|
+
driver.is_element_present(".footer .clearfix .ray-id")
|
994
|
+
and not driver.is_element_present("#challenge-success-text")
|
995
|
+
):
|
993
996
|
blind = True
|
994
997
|
caught = True
|
995
998
|
if blind:
|
@@ -1209,7 +1212,10 @@ def _uc_gui_handle_captcha_(driver, frame="iframe", ctype=None):
|
|
1209
1212
|
|
1210
1213
|
def _uc_gui_handle_captcha(driver, frame="iframe", ctype=None):
|
1211
1214
|
_uc_gui_handle_captcha_(driver, frame=frame, ctype=ctype)
|
1212
|
-
if
|
1215
|
+
if (
|
1216
|
+
driver.is_element_present(".footer .clearfix .ray-id")
|
1217
|
+
and not driver.is_element_present("#challenge-success-text")
|
1218
|
+
):
|
1213
1219
|
driver.uc_open_with_reconnect(driver.current_url, 3.8)
|
1214
1220
|
_uc_gui_handle_captcha_(driver, frame=frame, ctype=ctype)
|
1215
1221
|
|
@@ -38,7 +38,6 @@ def wait_for_ready_state_complete(driver, timeout=settings.LARGE_TIMEOUT):
|
|
38
38
|
time.sleep(0.03)
|
39
39
|
return True
|
40
40
|
if ready_state == "complete":
|
41
|
-
time.sleep(0.01) # Better be sure everything is done loading
|
42
41
|
return True
|
43
42
|
else:
|
44
43
|
now_ms = time.time() * 1000.0
|
@@ -61,15 +60,14 @@ def wait_for_angularjs(driver, timeout=settings.LARGE_TIMEOUT, **kwargs):
|
|
61
60
|
driver.execute_script("")
|
62
61
|
except Exception:
|
63
62
|
pass
|
64
|
-
if
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
if not settings.WAIT_FOR_ANGULARJS:
|
63
|
+
if (
|
64
|
+
(hasattr(driver, "_is_using_uc") and driver._is_using_uc)
|
65
|
+
or not settings.WAIT_FOR_ANGULARJS
|
66
|
+
):
|
67
|
+
wait_for_ready_state_complete(driver)
|
70
68
|
return
|
71
69
|
if timeout == settings.MINI_TIMEOUT:
|
72
|
-
timeout = settings.MINI_TIMEOUT /
|
70
|
+
timeout = settings.MINI_TIMEOUT / 8.0
|
73
71
|
NG_WRAPPER = (
|
74
72
|
"%(prefix)s"
|
75
73
|
"var $elm=document.querySelector("
|
@@ -96,7 +94,7 @@ def wait_for_angularjs(driver, timeout=settings.LARGE_TIMEOUT, **kwargs):
|
|
96
94
|
try:
|
97
95
|
execute_async_script(driver, script, timeout=timeout)
|
98
96
|
except Exception:
|
99
|
-
|
97
|
+
pass
|
100
98
|
|
101
99
|
|
102
100
|
def convert_to_css_selector(selector, by=By.CSS_SELECTOR):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.30.
|
3
|
+
Version: 4.30.6a1
|
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
|
@@ -93,7 +93,7 @@ Requires-Dist: mdurl ==0.1.2
|
|
93
93
|
Requires-Dist: rich ==13.8.1
|
94
94
|
Requires-Dist: python-xlib ==0.33 ; platform_system == "Linux"
|
95
95
|
Requires-Dist: pyreadline3 ==3.4.1 ; platform_system == "Windows"
|
96
|
-
Requires-Dist: urllib3 <2,>=1.26.
|
96
|
+
Requires-Dist: urllib3 <2,>=1.26.20 ; python_version < "3.10"
|
97
97
|
Requires-Dist: pip >=24.0 ; python_version < "3.8"
|
98
98
|
Requires-Dist: packaging >=24.0 ; python_version < "3.8"
|
99
99
|
Requires-Dist: setuptools >=68.0.0 ; python_version < "3.8"
|
@@ -113,7 +113,7 @@ Requires-Dist: soupsieve ==2.4.1 ; python_version < "3.8"
|
|
113
113
|
Requires-Dist: pygments ==2.17.2 ; python_version < "3.8"
|
114
114
|
Requires-Dist: markdown-it-py ==2.2.0 ; python_version < "3.8"
|
115
115
|
Requires-Dist: setuptools >=70.2.0 ; python_version >= "3.10"
|
116
|
-
Requires-Dist: urllib3 <2.3.0,>=1.26.
|
116
|
+
Requires-Dist: urllib3 <2.3.0,>=1.26.20 ; python_version >= "3.10"
|
117
117
|
Requires-Dist: pip >=24.1.2 ; python_version >= "3.8"
|
118
118
|
Requires-Dist: packaging >=24.1 ; python_version >= "3.8"
|
119
119
|
Requires-Dist: wheel >=0.44.0 ; 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=
|
8
|
+
seleniumbase/__version__.py,sha256=GS3DTs8hiuleK9OALk50qatX9ub96H85PeRvJDGGaDg,48
|
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=qwQnJ-0znUwIrlQqCJJO3uGQ-DWuFJmgnnvw_vU2Zhs,199597
|
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
|
@@ -74,7 +74,7 @@ seleniumbase/fixtures/base_case.py,sha256=m7B1S5K7BhDyNfs9nRhrdvHbWLG8mEg83E7GCA
|
|
74
74
|
seleniumbase/fixtures/constants.py,sha256=TapuGLdERtvZPGMblVXkNGybr8tj8FMtN3sbJ3ygyoc,13569
|
75
75
|
seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
|
76
76
|
seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
|
77
|
-
seleniumbase/fixtures/js_utils.py,sha256=
|
77
|
+
seleniumbase/fixtures/js_utils.py,sha256=U0ofQKM-ftihUibZu2Zgrgu-LV_9jnG08rqU2EgqpeQ,51164
|
78
78
|
seleniumbase/fixtures/page_actions.py,sha256=_LBmIqKBdRlgrKnl6aKUcHbns1GC18_YNvuRniRv1V8,63066
|
79
79
|
seleniumbase/fixtures/page_utils.py,sha256=VJmhImXorrrXqokFvbDMGBWODLa9bHiaviHAO0r_0W0,12907
|
80
80
|
seleniumbase/fixtures/shared_utils.py,sha256=Fc78v0OxfLPOPqeT8ExsdkTgXHlmpxvJeLbLyDnu1dI,5748
|
@@ -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.6a1.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.30.6a1.dist-info/METADATA,sha256=30H5Zwi0T69PoipbRGmPBuBwKqWPPVo_3joyQusXeIk,86761
|
142
|
+
seleniumbase-4.30.6a1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
143
|
+
seleniumbase-4.30.6a1.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.30.6a1.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.30.6a1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|