seleniumbase 4.26.0__py3-none-any.whl → 4.26.2__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/plugins/driver_manager.py +13 -0
- seleniumbase/plugins/sb_manager.py +18 -0
- {seleniumbase-4.26.0.dist-info → seleniumbase-4.26.2.dist-info}/METADATA +5 -4
- {seleniumbase-4.26.0.dist-info → seleniumbase-4.26.2.dist-info}/RECORD +9 -9
- {seleniumbase-4.26.0.dist-info → seleniumbase-4.26.2.dist-info}/LICENSE +0 -0
- {seleniumbase-4.26.0.dist-info → seleniumbase-4.26.2.dist-info}/WHEEL +0 -0
- {seleniumbase-4.26.0.dist-info → seleniumbase-4.26.2.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.26.0.dist-info → seleniumbase-4.26.2.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.26.
|
2
|
+
__version__ = "4.26.2"
|
@@ -328,6 +328,12 @@ def Driver(
|
|
328
328
|
):
|
329
329
|
recorder_mode = True
|
330
330
|
recorder_ext = True
|
331
|
+
if headed is None:
|
332
|
+
# Override the default headless mode on Linux if set.
|
333
|
+
if "--gui" in sys_argv or "--headed" in sys_argv:
|
334
|
+
headed = True
|
335
|
+
else:
|
336
|
+
headed = False
|
331
337
|
if (
|
332
338
|
shared_utils.is_linux()
|
333
339
|
and not headed
|
@@ -434,6 +440,13 @@ def Driver(
|
|
434
440
|
disable_js = False
|
435
441
|
if pls is not None and page_load_strategy is None:
|
436
442
|
page_load_strategy = pls
|
443
|
+
if not page_load_strategy and "--pls=" in arg_join:
|
444
|
+
if "--pls=none" in sys_argv or '--pls="none"' in sys_argv:
|
445
|
+
page_load_strategy = "none"
|
446
|
+
elif "--pls=eager" in sys_argv or '--pls="eager"' in sys_argv:
|
447
|
+
page_load_strategy = "eager"
|
448
|
+
elif "--pls=normal" in sys_argv or '--pls="normal"' in sys_argv:
|
449
|
+
page_load_strategy = "normal"
|
437
450
|
if page_load_strategy is not None:
|
438
451
|
if page_load_strategy.lower() not in ["normal", "eager", "none"]:
|
439
452
|
raise Exception(
|
@@ -378,9 +378,20 @@ def SB(
|
|
378
378
|
record_sleep = True
|
379
379
|
else:
|
380
380
|
record_sleep = False
|
381
|
+
if xvfb is None:
|
382
|
+
if "--xvfb" in sys_argv:
|
383
|
+
xvfb = True
|
384
|
+
else:
|
385
|
+
xvfb = False
|
381
386
|
if not shared_utils.is_linux():
|
382
387
|
# The Xvfb virtual display server is for Linux OS Only!
|
383
388
|
xvfb = False
|
389
|
+
if headed is None:
|
390
|
+
# Override the default headless mode on Linux if set.
|
391
|
+
if "--gui" in sys_argv or "--headed" in sys_argv:
|
392
|
+
headed = True
|
393
|
+
else:
|
394
|
+
headed = False
|
384
395
|
if (
|
385
396
|
shared_utils.is_linux()
|
386
397
|
and not headed
|
@@ -532,6 +543,13 @@ def SB(
|
|
532
543
|
_disable_beforeunload = True
|
533
544
|
if pls is not None and page_load_strategy is None:
|
534
545
|
page_load_strategy = pls
|
546
|
+
if not page_load_strategy and "--pls=" in arg_join:
|
547
|
+
if "--pls=none" in sys_argv or '--pls="none"' in sys_argv:
|
548
|
+
page_load_strategy = "none"
|
549
|
+
elif "--pls=eager" in sys_argv or '--pls="eager"' in sys_argv:
|
550
|
+
page_load_strategy = "eager"
|
551
|
+
elif "--pls=normal" in sys_argv or '--pls="normal"' in sys_argv:
|
552
|
+
page_load_strategy = "normal"
|
535
553
|
if page_load_strategy is not None:
|
536
554
|
if page_load_strategy.lower() not in ["normal", "eager", "none"]:
|
537
555
|
raise Exception(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.26.
|
3
|
+
Version: 4.26.2
|
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
|
@@ -84,7 +84,6 @@ Requires-Dist: iniconfig ==2.0.0
|
|
84
84
|
Requires-Dist: py ==1.11.0
|
85
85
|
Requires-Dist: pytest-html ==2.0.1
|
86
86
|
Requires-Dist: pytest-ordering ==0.6
|
87
|
-
Requires-Dist: pytest-xdist ==3.5.0
|
88
87
|
Requires-Dist: parameterized ==0.9.0
|
89
88
|
Requires-Dist: sbvirtualdisplay ==1.3.0
|
90
89
|
Requires-Dist: behave ==1.2.6
|
@@ -109,21 +108,23 @@ Requires-Dist: pluggy ==1.2.0 ; python_version < "3.8"
|
|
109
108
|
Requires-Dist: pytest ==7.4.4 ; python_version < "3.8"
|
110
109
|
Requires-Dist: pytest-metadata ==3.0.0 ; python_version < "3.8"
|
111
110
|
Requires-Dist: pytest-rerunfailures ==13.0 ; python_version < "3.8"
|
111
|
+
Requires-Dist: pytest-xdist ==3.5.0 ; python_version < "3.8"
|
112
112
|
Requires-Dist: soupsieve ==2.4.1 ; python_version < "3.8"
|
113
113
|
Requires-Dist: markdown-it-py ==2.2.0 ; python_version < "3.8"
|
114
114
|
Requires-Dist: urllib3 <2.3.0,>=1.26.18 ; python_version >= "3.10"
|
115
115
|
Requires-Dist: setuptools >=69.5.1 ; python_version >= "3.8"
|
116
116
|
Requires-Dist: wheel >=0.43.0 ; python_version >= "3.8"
|
117
|
-
Requires-Dist: filelock >=3.
|
117
|
+
Requires-Dist: filelock >=3.14.0 ; python_version >= "3.8"
|
118
118
|
Requires-Dist: platformdirs >=4.2.1 ; python_version >= "3.8"
|
119
119
|
Requires-Dist: typing-extensions >=4.11.0 ; python_version >= "3.8"
|
120
120
|
Requires-Dist: trio ==0.25.0 ; python_version >= "3.8"
|
121
121
|
Requires-Dist: selenium ==4.20.0 ; python_version >= "3.8"
|
122
122
|
Requires-Dist: execnet ==2.1.1 ; python_version >= "3.8"
|
123
123
|
Requires-Dist: pluggy ==1.5.0 ; python_version >= "3.8"
|
124
|
-
Requires-Dist: pytest ==8.
|
124
|
+
Requires-Dist: pytest ==8.2.0 ; python_version >= "3.8"
|
125
125
|
Requires-Dist: pytest-metadata ==3.1.1 ; python_version >= "3.8"
|
126
126
|
Requires-Dist: pytest-rerunfailures ==14.0 ; python_version >= "3.8"
|
127
|
+
Requires-Dist: pytest-xdist ==3.6.1 ; python_version >= "3.8"
|
127
128
|
Requires-Dist: soupsieve ==2.5 ; python_version >= "3.8"
|
128
129
|
Requires-Dist: markdown-it-py ==3.0.0 ; python_version >= "3.8"
|
129
130
|
Provides-Extra: allure
|
@@ -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=Mw4ShIWUF2Efjx-JuwUQLWF9nIbxcX-vu9AOGBp32ec,2123
|
7
7
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
8
|
-
seleniumbase/__version__.py,sha256=
|
8
|
+
seleniumbase/__version__.py,sha256=IdsM5krAJIinwIWiyshCDLrFMi6Bi4YJ6a8NCuZlhe0,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=rpSKGufjzKeoiTqsr1HChNu1fY68CMirr5mgff--LHs,56291
|
@@ -92,11 +92,11 @@ seleniumbase/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
92
92
|
seleniumbase/plugins/base_plugin.py,sha256=o_-IraDNgsMEJQv1HsmS5ZcTvYOXiQ4NpxryG2m9c2A,14970
|
93
93
|
seleniumbase/plugins/basic_test_info.py,sha256=8ov6n417gPbqqvrlT4zrch7l2XcRt-GF2ny6rR9AMWk,2108
|
94
94
|
seleniumbase/plugins/db_reporting_plugin.py,sha256=En09qUCoojrk9-vbcnsoHdSELoGmag2GDIyu3jTiJas,7331
|
95
|
-
seleniumbase/plugins/driver_manager.py,sha256=
|
95
|
+
seleniumbase/plugins/driver_manager.py,sha256=oO3ML-tVqf8v6EGvylTCtPi5PjdfnSH40m7icjJfZDM,22485
|
96
96
|
seleniumbase/plugins/page_source.py,sha256=loTnXxOj4kxEukuTZEiGyvKBhY3KDVDMnNlHHheTBDE,1889
|
97
97
|
seleniumbase/plugins/pytest_plugin.py,sha256=fPOADQgwLKQ-BxDZm3sAp8jrN2FTjQo8_suIXXRvZqM,94467
|
98
98
|
seleniumbase/plugins/s3_logging_plugin.py,sha256=WDfertQgGOW_SRJpFMaekYD6vBVW9VO62POtXXy2HCM,2319
|
99
|
-
seleniumbase/plugins/sb_manager.py,sha256=
|
99
|
+
seleniumbase/plugins/sb_manager.py,sha256=LPhV75mvhFRtSE18J1r8aPtAwaJO9UOLNxNdKM_qW1I,40491
|
100
100
|
seleniumbase/plugins/screen_shots.py,sha256=1hrXw-hzuZ1BR6Yh7AyWX2ABnvnP73-RCbwdz958gj4,1127
|
101
101
|
seleniumbase/plugins/selenium_plugin.py,sha256=wErmsKOzBFd9lDX9VVmxPauSpdjBDWScDk74QsCzJOY,54493
|
102
102
|
seleniumbase/resources/ReadMe.md,sha256=uminnO5_Uv-UZDKcc9a9s9kxisaYUps-H98Fp5PJcaU,2124
|
@@ -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.26.
|
141
|
-
seleniumbase-4.26.
|
142
|
-
seleniumbase-4.26.
|
143
|
-
seleniumbase-4.26.
|
144
|
-
seleniumbase-4.26.
|
145
|
-
seleniumbase-4.26.
|
140
|
+
seleniumbase-4.26.2.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.26.2.dist-info/METADATA,sha256=_jN1hMI0IUttrMRfBBhaHYVbARfTPtY64vFqzMdCagc,84898
|
142
|
+
seleniumbase-4.26.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
143
|
+
seleniumbase-4.26.2.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.26.2.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.26.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|