seleniumbase 4.22.6__py3-none-any.whl → 4.23.0__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-4.22.6.dist-info → seleniumbase-4.23.0.dist-info}/METADATA +14 -12
- {seleniumbase-4.22.6.dist-info → seleniumbase-4.23.0.dist-info}/RECORD +7 -7
- {seleniumbase-4.22.6.dist-info → seleniumbase-4.23.0.dist-info}/LICENSE +0 -0
- {seleniumbase-4.22.6.dist-info → seleniumbase-4.23.0.dist-info}/WHEEL +0 -0
- {seleniumbase-4.22.6.dist-info → seleniumbase-4.23.0.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.22.6.dist-info → seleniumbase-4.23.0.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.
|
2
|
+
__version__ = "4.23.0"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.
|
3
|
+
Version: 4.23.0
|
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
|
@@ -113,8 +113,8 @@ Requires-Dist: setuptools >=69.0.3 ; python_version >= "3.8"
|
|
113
113
|
Requires-Dist: filelock >=3.13.1 ; python_version >= "3.8"
|
114
114
|
Requires-Dist: platformdirs >=4.1.0 ; python_version >= "3.8"
|
115
115
|
Requires-Dist: trio ==0.24.0 ; python_version >= "3.8"
|
116
|
-
Requires-Dist: selenium ==4.
|
117
|
-
Requires-Dist: pluggy ==1.
|
116
|
+
Requires-Dist: selenium ==4.17.2 ; python_version >= "3.8"
|
117
|
+
Requires-Dist: pluggy ==1.4.0 ; python_version >= "3.8"
|
118
118
|
Requires-Dist: soupsieve ==2.5 ; python_version >= "3.8"
|
119
119
|
Requires-Dist: markdown-it-py ==3.0.0 ; python_version >= "3.8"
|
120
120
|
Provides-Extra: allure
|
@@ -143,12 +143,12 @@ Requires-Dist: cffi ==1.15.1 ; (python_version < "3.8") and extra == 'pdfminer'
|
|
143
143
|
Requires-Dist: cryptography ==39.0.2 ; (python_version < "3.9") and extra == 'pdfminer'
|
144
144
|
Requires-Dist: pdfminer.six ==20231228 ; (python_version >= "3.8") and extra == 'pdfminer'
|
145
145
|
Requires-Dist: cffi ==1.16.0 ; (python_version >= "3.8") and extra == 'pdfminer'
|
146
|
-
Requires-Dist: cryptography ==
|
146
|
+
Requires-Dist: cryptography ==42.0.0 ; (python_version >= "3.9") and extra == 'pdfminer'
|
147
147
|
Provides-Extra: pillow
|
148
148
|
Requires-Dist: Pillow ==9.5.0 ; (python_version < "3.8") and extra == 'pillow'
|
149
149
|
Requires-Dist: Pillow ==10.2.0 ; (python_version >= "3.8") and extra == 'pillow'
|
150
150
|
Provides-Extra: psutil
|
151
|
-
Requires-Dist: psutil ==5.9.
|
151
|
+
Requires-Dist: psutil ==5.9.8 ; extra == 'psutil'
|
152
152
|
Provides-Extra: selenium-stealth
|
153
153
|
Requires-Dist: selenium-stealth ==1.0.6 ; extra == 'selenium-stealth'
|
154
154
|
Provides-Extra: selenium-wire
|
@@ -1472,22 +1472,24 @@ self.click("a.analytics") # Clicks the generated button
|
|
1472
1472
|
|
1473
1473
|
<h3>🔵 How to use deferred asserts:</h3>
|
1474
1474
|
|
1475
|
-
<p>Let's say you want to verify multiple different elements on a web page in a single test, but you don't want the test to fail until you verified several elements at once so that you don't have to rerun the test to find more missing elements on the same page. That's where deferred asserts come in. Here's
|
1475
|
+
<p>Let's say you want to verify multiple different elements on a web page in a single test, but you don't want the test to fail until you verified several elements at once so that you don't have to rerun the test to find more missing elements on the same page. That's where deferred asserts come in. Here's an example:</p>
|
1476
1476
|
|
1477
1477
|
```python
|
1478
1478
|
from seleniumbase import BaseCase
|
1479
1479
|
BaseCase.main(__name__, __file__)
|
1480
1480
|
|
1481
|
-
class
|
1481
|
+
class DeferredAssertTests(BaseCase):
|
1482
1482
|
def test_deferred_asserts(self):
|
1483
|
-
self.open(
|
1484
|
-
self.wait_for_element(
|
1483
|
+
self.open("https://xkcd.com/993/")
|
1484
|
+
self.wait_for_element("#comic")
|
1485
1485
|
self.deferred_assert_element('img[alt="Brand Identity"]')
|
1486
1486
|
self.deferred_assert_element('img[alt="Rocket Ship"]') # Will Fail
|
1487
|
-
self.deferred_assert_element(
|
1488
|
-
self.deferred_assert_text(
|
1489
|
-
self.deferred_assert_text(
|
1487
|
+
self.deferred_assert_element("#comicmap")
|
1488
|
+
self.deferred_assert_text("Fake Item", "ul.comicNav") # Will Fail
|
1489
|
+
self.deferred_assert_text("Random", "ul.comicNav")
|
1490
1490
|
self.deferred_assert_element('a[name="Super Fake !!!"]') # Will Fail
|
1491
|
+
self.deferred_assert_exact_text("Brand Identity", "#ctitle")
|
1492
|
+
self.deferred_assert_exact_text("Fake Food", "#comic") # Will Fail
|
1491
1493
|
self.process_deferred_asserts()
|
1492
1494
|
```
|
1493
1495
|
|
@@ -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=DzUsnScCsehfP07SyuVCgY7kh9b4smIG9s2jcwNl-8M,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=fy1yz96ED-M0cgfGp0jZlxNVegPYnLRJWj7lBSGMKlQ,56283
|
@@ -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.
|
141
|
-
seleniumbase-4.
|
142
|
-
seleniumbase-4.
|
143
|
-
seleniumbase-4.
|
144
|
-
seleniumbase-4.
|
145
|
-
seleniumbase-4.
|
140
|
+
seleniumbase-4.23.0.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
141
|
+
seleniumbase-4.23.0.dist-info/METADATA,sha256=hVS4zEmB37dgkK8OD6spVZAqH8xCdTIWbTloY2UEISU,84395
|
142
|
+
seleniumbase-4.23.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
143
|
+
seleniumbase-4.23.0.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
144
|
+
seleniumbase-4.23.0.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
145
|
+
seleniumbase-4.23.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|