seleniumbase 4.22.1__py3-none-any.whl → 4.22.3__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 +4 -1
- seleniumbase/fixtures/constants.py +1 -0
- seleniumbase/undetected/__init__.py +6 -1
- {seleniumbase-4.22.1.dist-info → seleniumbase-4.22.3.dist-info}/METADATA +7 -3
- {seleniumbase-4.22.1.dist-info → seleniumbase-4.22.3.dist-info}/RECORD +10 -10
- {seleniumbase-4.22.1.dist-info → seleniumbase-4.22.3.dist-info}/LICENSE +0 -0
- {seleniumbase-4.22.1.dist-info → seleniumbase-4.22.3.dist-info}/WHEEL +0 -0
- {seleniumbase-4.22.1.dist-info → seleniumbase-4.22.3.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.22.1.dist-info → seleniumbase-4.22.3.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.22.
|
2
|
+
__version__ = "4.22.3"
|
@@ -1270,7 +1270,10 @@ def _set_firefox_options(
|
|
1270
1270
|
f_pref = firefox_pref_item.split(":")[0]
|
1271
1271
|
f_pref_value = firefox_pref_item.split(":")[1]
|
1272
1272
|
needs_conversion = True
|
1273
|
-
|
1273
|
+
elif firefox_pref_item.count("://") == 1:
|
1274
|
+
f_pref = firefox_pref_item.split(":")[0]
|
1275
|
+
f_pref_value = ":".join(firefox_pref_item.split(":")[1:])
|
1276
|
+
else: # More than one ":" in the set without a URL.
|
1274
1277
|
raise Exception(
|
1275
1278
|
'Incorrect formatting for Firefox "pref:value" set!'
|
1276
1279
|
)
|
@@ -427,7 +427,12 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
|
427
427
|
self.service.stop()
|
428
428
|
except Exception:
|
429
429
|
pass
|
430
|
-
|
430
|
+
if isinstance(timeout, str):
|
431
|
+
if timeout.lower() == "breakpoint":
|
432
|
+
breakpoint() # To continue:
|
433
|
+
pass # Type "c" & press ENTER!
|
434
|
+
else:
|
435
|
+
time.sleep(timeout)
|
431
436
|
try:
|
432
437
|
self.service.start()
|
433
438
|
except Exception:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.22.
|
3
|
+
Version: 4.22.3
|
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
|
@@ -108,7 +108,7 @@ Requires-Dist: pluggy ==1.2.0 ; python_version < "3.8"
|
|
108
108
|
Requires-Dist: soupsieve ==2.4.1 ; python_version < "3.8"
|
109
109
|
Requires-Dist: markdown-it-py ==2.2.0 ; python_version < "3.8"
|
110
110
|
Requires-Dist: urllib3 <2.2.0,>=1.26.18 ; python_version >= "3.10"
|
111
|
-
Requires-Dist: setuptools >=69.0.
|
111
|
+
Requires-Dist: setuptools >=69.0.3 ; python_version >= "3.8"
|
112
112
|
Requires-Dist: filelock >=3.13.1 ; python_version >= "3.8"
|
113
113
|
Requires-Dist: platformdirs >=4.1.0 ; python_version >= "3.8"
|
114
114
|
Requires-Dist: trio ==0.23.2 ; python_version >= "3.8"
|
@@ -123,7 +123,7 @@ Requires-Dist: allure-behave ==2.13.2 ; extra == 'allure'
|
|
123
123
|
Provides-Extra: coverage
|
124
124
|
Requires-Dist: pytest-cov ==4.1.0 ; extra == 'coverage'
|
125
125
|
Requires-Dist: coverage ==7.2.7 ; (python_version < "3.8") and extra == 'coverage'
|
126
|
-
Requires-Dist: coverage ==7.3.
|
126
|
+
Requires-Dist: coverage ==7.3.4 ; (python_version >= "3.8") and extra == 'coverage'
|
127
127
|
Provides-Extra: flake8
|
128
128
|
Requires-Dist: mccabe ==0.7.0 ; extra == 'flake8'
|
129
129
|
Requires-Dist: flake8 ==5.0.4 ; (python_version < "3.9") and extra == 'flake8'
|
@@ -268,9 +268,13 @@ class CoffeeCartTest(BaseCase):
|
|
268
268
|
def test_coffee_cart(self):
|
269
269
|
self.open("https://seleniumbase.io/coffee/")
|
270
270
|
self.assert_title("Coffee Cart")
|
271
|
+
self.assert_element('button:contains("Total: $0.00")')
|
271
272
|
self.click('div[data-sb="Cappuccino"]')
|
273
|
+
self.assert_exact_text("cart (1)", 'a[aria-label="Cart page"]')
|
272
274
|
self.click('div[data-sb="Flat-White"]')
|
275
|
+
self.assert_exact_text("cart (2)", 'a[aria-label="Cart page"]')
|
273
276
|
self.click('div[data-sb="Cafe-Latte"]')
|
277
|
+
self.assert_exact_text("cart (3)", 'a[aria-label="Cart page"]')
|
274
278
|
self.click('a[aria-label="Cart page"]')
|
275
279
|
self.assert_exact_text("Total: $53.00", "button.pay")
|
276
280
|
self.click("button.pay")
|
@@ -5,7 +5,7 @@ sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
|
|
5
5
|
seleniumbase/ReadMe.md,sha256=5Bnv8gsyKQGABhLj0S4HXZdtVic98puQlIGYc7YHUm8,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=EWaL277Q-qm9BDwn7ip2DKrEVe2PJ5KPMw-W0mVPV8w,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=JhEsKHK1SXR9pNalJahqUfax_frWzfKUF4MVXKwbhZA,55879
|
@@ -40,7 +40,7 @@ seleniumbase/console_scripts/sb_print.py,sha256=bFXBFusrKZ0v2OwCVgTiHvDCi17HdJYA
|
|
40
40
|
seleniumbase/console_scripts/sb_recorder.py,sha256=2QQov64Erfnm1hnVleKX-c_llcsO6hhJKKxzcANcix0,10904
|
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=ZH-hCBMEct6ga618zwH8Qm2s7i19Td_HCRcVSuhgsoQ,158536
|
44
44
|
seleniumbase/core/capabilities_parser.py,sha256=lu2W7O1JrU9tLgvhx5gQ_Baqnkf3IjcPDzze0P2Ou-Y,5736
|
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
|
@@ -71,7 +71,7 @@ seleniumbase/extensions/recorder.zip,sha256=OwrA8rmLHBq1jWsehw7rAy_EcwYVQkmtPW_R
|
|
71
71
|
seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
|
72
72
|
seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
73
|
seleniumbase/fixtures/base_case.py,sha256=nxxNVtB2K1ZmJCJLq4f9m1GGyd-HzVzaP1u-doHaYes,686851
|
74
|
-
seleniumbase/fixtures/constants.py,sha256=
|
74
|
+
seleniumbase/fixtures/constants.py,sha256=o7gQVKt0nZoR4r0tRwkfWYiCxjEDG9e7D6EEEXG141I,13254
|
75
75
|
seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
|
76
76
|
seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
|
77
77
|
seleniumbase/fixtures/js_utils.py,sha256=VNCe6-ppEqwgblp_NL2XeYe7DmxqZAJdguzAdn1oMeU,49940
|
@@ -114,7 +114,7 @@ seleniumbase/translate/portuguese.py,sha256=x3P4qxp56UiI41GoaL7JbUvFRYsgXU1EKjTg
|
|
114
114
|
seleniumbase/translate/russian.py,sha256=TyN9n0b4GRWDEYnHRGw1rfNAscdDmP3F3Y3aySM3C7s,27978
|
115
115
|
seleniumbase/translate/spanish.py,sha256=hh3xgW1Pq122SHYVvJAxFaXhFrjniOVncVbJbfWqOUM,25528
|
116
116
|
seleniumbase/translate/translator.py,sha256=yHQILpiMom-D-9TgW3RrPW-EYxWRD-slecfpLUkJZk0,49436
|
117
|
-
seleniumbase/undetected/__init__.py,sha256=
|
117
|
+
seleniumbase/undetected/__init__.py,sha256=NqlWc59Qg1Mwhb2YM1ZjqtZC0-EhyzTg4eaKM3OdBlo,21231
|
118
118
|
seleniumbase/undetected/cdp.py,sha256=EralLQm8diG5i6EoHFXHIQEc7Uf7PWtzyPH_upS5RIs,4047
|
119
119
|
seleniumbase/undetected/dprocess.py,sha256=WWQ_X_-Q7Lfx1m6oxkYHU0eTIc76Jodph4n1QnK4GEE,1706
|
120
120
|
seleniumbase/undetected/options.py,sha256=SGuz8iqlVPYN7IexNiGauupWF0xP3mqO72-9tgIqeuI,2999
|
@@ -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.22.
|
141
|
-
seleniumbase-4.22.
|
142
|
-
seleniumbase-4.22.
|
143
|
-
seleniumbase-4.22.
|
144
|
-
seleniumbase-4.22.
|
145
|
-
seleniumbase-4.22.
|
140
|
+
seleniumbase-4.22.3.dist-info/LICENSE,sha256=9CweYVs2pqSWEApWewHooJ5p5F44GV0wSXi-jV0kA_U,1085
|
141
|
+
seleniumbase-4.22.3.dist-info/METADATA,sha256=jceF1-2-4udJJTuzfzce4kTybrMMb6cqj_MwMWsipuc,83922
|
142
|
+
seleniumbase-4.22.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
143
|
+
seleniumbase-4.22.3.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.22.3.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.22.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|