seleniumbase 4.37.9__py3-none-any.whl → 4.37.10__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 +8 -5
- seleniumbase/undetected/cdp_driver/connection.py +0 -3
- seleniumbase/undetected/cdp_driver/tab.py +1 -0
- {seleniumbase-4.37.9.dist-info → seleniumbase-4.37.10.dist-info}/METADATA +1 -1
- {seleniumbase-4.37.9.dist-info → seleniumbase-4.37.10.dist-info}/RECORD +10 -10
- {seleniumbase-4.37.9.dist-info → seleniumbase-4.37.10.dist-info}/WHEEL +0 -0
- {seleniumbase-4.37.9.dist-info → seleniumbase-4.37.10.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.37.9.dist-info → seleniumbase-4.37.10.dist-info}/licenses/LICENSE +0 -0
- {seleniumbase-4.37.9.dist-info → seleniumbase-4.37.10.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.10"
|
@@ -1369,12 +1369,15 @@ def SB(
|
|
1369
1369
|
"%s%s%s%s%s"
|
1370
1370
|
% (c1, left_space, end_text, right_space, cr)
|
1371
1371
|
)
|
1372
|
-
if hasattr(
|
1372
|
+
if undetectable and hasattr(sb, "_drivers_browser_map"):
|
1373
1373
|
import asyncio
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1374
|
+
for driver in sb._drivers_browser_map.keys():
|
1375
|
+
if hasattr(driver, "cdp") and driver.cdp:
|
1376
|
+
asyncio.set_event_loop(driver.cdp.loop)
|
1377
|
+
tasks = [tab.aclose() for tab in driver.cdp.get_tabs()]
|
1378
|
+
tasks.append(driver.cdp.driver.connection.aclose())
|
1379
|
+
driver.cdp.loop.run_until_complete(asyncio.gather(*tasks))
|
1380
|
+
driver.cdp.loop.close()
|
1378
1381
|
gc.collect()
|
1379
1382
|
if test and test_name and not test_passed and raise_test_failure:
|
1380
1383
|
raise exception
|
@@ -19,7 +19,6 @@ from typing import (
|
|
19
19
|
)
|
20
20
|
import websockets
|
21
21
|
from websockets.protocol import State
|
22
|
-
from seleniumbase import config as sb_config
|
23
22
|
from . import cdp_util as util
|
24
23
|
import mycdp as cdp
|
25
24
|
import mycdp.network
|
@@ -271,7 +270,6 @@ class Connection(metaclass=CantTouchThis):
|
|
271
270
|
max_size=MAX_SIZE,
|
272
271
|
)
|
273
272
|
self.listener = Listener(self)
|
274
|
-
sb_config._cdp_aclose = self.aclose
|
275
273
|
except (Exception,) as e:
|
276
274
|
logger.debug("Exception during opening of websocket: %s", e)
|
277
275
|
if self.listener:
|
@@ -446,7 +444,6 @@ class Connection(metaclass=CantTouchThis):
|
|
446
444
|
if not _is_update:
|
447
445
|
await self._register_handlers()
|
448
446
|
await self.websocket.send(tx.message)
|
449
|
-
sb_config._cdp_aclose = self.aclose
|
450
447
|
try:
|
451
448
|
return await tx
|
452
449
|
except ProtocolException as e:
|
@@ -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=jDe8n1zvjOveWUPBtPnprtARQ-a2p2LPau8n0FGi8dA,47
|
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=kkQiMWWcL4xkeXwEippZzAoKLScCu5YY4JByJmizG_M,57906
|
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,9 +118,9 @@ seleniumbase/undetected/cdp_driver/_contradict.py,sha256=lP4b0h5quAy573ETn_TBbYV
|
|
118
118
|
seleniumbase/undetected/cdp_driver/browser.py,sha256=9JGyDIQftCY-u3ega6gO5PTSxkHs7x9ykJszCdyugLo,32814
|
119
119
|
seleniumbase/undetected/cdp_driver/cdp_util.py,sha256=flVpVu9o_2zgWFZFEkmfp8fJ6ewTTAJuZmiWm4hz-TA,24093
|
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=DF57pY08fpnazwDuMhYUfbf7oc9XhxkuJ4JQhH9eNoc,24424
|
122
122
|
seleniumbase/undetected/cdp_driver/element.py,sha256=FIC6v7OmumLCT-_vIc3H4oju_oBbaLpWJUJIKm2c_q4,40467
|
123
|
-
seleniumbase/undetected/cdp_driver/tab.py,sha256=
|
123
|
+
seleniumbase/undetected/cdp_driver/tab.py,sha256=wRfeoJwed9OO7SsvdWRIfRRduNFDT1Rl-mBACHf3ZKM,53077
|
124
124
|
seleniumbase/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
125
125
|
seleniumbase/utilities/selenium_grid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
126
126
|
seleniumbase/utilities/selenium_grid/download_selenium_server.py,sha256=ZdoInIbhtmdKCIPxxtJHhd2sqotqcNXWMYbwWrkh9O0,1727
|
@@ -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.10.dist-info/licenses/LICENSE,sha256=BRblZsX7HyPUjQmYTiyWr_e9tzWvmR3R4SFclM2R3W0,1085
|
139
|
+
seleniumbase-4.37.10.dist-info/METADATA,sha256=6ciCn6ndu3YZugzQzVcEWCuBqTd1uQkP27d3ZoPZqao,86954
|
140
|
+
seleniumbase-4.37.10.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
141
|
+
seleniumbase-4.37.10.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
142
|
+
seleniumbase-4.37.10.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
143
|
+
seleniumbase-4.37.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|