seleniumbase 4.37.3__py3-none-any.whl → 4.37.4__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/sb_manager.py +6 -0
- seleniumbase/undetected/cdp_driver/connection.py +3 -0
- {seleniumbase-4.37.3.dist-info → seleniumbase-4.37.4.dist-info}/METADATA +2 -2
- {seleniumbase-4.37.3.dist-info → seleniumbase-4.37.4.dist-info}/RECORD +9 -9
- {seleniumbase-4.37.3.dist-info → seleniumbase-4.37.4.dist-info}/WHEEL +1 -1
- {seleniumbase-4.37.3.dist-info → seleniumbase-4.37.4.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.37.3.dist-info → seleniumbase-4.37.4.dist-info}/licenses/LICENSE +0 -0
- {seleniumbase-4.37.3.dist-info → seleniumbase-4.37.4.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.37.
|
2
|
+
__version__ = "4.37.4"
|
@@ -1367,6 +1367,12 @@ def SB(
|
|
1367
1367
|
"%s%s%s%s%s"
|
1368
1368
|
% (c1, left_space, end_text, right_space, cr)
|
1369
1369
|
)
|
1370
|
+
if hasattr(sb_config, "_cdp_aclose"):
|
1371
|
+
import asyncio
|
1372
|
+
with suppress(Exception):
|
1373
|
+
loop = asyncio.get_event_loop()
|
1374
|
+
asyncio.set_event_loop(loop)
|
1375
|
+
loop.run_until_complete(sb_config._cdp_aclose())
|
1370
1376
|
gc.collect()
|
1371
1377
|
if test and test_name and not test_passed and raise_test_failure:
|
1372
1378
|
raise exception
|
@@ -19,6 +19,7 @@ from typing import (
|
|
19
19
|
)
|
20
20
|
import websockets
|
21
21
|
from websockets.protocol import State
|
22
|
+
from seleniumbase import config as sb_config
|
22
23
|
from . import cdp_util as util
|
23
24
|
import mycdp as cdp
|
24
25
|
import mycdp.network
|
@@ -270,6 +271,7 @@ class Connection(metaclass=CantTouchThis):
|
|
270
271
|
max_size=MAX_SIZE,
|
271
272
|
)
|
272
273
|
self.listener = Listener(self)
|
274
|
+
sb_config._cdp_aclose = self.aclose
|
273
275
|
except (Exception,) as e:
|
274
276
|
logger.debug("Exception during opening of websocket: %s", e)
|
275
277
|
if self.listener:
|
@@ -415,6 +417,7 @@ class Connection(metaclass=CantTouchThis):
|
|
415
417
|
if not _is_update:
|
416
418
|
await self._register_handlers()
|
417
419
|
await self.websocket.send(tx.message)
|
420
|
+
sb_config._cdp_aclose = self.aclose
|
418
421
|
try:
|
419
422
|
return await tx
|
420
423
|
except ProtocolException as e:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.37.
|
3
|
+
Version: 4.37.4
|
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
|
@@ -62,7 +62,7 @@ License-File: LICENSE
|
|
62
62
|
Requires-Dist: pip>=25.0.1
|
63
63
|
Requires-Dist: packaging>=25.0
|
64
64
|
Requires-Dist: setuptools~=70.2; python_version < "3.10"
|
65
|
-
Requires-Dist: setuptools>=78.1.
|
65
|
+
Requires-Dist: setuptools>=78.1.1; python_version >= "3.10"
|
66
66
|
Requires-Dist: wheel>=0.45.1
|
67
67
|
Requires-Dist: attrs>=25.3.0
|
68
68
|
Requires-Dist: certifi>=2025.1.31
|
@@ -3,7 +3,7 @@ sbase/__main__.py,sha256=G0bVB1-DM4PGwQ1KyOupaWCs4ePbChZNNWuX2htim5U,647
|
|
3
3
|
sbase/steps.py,sha256=_WvAjydKqZfTdnZW9LPKkRty-g-lfdUPmLqnZj6ulcs,43013
|
4
4
|
seleniumbase/__init__.py,sha256=JFEY9P5QJqsa1M6ghzLMH2eIPQyh85iglCaQwg8Y8z4,2498
|
5
5
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
6
|
-
seleniumbase/__version__.py,sha256=
|
6
|
+
seleniumbase/__version__.py,sha256=fZ1y3oTW13JrApmj0WwBoSfmF8tNcK1rSpyZzAxlT_Y,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
9
|
seleniumbase/behave/behave_sb.py,sha256=qQF85LoohJBfrPK5ZcPi50v-pWtOrC9qcN1B3Ki_3tY,59401
|
@@ -90,7 +90,7 @@ seleniumbase/plugins/driver_manager.py,sha256=1l4fxISvGV62gfDxp3yfYE2zz4WKJFLE0t
|
|
90
90
|
seleniumbase/plugins/page_source.py,sha256=loTnXxOj4kxEukuTZEiGyvKBhY3KDVDMnNlHHheTBDE,1889
|
91
91
|
seleniumbase/plugins/pytest_plugin.py,sha256=952AIyaH-PdmNksoeXjzhXxoc8Z53yV-WPjlrHhp2OM,108382
|
92
92
|
seleniumbase/plugins/s3_logging_plugin.py,sha256=WDfertQgGOW_SRJpFMaekYD6vBVW9VO62POtXXy2HCM,2319
|
93
|
-
seleniumbase/plugins/sb_manager.py,sha256=
|
93
|
+
seleniumbase/plugins/sb_manager.py,sha256=IMUACNzz3Jz0F8YNr6MzX3nO_cEG9YQVzXc8X6PNiZY,57530
|
94
94
|
seleniumbase/plugins/screen_shots.py,sha256=1hrXw-hzuZ1BR6Yh7AyWX2ABnvnP73-RCbwdz958gj4,1127
|
95
95
|
seleniumbase/plugins/selenium_plugin.py,sha256=y0eNco8T4KgGLProLPHPLw479QH5lRms4wqwOnTgkSc,60081
|
96
96
|
seleniumbase/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -118,7 +118,7 @@ seleniumbase/undetected/cdp_driver/_contradict.py,sha256=lP4b0h5quAy573ETn_TBbYV
|
|
118
118
|
seleniumbase/undetected/cdp_driver/browser.py,sha256=c-9EWqpD2ZtpDg8edMuw9hYa6GuyOP1qxorNjtsWe1U,30457
|
119
119
|
seleniumbase/undetected/cdp_driver/cdp_util.py,sha256=oKUEHx220PEFvHLW4dz18i4j1Q6HPTdkKx9QOKAVZ3I,21821
|
120
120
|
seleniumbase/undetected/cdp_driver/config.py,sha256=t8KV1Vqa5SQRBq3-gjkHHmj9h85AplAM01asO3AWufs,12507
|
121
|
-
seleniumbase/undetected/cdp_driver/connection.py,sha256=
|
121
|
+
seleniumbase/undetected/cdp_driver/connection.py,sha256=9jporadMWR2BGaBj9eACK6JyAL9TeAQvGdpTTU7gxe4,23507
|
122
122
|
seleniumbase/undetected/cdp_driver/element.py,sha256=FIC6v7OmumLCT-_vIc3H4oju_oBbaLpWJUJIKm2c_q4,40467
|
123
123
|
seleniumbase/undetected/cdp_driver/tab.py,sha256=bxkCFKDejQ1xKsX3740RvvrYfC4OBv1mlQ4yWJM6As4,52260
|
124
124
|
seleniumbase/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -135,9 +135,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.bat,sha256=Ftq-GrAKRYH2ssDPr
|
|
135
135
|
seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443QFK8PryBpDmKn5Gy0s4o0vDSM,106
|
136
136
|
seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
137
137
|
seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
|
138
|
-
seleniumbase-4.37.
|
139
|
-
seleniumbase-4.37.
|
140
|
-
seleniumbase-4.37.
|
141
|
-
seleniumbase-4.37.
|
142
|
-
seleniumbase-4.37.
|
143
|
-
seleniumbase-4.37.
|
138
|
+
seleniumbase-4.37.4.dist-info/licenses/LICENSE,sha256=BRblZsX7HyPUjQmYTiyWr_e9tzWvmR3R4SFclM2R3W0,1085
|
139
|
+
seleniumbase-4.37.4.dist-info/METADATA,sha256=2K-iFJr0KSCY23uEJiPBPWfVBWl7sQmznZLMYIDtniI,86879
|
140
|
+
seleniumbase-4.37.4.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
141
|
+
seleniumbase-4.37.4.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
142
|
+
seleniumbase-4.37.4.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
143
|
+
seleniumbase-4.37.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|