seleniumbase 4.31.0__py3-none-any.whl → 4.31.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/behave/behave_sb.py +20 -3
- seleniumbase/console_scripts/logo_helper.py +47 -0
- seleniumbase/console_scripts/run.py +7 -4
- seleniumbase/core/browser_launcher.py +62 -5
- seleniumbase/core/sb_driver.py +11 -0
- seleniumbase/fixtures/base_case.py +24 -1
- seleniumbase/fixtures/page_utils.py +5 -2
- seleniumbase/plugins/driver_manager.py +90 -71
- seleniumbase/plugins/pytest_plugin.py +28 -2
- seleniumbase/plugins/sb_manager.py +123 -101
- seleniumbase/plugins/selenium_plugin.py +30 -2
- {seleniumbase-4.31.0.dist-info → seleniumbase-4.31.2.dist-info}/METADATA +5 -3
- {seleniumbase-4.31.0.dist-info → seleniumbase-4.31.2.dist-info}/RECORD +18 -18
- {seleniumbase-4.31.0.dist-info → seleniumbase-4.31.2.dist-info}/LICENSE +0 -0
- {seleniumbase-4.31.0.dist-info → seleniumbase-4.31.2.dist-info}/WHEEL +0 -0
- {seleniumbase-4.31.0.dist-info → seleniumbase-4.31.2.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.31.0.dist-info → seleniumbase-4.31.2.dist-info}/top_level.txt +0 -0
@@ -32,8 +32,9 @@ def SB(
|
|
32
32
|
rtf=None, # Shortcut / Duplicate of "raise_test_failure".
|
33
33
|
raise_test_failure=None, # If "test" mode, raise Exception on 1st failure.
|
34
34
|
browser=None, # Choose from "chrome", "edge", "firefox", or "safari".
|
35
|
-
headless=None, #
|
36
|
-
|
35
|
+
headless=None, # Use the default headless mode for Chromium and Firefox.
|
36
|
+
headless1=None, # Use Chromium's old headless mode. (Fast, but limited)
|
37
|
+
headless2=None, # Use Chromium's new headless mode. (Has more features)
|
37
38
|
locale_code=None, # Set the Language Locale Code for the web browser.
|
38
39
|
protocol=None, # The Selenium Grid protocol: "http" or "https".
|
39
40
|
servername=None, # The Selenium Grid server/IP used for tests.
|
@@ -46,7 +47,8 @@ def SB(
|
|
46
47
|
cap_file=None, # The desired capabilities to use with a Selenium Grid.
|
47
48
|
cap_string=None, # The desired capabilities to use with a Selenium Grid.
|
48
49
|
recorder_ext=None, # Enables the SeleniumBase Recorder Chromium extension.
|
49
|
-
|
50
|
+
disable_cookies=None, # Disable Cookies on websites. (Pages might break!)
|
51
|
+
disable_js=None, # Disable JavaScript on websites. (Pages might break!)
|
50
52
|
disable_csp=None, # Disable the Content Security Policy of websites.
|
51
53
|
enable_ws=None, # Enable Web Security on Chromium-based browsers.
|
52
54
|
enable_sync=None, # Enable "Chrome Sync" on websites.
|
@@ -146,104 +148,106 @@ def SB(
|
|
146
148
|
|
147
149
|
Optional Parameters:
|
148
150
|
--------------------
|
149
|
-
test: Test Mode: Output, Logging, Continue on failure unless "rtf".
|
150
|
-
rtf: Shortcut / Duplicate of "raise_test_failure".
|
151
|
-
raise_test_failure: If "test" mode, raise Exception on 1st failure.
|
152
|
-
browser: Choose from "chrome", "edge", "firefox", or "safari".
|
153
|
-
headless:
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
151
|
+
test (bool): Test Mode: Output, Logging, Continue on failure unless "rtf".
|
152
|
+
rtf (bool): Shortcut / Duplicate of "raise_test_failure".
|
153
|
+
raise_test_failure (bool): If "test" mode, raise Exception on 1st failure.
|
154
|
+
browser (str): Choose from "chrome", "edge", "firefox", or "safari".
|
155
|
+
headless (bool): Use the default headless mode for Chromium and Firefox.
|
156
|
+
headless1 (bool): Use Chromium's old headless mode. (Fast, but limited)
|
157
|
+
headless2 (bool): Use Chromium's new headless mode. (Has more features)
|
158
|
+
locale_code (str): Set the Language Locale Code for the web browser.
|
159
|
+
protocol (str): The Selenium Grid protocol: "http" or "https".
|
160
|
+
servername (str): The Selenium Grid server/IP used for tests.
|
161
|
+
port (int): The Selenium Grid port used by the test server.
|
162
|
+
proxy (str): Use proxy. Format: "SERVER:PORT" or "USER:PASS@SERVER:PORT".
|
163
|
+
proxy_bypass_list (str): Skip proxy when using the listed domains.
|
164
|
+
proxy_pac_url (str): Use PAC file. (Format: URL or USERNAME:PASSWORD@URL)
|
165
|
+
multi_proxy (bool): # Allow multiple proxies with auth when multithreaded.
|
166
|
+
agent (str): Modify the web browser's User-Agent string.
|
167
|
+
cap_file (str): The desired capabilities to use with a Selenium Grid.
|
168
|
+
cap_string (str): The desired capabilities to use with a Selenium Grid.
|
169
|
+
recorder_ext (bool): Enables the SeleniumBase Recorder Chromium extension.
|
170
|
+
disable_cookies (bool): Disable Cookies on websites. (Pages might break!)
|
171
|
+
disable_js (bool): Disable JavaScript on websites. (Pages might break!)
|
172
|
+
disable_csp (bool): Disable the Content Security Policy of websites.
|
173
|
+
enable_ws (bool): Enable Web Security on Chromium-based browsers.
|
174
|
+
enable_sync (bool): Enable "Chrome Sync" on websites.
|
175
|
+
use_auto_ext (bool): Use Chrome's automation extension.
|
176
|
+
undetectable (bool): Use undetected-chromedriver to evade bot-detection.
|
177
|
+
uc_cdp_events (bool): Capture CDP events in undetected-chromedriver mode.
|
178
|
+
uc_subprocess (bool): Use undetected-chromedriver as a subprocess.
|
179
|
+
log_cdp_events (bool): Capture {"performance": "ALL", "browser": "ALL"}
|
180
|
+
incognito (bool): Enable Chromium's Incognito mode.
|
181
|
+
guest_mode (bool): Enable Chromium's Guest mode.
|
182
|
+
dark_mode (bool): Enable Chromium's Dark mode.
|
183
|
+
devtools (bool): Open Chromium's DevTools when the browser opens.
|
184
|
+
remote_debug (bool): Enable Chrome's Debugger on "http://localhost:9222".
|
185
|
+
enable_3d_apis (bool): Enable WebGL and 3D APIs.
|
186
|
+
swiftshader (bool): Chrome: --use-gl=angle / --use-angle=swiftshader-webgl
|
187
|
+
ad_block_on (bool): Block some types of display ads from loading.
|
188
|
+
host_resolver_rules (str): Set host-resolver-rules, comma-separated.
|
189
|
+
block_images (bool): Block images from loading during tests.
|
190
|
+
do_not_track (bool): Tell websites that you don't want to be tracked.
|
191
|
+
chromium_arg (str): "ARG=N,ARG2" (Set Chromium args, ","-separated.)
|
192
|
+
firefox_arg (str): "ARG=N,ARG2" (Set Firefox args, comma-separated.)
|
193
|
+
firefox_pref (str): SET (Set Firefox PREFERENCE:VALUE set, ","-separated)
|
194
|
+
user_data_dir (str): Set the Chrome user data directory to use.
|
195
|
+
extension_zip (str): Load a Chrome Extension .zip|.crx, comma-separated.
|
196
|
+
extension_dir (str): Load a Chrome Extension directory, comma-separated.
|
197
|
+
disable_features (str): "F1,F2" (Disable Chrome features, ","-separated.)
|
198
|
+
binary_location (str): Set path of the Chromium browser binary to use.
|
199
|
+
driver_version (str): Set the chromedriver or uc_driver version to use.
|
200
|
+
skip_js_waits (bool): Skip JS Waits (readyState=="complete" and Angular).
|
201
|
+
wait_for_angularjs (bool): Wait for AngularJS to load after some actions.
|
202
|
+
use_wire (bool): Use selenium-wire's webdriver over selenium webdriver.
|
203
|
+
external_pdf (bool): Set Chrome "plugins.always_open_pdf_externally":True.
|
204
|
+
window_position (x,y): Set the browser's starting window position: "X,Y"
|
205
|
+
window_size (w,h): Set the browser's starting window size: "Width,Height"
|
206
|
+
is_mobile (bool): Use the mobile device emulator while running tests.
|
207
|
+
mobile (bool): Shortcut / Duplicate of "is_mobile".
|
208
|
+
device_metrics (w,h,pr): Mobile metrics: "CSSWidth,CSSHeight,PixelRatio"
|
209
|
+
xvfb (bool): Run tests using the Xvfb virtual display server on Linux OS.
|
210
|
+
xvfb_metrics (w,h): Set Xvfb display size on Linux: "Width,Height".
|
211
|
+
start_page (str): The starting URL for the web browser when tests begin.
|
212
|
+
rec_print (bool): If Recorder is enabled, prints output after tests end.
|
213
|
+
rec_behave (bool): Like Recorder Mode, but also generates behave-gherkin.
|
214
|
+
record_sleep (bool): If Recorder enabled, also records self.sleep calls.
|
215
|
+
data (str): Extra test data. Access with "self.data" in tests.
|
216
|
+
var1 (str): Extra test data. Access with "self.var1" in tests.
|
217
|
+
var2 (str): Extra test data. Access with "self.var2" in tests.
|
218
|
+
var3 (str): Extra test data. Access with "self.var3" in tests.
|
219
|
+
variables (dict): Extra test data. Access with "self.variables".
|
220
|
+
account (str): Set account. Access with "self.account" in tests.
|
221
|
+
environment (str): Set the test env. Access with "self.env" in tests.
|
222
|
+
headed (bool): Run tests in headed/GUI mode on Linux, where not default.
|
223
|
+
maximize (bool): Start tests with the browser window maximized.
|
224
|
+
disable_ws (bool): Reverse of "enable_ws". (None and False are different)
|
225
|
+
disable_beforeunload (bool): Disable the "beforeunload" event on Chromium.
|
226
|
+
settings_file (str): A file for overriding default SeleniumBase settings.
|
227
|
+
uc (bool): Shortcut / Duplicate of "undetectable".
|
228
|
+
undetected (bool): Shortcut / Duplicate of "undetectable".
|
229
|
+
uc_cdp (bool): Shortcut / Duplicate of "uc_cdp_events".
|
230
|
+
uc_sub (bool): Shortcut / Duplicate of "uc_subprocess".
|
231
|
+
log_cdp (bool): Shortcut / Duplicate of "log_cdp_events".
|
232
|
+
ad_block (bool): Shortcut / Duplicate of "ad_block_on".
|
233
|
+
server (str): Shortcut / Duplicate of "servername".
|
234
|
+
guest (bool): Shortcut / Duplicate of "guest_mode".
|
235
|
+
wire (bool): Shortcut / Duplicate of "use_wire".
|
236
|
+
pls (str): Shortcut / Duplicate of "page_load_strategy".
|
237
|
+
sjw (bool): Shortcut / Duplicate of "skip_js_waits".
|
238
|
+
wfa (bool): Shortcut / Duplicate of "wait_for_angularjs".
|
239
|
+
save_screenshot (bool): Save a screenshot at the end of each test.
|
240
|
+
no_screenshot (bool): No screenshots saved unless tests directly ask it.
|
241
|
+
page_load_strategy (str): Set Chrome PLS to "normal", "eager", or "none".
|
242
|
+
timeout_multiplier (float): Multiplies the default timeout values.
|
243
|
+
js_checking_on (bool): Check for JavaScript errors after page loads.
|
244
|
+
slow (bool): Slow down the automation. Faster than using Demo Mode.
|
245
|
+
demo (bool): Slow down and visually see test actions as they occur.
|
246
|
+
demo_sleep (float): SECONDS (Set wait time after Slow & Demo Mode actions)
|
247
|
+
message_duration (float): SECONDS (The time length for Messenger alerts.)
|
248
|
+
highlights (int): Number of highlight animations for Demo Mode actions.
|
249
|
+
interval (float): SECONDS (Autoplay interval for SB Slides & Tour steps.)
|
250
|
+
time_limit (float): SECONDS (Safely fail tests that exceed the time limit)
|
247
251
|
"""
|
248
252
|
import os
|
249
253
|
import sys
|
@@ -401,6 +405,13 @@ def SB(
|
|
401
405
|
headless = True
|
402
406
|
else:
|
403
407
|
headless = False
|
408
|
+
if headless1 is None:
|
409
|
+
if "--headless1" in sys_argv:
|
410
|
+
headless1 = True
|
411
|
+
else:
|
412
|
+
headless1 = False
|
413
|
+
if headless1:
|
414
|
+
headless = True
|
404
415
|
if headless2 is None:
|
405
416
|
if "--headless2" in sys_argv:
|
406
417
|
headless2 = True
|
@@ -672,6 +683,7 @@ def SB(
|
|
672
683
|
recorder_ext = True
|
673
684
|
if recorder_mode and headless:
|
674
685
|
headless = False
|
686
|
+
headless1 = False
|
675
687
|
headless2 = True
|
676
688
|
sb_config.proxy_driver = False
|
677
689
|
if "--proxy-driver" in sys_argv or "--proxy_driver" in sys_argv:
|
@@ -729,6 +741,11 @@ def SB(
|
|
729
741
|
use_auto_ext = True
|
730
742
|
else:
|
731
743
|
use_auto_ext = False
|
744
|
+
if disable_cookies is None:
|
745
|
+
if "--disable-cookies" in sys_argv:
|
746
|
+
disable_cookies = True
|
747
|
+
else:
|
748
|
+
disable_cookies = False
|
732
749
|
if disable_js is None:
|
733
750
|
if "--disable-js" in sys_argv:
|
734
751
|
disable_js = True
|
@@ -801,6 +818,7 @@ def SB(
|
|
801
818
|
save_screenshot = False # "no_screenshot" has priority
|
802
819
|
if browser == "safari" and headless:
|
803
820
|
headless = False # Safari doesn't support headless mode
|
821
|
+
headless1 = False
|
804
822
|
if js_checking_on is None:
|
805
823
|
if "--check-js" in sys_argv:
|
806
824
|
js_checking_on = True
|
@@ -921,6 +939,7 @@ def SB(
|
|
921
939
|
sb_config.is_nosetest = False
|
922
940
|
sb_config.is_context_manager = True
|
923
941
|
sb_config.headless = headless
|
942
|
+
sb_config.headless1 = headless1
|
924
943
|
sb_config.headless2 = headless2
|
925
944
|
sb_config.headed = headed
|
926
945
|
sb_config.xvfb = xvfb
|
@@ -961,6 +980,7 @@ def SB(
|
|
961
980
|
sb_config.log_cdp_events = log_cdp_events
|
962
981
|
sb_config.no_sandbox = None
|
963
982
|
sb_config.disable_gpu = None
|
983
|
+
sb_config.disable_cookies = disable_cookies
|
964
984
|
sb_config.disable_js = disable_js
|
965
985
|
sb_config._multithreaded = False
|
966
986
|
sb_config.reuse_session = False
|
@@ -1026,6 +1046,7 @@ def SB(
|
|
1026
1046
|
sb.is_nosetest = False
|
1027
1047
|
sb.is_context_manager = sb_config.is_context_manager
|
1028
1048
|
sb.headless = sb_config.headless
|
1049
|
+
sb.headless1 = sb_config.headless1
|
1029
1050
|
sb.headless2 = sb_config.headless2
|
1030
1051
|
sb.headed = sb_config.headed
|
1031
1052
|
sb.xvfb = sb_config.xvfb
|
@@ -1068,6 +1089,7 @@ def SB(
|
|
1068
1089
|
sb.log_cdp_events = sb_config.log_cdp_events
|
1069
1090
|
sb.no_sandbox = sb_config.no_sandbox
|
1070
1091
|
sb.disable_gpu = sb_config.disable_gpu
|
1092
|
+
sb.disable_cookies = sb_config.disable_cookies
|
1071
1093
|
sb.disable_js = sb_config.disable_js
|
1072
1094
|
sb._multithreaded = sb_config._multithreaded
|
1073
1095
|
sb._reuse_session = sb_config.reuse_session
|
@@ -43,8 +43,9 @@ class SeleniumBrowser(Plugin):
|
|
43
43
|
--sjw (Skip JS Waits for readyState to be "complete" or Angular to load.)
|
44
44
|
--wfa (Wait for AngularJS to be done loading after specific web actions.)
|
45
45
|
--pls=PLS (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
|
46
|
-
--headless (
|
47
|
-
--
|
46
|
+
--headless (The default headless mode. Linux uses this mode by default.)
|
47
|
+
--headless1 (Use Chrome's old headless mode. Fast, but has limitations.)
|
48
|
+
--headless2 (Use Chrome's new headless mode, which supports extensions.)
|
48
49
|
--headed (Run tests in headed/GUI mode on Linux OS, where not default.)
|
49
50
|
--xvfb (Run tests using the Xvfb virtual display server on Linux OS.)
|
50
51
|
--xvfb-metrics=STRING (Set Xvfb display size on Linux: "Width,Height".)
|
@@ -68,6 +69,7 @@ class SeleniumBrowser(Plugin):
|
|
68
69
|
--rec-behave (Same as Recorder Mode, but also generates behave-gherkin.)
|
69
70
|
--rec-sleep (If the Recorder is enabled, also records self.sleep calls.)
|
70
71
|
--rec-print (If the Recorder is enabled, prints output after tests end.)
|
72
|
+
--disable-cookies (Disable Cookies on websites. Pages might break!)
|
71
73
|
--disable-js (Disable JavaScript on websites. Pages might break!)
|
72
74
|
--disable-csp (Disable the Content Security Policy of websites.)
|
73
75
|
--disable-ws (Disable Web Security on Chromium-based browsers.)
|
@@ -437,6 +439,15 @@ class SeleniumBrowser(Plugin):
|
|
437
439
|
UNLESS using a virtual display with Xvfb.
|
438
440
|
Default: False on Mac/Windows. True on Linux.""",
|
439
441
|
)
|
442
|
+
parser.addoption(
|
443
|
+
"--headless1",
|
444
|
+
action="store_true",
|
445
|
+
dest="headless1",
|
446
|
+
default=False,
|
447
|
+
help="""This option activates the old headless mode,
|
448
|
+
which is faster, but has limitations.
|
449
|
+
(May be phased out by Chrome in the future.)""",
|
450
|
+
)
|
440
451
|
parser.addoption(
|
441
452
|
"--headless2",
|
442
453
|
action="store_true",
|
@@ -700,6 +711,15 @@ class SeleniumBrowser(Plugin):
|
|
700
711
|
help="""The option to disable JavaScript on web pages.
|
701
712
|
Warning: Most web pages will stop working!""",
|
702
713
|
)
|
714
|
+
parser.addoption(
|
715
|
+
"--disable_cookies",
|
716
|
+
"--disable-cookies",
|
717
|
+
action="store_true",
|
718
|
+
dest="disable_cookies",
|
719
|
+
default=False,
|
720
|
+
help="""The option to disable Cookies on web pages.
|
721
|
+
Warning: Several pages may stop working!""",
|
722
|
+
)
|
703
723
|
parser.addoption(
|
704
724
|
"--disable_csp",
|
705
725
|
"--disable-csp",
|
@@ -1009,6 +1029,7 @@ class SeleniumBrowser(Plugin):
|
|
1009
1029
|
browser = self.options.browser
|
1010
1030
|
test.test.browser = browser
|
1011
1031
|
test.test.headless = None
|
1032
|
+
test.test.headless1 = None
|
1012
1033
|
test.test.headless2 = None
|
1013
1034
|
# As a shortcut, you can use "--edge" instead of "--browser=edge", etc,
|
1014
1035
|
# but you can only specify one default browser. (Default: chrome)
|
@@ -1147,9 +1168,13 @@ class SeleniumBrowser(Plugin):
|
|
1147
1168
|
test.test.cap_file = self.options.cap_file
|
1148
1169
|
test.test.cap_string = self.options.cap_string
|
1149
1170
|
test.test.headless = self.options.headless
|
1171
|
+
test.test.headless1 = self.options.headless1
|
1172
|
+
if test.test.headless1:
|
1173
|
+
test.test.headless = True
|
1150
1174
|
test.test.headless2 = self.options.headless2
|
1151
1175
|
if test.test.headless and test.test.browser == "safari":
|
1152
1176
|
test.test.headless = False # Safari doesn't use headless
|
1177
|
+
test.test.headless1 = False
|
1153
1178
|
if test.test.headless2 and test.test.browser == "firefox":
|
1154
1179
|
test.test.headless2 = False # Only for Chromium browsers
|
1155
1180
|
test.test.headless = True # Firefox has regular headless
|
@@ -1215,6 +1240,7 @@ class SeleniumBrowser(Plugin):
|
|
1215
1240
|
elif self.options.record_sleep:
|
1216
1241
|
test.test.recorder_mode = True
|
1217
1242
|
test.test.recorder_ext = True
|
1243
|
+
test.test.disable_cookies = self.options.disable_cookies
|
1218
1244
|
test.test.disable_js = self.options.disable_js
|
1219
1245
|
test.test.disable_csp = self.options.disable_csp
|
1220
1246
|
test.test.disable_ws = self.options.disable_ws
|
@@ -1294,8 +1320,10 @@ class SeleniumBrowser(Plugin):
|
|
1294
1320
|
# Recorder Mode can still optimize scripts in --headless2 mode.
|
1295
1321
|
if self.options.recorder_mode and self.options.headless:
|
1296
1322
|
self.options.headless = False
|
1323
|
+
self.options.headless1 = False
|
1297
1324
|
self.options.headless2 = True
|
1298
1325
|
test.test.headless = False
|
1326
|
+
test.test.headless1 = False
|
1299
1327
|
test.test.headless2 = True
|
1300
1328
|
if not self.options.headless and not self.options.headless2:
|
1301
1329
|
self.options.headed = True
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.31.
|
3
|
+
Version: 4.31.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
|
@@ -821,8 +821,9 @@ pytest test_coffee_cart.py --trace
|
|
821
821
|
--sjw # (Skip JS Waits for readyState to be "complete" or Angular to load.)
|
822
822
|
--wfa # (Wait for AngularJS to be done loading after specific web actions.)
|
823
823
|
--pls=PLS # (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
|
824
|
-
--headless # (
|
825
|
-
--
|
824
|
+
--headless # (The default headless mode. Linux uses this mode by default.)
|
825
|
+
--headless1 # (Use Chrome's old headless mode. Fast, but has limitations.)
|
826
|
+
--headless2 # (Use Chrome's new headless mode, which supports extensions.)
|
826
827
|
--headed # (Run tests in headed/GUI mode on Linux OS, where not default.)
|
827
828
|
--xvfb # (Run tests using the Xvfb virtual display server on Linux OS.)
|
828
829
|
--xvfb-metrics=STRING # (Set Xvfb display size on Linux: "Width,Height".)
|
@@ -848,6 +849,7 @@ pytest test_coffee_cart.py --trace
|
|
848
849
|
--rec-behave # (Same as Recorder Mode, but also generates behave-gherkin.)
|
849
850
|
--rec-sleep # (If the Recorder is enabled, also records self.sleep calls.)
|
850
851
|
--rec-print # (If the Recorder is enabled, prints output after tests end.)
|
852
|
+
--disable-cookies # (Disable Cookies on websites. Pages might break!)
|
851
853
|
--disable-js # (Disable JavaScript on websites. Pages might break!)
|
852
854
|
--disable-csp # (Disable the Content Security Policy of websites.)
|
853
855
|
--disable-ws # (Disable Web Security on Chromium-based browsers.)
|
@@ -3,10 +3,10 @@ sbase/__main__.py,sha256=G0bVB1-DM4PGwQ1KyOupaWCs4ePbChZNNWuX2htim5U,647
|
|
3
3
|
sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
|
4
4
|
seleniumbase/__init__.py,sha256=pXetYtgSNEM2KRcZedpSSqE52Kr3spkOD6DjZO1Wsu4,2236
|
5
5
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
6
|
-
seleniumbase/__version__.py,sha256=
|
6
|
+
seleniumbase/__version__.py,sha256=E8J6M4O9ko0b_VOYnPBf6XAUTjDo-WMxLP4FswQThSQ,46
|
7
7
|
seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
seleniumbase/behave/behave_helper.py,sha256=elkl8P9eLulRAioLstE9baYNM9N_PHBmAOcajX-pH_Y,24198
|
9
|
-
seleniumbase/behave/behave_sb.py,sha256=
|
9
|
+
seleniumbase/behave/behave_sb.py,sha256=UDEXex2GkvEok0_FCn-auIREn9OIG6Pc6zVy9S0gtUs,59516
|
10
10
|
seleniumbase/behave/steps.py,sha256=8-N-NB2tnDsxaP4LSg-uSBgbwZYMS6ZEL1oggO1PCoU,390
|
11
11
|
seleniumbase/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
seleniumbase/common/decorators.py,sha256=LJnAgg0RG3kDOFb8tpyq1zjmpv9ks6Tjg8GwgIn1YuY,7633
|
@@ -19,9 +19,9 @@ seleniumbase/config/ad_block_list.py,sha256=qCQvbpONdSXk6q5tMwLuOswGYE1Syd8cy5TM
|
|
19
19
|
seleniumbase/config/proxy_list.py,sha256=tSdk82_6pPqClotHMl3YOTlxi9IIEppHmCoQDkZXLqw,1123
|
20
20
|
seleniumbase/config/settings.py,sha256=cAMmoFBQ6g8GCJIsRsSwGsP1_fJxhADxjHq30lFB18g,7815
|
21
21
|
seleniumbase/console_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
|
-
seleniumbase/console_scripts/logo_helper.py,sha256=
|
22
|
+
seleniumbase/console_scripts/logo_helper.py,sha256=GoCH_tTSPd-oGAacgFPpKw0MnJ3_i9eacxXdJMwNoH8,3136
|
23
23
|
seleniumbase/console_scripts/rich_helper.py,sha256=U_zvXpalxVV8rtg8c8EnNNmnh45tii3AV5ZV3O3KbGA,2234
|
24
|
-
seleniumbase/console_scripts/run.py,sha256=
|
24
|
+
seleniumbase/console_scripts/run.py,sha256=bc4yk6NgMVVVD2ca6XsmL_4hmpOz6AS4MrTAV1gTgCk,59354
|
25
25
|
seleniumbase/console_scripts/sb_behave_gui.py,sha256=Sm8OVgq1SJ6F-8Dl-xflglEmOpNJn4C_-ZPuHRiZvTM,15375
|
26
26
|
seleniumbase/console_scripts/sb_caseplans.py,sha256=77Ocuok2v36x7i1Qmp6sGSdDf3H5y6gPB5QtxHHcjgo,18373
|
27
27
|
seleniumbase/console_scripts/sb_commander.py,sha256=SNBOApj4JV_jtdoV7WPFVSWhFqLkPWOpFB8KPKYufGU,13557
|
@@ -36,7 +36,7 @@ seleniumbase/console_scripts/sb_print.py,sha256=yo641b_OdSE0GUauOyxk-QrNeIjYzbRY
|
|
36
36
|
seleniumbase/console_scripts/sb_recorder.py,sha256=QazacANTQgoc76abAfFUV0d4ja1o-bbsoX9sTPZr_eg,11134
|
37
37
|
seleniumbase/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
seleniumbase/core/application_manager.py,sha256=e_0sjtI8cjY5BNyZj1QBR0j6_oCScxGmSXYEpcYwuZE,576
|
39
|
-
seleniumbase/core/browser_launcher.py,sha256=
|
39
|
+
seleniumbase/core/browser_launcher.py,sha256=LOXtRLdaDStwV6paxmstZmtHBD9brb8lgkl1qICxs2w,205552
|
40
40
|
seleniumbase/core/capabilities_parser.py,sha256=meIS2uHapTCq2ldfNAToC7r0cKmZDRXuYNKExM1GHDY,6038
|
41
41
|
seleniumbase/core/colored_traceback.py,sha256=DrRWfg7XEnKcgY59Xj7Jdk09H-XqHYBSUpB-DiZt6iY,2020
|
42
42
|
seleniumbase/core/create_db_tables.sql,sha256=VWPtrdiW_HQ6yETHjqTu-VIrTwvd8I8o1NfBeaVSHpU,972
|
@@ -50,7 +50,7 @@ seleniumbase/core/proxy_helper.py,sha256=cXhu8ErK9Vjdm82RMaQj7hEq_yUWizSp6LyiD50
|
|
50
50
|
seleniumbase/core/recorder_helper.py,sha256=fNGjbapXmEsht54x1o6Igk198QdnPxDDnjUOzQxNhNQ,25055
|
51
51
|
seleniumbase/core/report_helper.py,sha256=AIl6Qava2yW1uSzbLpJBlPlYDz0KE-rVhogh8hsGWBo,12201
|
52
52
|
seleniumbase/core/s3_manager.py,sha256=bkeI8I4y19ebWuQG1oEZV5qJbotC6eN8vin31OCNWJk,3521
|
53
|
-
seleniumbase/core/sb_driver.py,sha256=
|
53
|
+
seleniumbase/core/sb_driver.py,sha256=_oC9esOgxhKXssMEzS-3gfNuqevJSr8eZ39ClL4ZuSk,10037
|
54
54
|
seleniumbase/core/session_helper.py,sha256=s9zD3PVZEWVzG2h81cCUskbNWLfdjC_LwwQjKptHCak,558
|
55
55
|
seleniumbase/core/settings_parser.py,sha256=KokVXpCiGZhJ-D4Bo-hizPz5r-iefzWoiTANu9zNaq4,7504
|
56
56
|
seleniumbase/core/style_sheet.py,sha256=tPpJ1xl6Kuw425Z-3Y0OgVRLGXk_ciBDREZjXk_NuPE,11395
|
@@ -64,13 +64,13 @@ seleniumbase/extensions/disable_csp.zip,sha256=YMifIIgEBiLrEFrS1sfW4Exh4br1V4oK1
|
|
64
64
|
seleniumbase/extensions/recorder.zip,sha256=OOyzF-Ize2cSRu1CqhzSAq5vusI9hqLLd2OIApUHesI,11918
|
65
65
|
seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
|
66
66
|
seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
67
|
-
seleniumbase/fixtures/base_case.py,sha256=
|
67
|
+
seleniumbase/fixtures/base_case.py,sha256=i9THSRjehtSs8eRjUvOQLm0AVZrzCrJ2q0K7Ui5AHTY,702683
|
68
68
|
seleniumbase/fixtures/constants.py,sha256=TapuGLdERtvZPGMblVXkNGybr8tj8FMtN3sbJ3ygyoc,13569
|
69
69
|
seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
|
70
70
|
seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
|
71
71
|
seleniumbase/fixtures/js_utils.py,sha256=cYFRazc6iO2tTB5kf3_mW3czMQ8mJ5OSHldx7n31E8E,50940
|
72
72
|
seleniumbase/fixtures/page_actions.py,sha256=5xYWeTDLs9i1yOs5iWDk17CLoiUU5kRLHlmKRUJ7TcQ,63030
|
73
|
-
seleniumbase/fixtures/page_utils.py,sha256=
|
73
|
+
seleniumbase/fixtures/page_utils.py,sha256=5m7iXpikLs80TJoRO6_gEfXE1AKeQgcH1aFbR8o1C9A,12034
|
74
74
|
seleniumbase/fixtures/shared_utils.py,sha256=Fc78v0OxfLPOPqeT8ExsdkTgXHlmpxvJeLbLyDnu1dI,5748
|
75
75
|
seleniumbase/fixtures/unittest_helper.py,sha256=sfZ92rZeBAn_sF_yQ3I6_I7h3lyU5-cV_UMegBNoEm8,1294
|
76
76
|
seleniumbase/fixtures/words.py,sha256=FOA4mAYvl3EPVpBTvgvK6YwCL8BdlRCmed685kEe7Vg,7827
|
@@ -85,13 +85,13 @@ seleniumbase/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
85
85
|
seleniumbase/plugins/base_plugin.py,sha256=FemdftNhOaTfQIw5bWcJQPPPGQ3P0_sMEI_YYDuzZgU,14972
|
86
86
|
seleniumbase/plugins/basic_test_info.py,sha256=8ov6n417gPbqqvrlT4zrch7l2XcRt-GF2ny6rR9AMWk,2108
|
87
87
|
seleniumbase/plugins/db_reporting_plugin.py,sha256=En09qUCoojrk9-vbcnsoHdSELoGmag2GDIyu3jTiJas,7331
|
88
|
-
seleniumbase/plugins/driver_manager.py,sha256=
|
88
|
+
seleniumbase/plugins/driver_manager.py,sha256=elGPayydGWkiChDOEl3VrAgWvq_9HiwLGO4u4L59jBY,33725
|
89
89
|
seleniumbase/plugins/page_source.py,sha256=loTnXxOj4kxEukuTZEiGyvKBhY3KDVDMnNlHHheTBDE,1889
|
90
|
-
seleniumbase/plugins/pytest_plugin.py,sha256=
|
90
|
+
seleniumbase/plugins/pytest_plugin.py,sha256=DSQiHFFuhd8Je_71vDvbGvR5hmFUHoO2EMzbUlirJbQ,97538
|
91
91
|
seleniumbase/plugins/s3_logging_plugin.py,sha256=WDfertQgGOW_SRJpFMaekYD6vBVW9VO62POtXXy2HCM,2319
|
92
|
-
seleniumbase/plugins/sb_manager.py,sha256=
|
92
|
+
seleniumbase/plugins/sb_manager.py,sha256=XNk24ZSHqBsX-NzEcu100GcIihfu3-DC3KcktBJu_mE,53438
|
93
93
|
seleniumbase/plugins/screen_shots.py,sha256=1hrXw-hzuZ1BR6Yh7AyWX2ABnvnP73-RCbwdz958gj4,1127
|
94
|
-
seleniumbase/plugins/selenium_plugin.py,sha256=
|
94
|
+
seleniumbase/plugins/selenium_plugin.py,sha256=_i6lrzJB7tL-1pStryXrOC07XPnEJruF3fsiy4WmRwM,59048
|
95
95
|
seleniumbase/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
96
96
|
seleniumbase/translate/__init__.py,sha256=N2i5XntTwJZmwr9-qvdX5gC6Rdm5-ClIbnQ8yyPn4Oo,459
|
97
97
|
seleniumbase/translate/chinese.py,sha256=0QhK2eadtsdN4KCvwki1J7jBCe8I4xxWbKzteJKJozY,24698
|
@@ -126,9 +126,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.bat,sha256=Ftq-GrAKRYH2ssDPr
|
|
126
126
|
seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443QFK8PryBpDmKn5Gy0s4o0vDSM,106
|
127
127
|
seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
128
128
|
seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
|
129
|
-
seleniumbase-4.31.
|
130
|
-
seleniumbase-4.31.
|
131
|
-
seleniumbase-4.31.
|
132
|
-
seleniumbase-4.31.
|
133
|
-
seleniumbase-4.31.
|
134
|
-
seleniumbase-4.31.
|
129
|
+
seleniumbase-4.31.2.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
130
|
+
seleniumbase-4.31.2.dist-info/METADATA,sha256=yTA2yehxagpmMrPELcO-Ct8biS9bZ8dNFnVw2Ih7Y-Q,85315
|
131
|
+
seleniumbase-4.31.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
132
|
+
seleniumbase-4.31.2.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
133
|
+
seleniumbase-4.31.2.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
134
|
+
seleniumbase-4.31.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|