seleniumbase 4.28.0a2__py3-none-any.whl → 4.28.0a3__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 +12 -2
- seleniumbase/fixtures/base_case.py +1 -1
- {seleniumbase-4.28.0a2.dist-info → seleniumbase-4.28.0a3.dist-info}/METADATA +1 -1
- {seleniumbase-4.28.0a2.dist-info → seleniumbase-4.28.0a3.dist-info}/RECORD +9 -9
- {seleniumbase-4.28.0a2.dist-info → seleniumbase-4.28.0a3.dist-info}/LICENSE +0 -0
- {seleniumbase-4.28.0a2.dist-info → seleniumbase-4.28.0a3.dist-info}/WHEEL +0 -0
- {seleniumbase-4.28.0a2.dist-info → seleniumbase-4.28.0a3.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.28.0a2.dist-info → seleniumbase-4.28.0a3.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.28.
|
2
|
+
__version__ = "4.28.0a3"
|
@@ -467,7 +467,7 @@ def uc_open_with_reconnect(driver, url, reconnect_time=None):
|
|
467
467
|
if (url.startswith("http:") or url.startswith("https:")):
|
468
468
|
script = 'window.open("%s","_blank");' % url
|
469
469
|
driver.execute_script(script)
|
470
|
-
time.sleep(0.
|
470
|
+
time.sleep(0.05)
|
471
471
|
driver.close()
|
472
472
|
if reconnect_time == "disconnect":
|
473
473
|
driver.disconnect()
|
@@ -497,7 +497,7 @@ def uc_open_with_disconnect(driver, url, timeout=None):
|
|
497
497
|
if (url.startswith("http:") or url.startswith("https:")):
|
498
498
|
script = 'window.open("%s","_blank");' % url
|
499
499
|
driver.execute_script(script)
|
500
|
-
time.sleep(0.
|
500
|
+
time.sleep(0.05)
|
501
501
|
driver.close()
|
502
502
|
driver.disconnect()
|
503
503
|
min_timeout = 0.008
|
@@ -546,7 +546,17 @@ def uc_click(
|
|
546
546
|
driver.reconnect(reconnect_time)
|
547
547
|
|
548
548
|
|
549
|
+
def verify_pyautogui_has_a_headed_browser():
|
550
|
+
"""PyAutoGUI requires a headed browser so that it can
|
551
|
+
focus on the correct element when performing actions."""
|
552
|
+
if sb_config.headless or sb_config.headless2:
|
553
|
+
raise Exception(
|
554
|
+
"PyAutoGUI can't be used in headless mode!"
|
555
|
+
)
|
556
|
+
|
557
|
+
|
549
558
|
def install_pyautogui_if_missing():
|
559
|
+
verify_pyautogui_has_a_headed_browser()
|
550
560
|
pip_find_lock = fasteners.InterProcessLock(
|
551
561
|
constants.PipInstall.FINDLOCK
|
552
562
|
)
|
@@ -13718,7 +13718,7 @@ class BaseCase(unittest.TestCase):
|
|
13718
13718
|
which is the default mode on Linux unless using another arg."""
|
13719
13719
|
if "linux" in sys.platform and (not self.headed or self.xvfb):
|
13720
13720
|
from sbvirtualdisplay import Display
|
13721
|
-
if self.undetectable:
|
13721
|
+
if self.undetectable and not (self.headless or self.headless2):
|
13722
13722
|
import Xlib.display
|
13723
13723
|
try:
|
13724
13724
|
self._xvfb_display = Display(
|
@@ -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=0eVNLuFCugFzKCUVv1KmmV-DJcs0g2fHuUZirq7dkPg,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=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=
|
43
|
+
seleniumbase/core/browser_launcher.py,sha256=pDkIoq2Fz5mS95uYVs0JXrsTh--qGjFg639dDap_qiY,176343
|
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
|
@@ -70,7 +70,7 @@ seleniumbase/extensions/disable_csp.zip,sha256=YMifIIgEBiLrEFrS1sfW4Exh4br1V4oK1
|
|
70
70
|
seleniumbase/extensions/recorder.zip,sha256=OOyzF-Ize2cSRu1CqhzSAq5vusI9hqLLd2OIApUHesI,11918
|
71
71
|
seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
|
72
72
|
seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
|
-
seleniumbase/fixtures/base_case.py,sha256=
|
73
|
+
seleniumbase/fixtures/base_case.py,sha256=X3EwrOuPIVqPbtmhW8CtoGE3KqmZ5PyMUOxlQBmGIW8,698095
|
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
|
@@ -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.
|
141
|
-
seleniumbase-4.28.
|
142
|
-
seleniumbase-4.28.
|
143
|
-
seleniumbase-4.28.
|
144
|
-
seleniumbase-4.28.
|
145
|
-
seleniumbase-4.28.
|
140
|
+
seleniumbase-4.28.0a3.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.28.0a3.dist-info/METADATA,sha256=53UFjAMxEGijQjBslQ9UjarI2hbolSXES1AzUfM7Fi8,85546
|
142
|
+
seleniumbase-4.28.0a3.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
143
|
+
seleniumbase-4.28.0a3.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.28.0a3.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.28.0a3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|