seleniumbase 4.32.4a1__py3-none-any.whl → 4.32.4a2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- seleniumbase/__version__.py +1 -1
- seleniumbase/fixtures/base_case.py +1 -1
- seleniumbase/plugins/driver_manager.py +1 -1
- seleniumbase/undetected/__init__.py +1 -2
- seleniumbase/undetected/cdp.py +0 -1
- seleniumbase/undetected/dprocess.py +0 -1
- seleniumbase/undetected/options.py +11 -29
- seleniumbase/undetected/patcher.py +0 -1
- seleniumbase/undetected/reactor.py +0 -1
- {seleniumbase-4.32.4a1.dist-info → seleniumbase-4.32.4a2.dist-info}/METADATA +2 -2
- {seleniumbase-4.32.4a1.dist-info → seleniumbase-4.32.4a2.dist-info}/RECORD +15 -15
- {seleniumbase-4.32.4a1.dist-info → seleniumbase-4.32.4a2.dist-info}/LICENSE +0 -0
- {seleniumbase-4.32.4a1.dist-info → seleniumbase-4.32.4a2.dist-info}/WHEEL +0 -0
- {seleniumbase-4.32.4a1.dist-info → seleniumbase-4.32.4a2.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.32.4a1.dist-info → seleniumbase-4.32.4a2.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.32.
|
2
|
+
__version__ = "4.32.4a2"
|
@@ -4172,8 +4172,8 @@ class BaseCase(unittest.TestCase):
|
|
4172
4172
|
pass
|
4173
4173
|
finally:
|
4174
4174
|
with suppress(Exception):
|
4175
|
+
decoy_driver.disconnect()
|
4175
4176
|
decoy_driver.quit()
|
4176
|
-
time.sleep(0.1)
|
4177
4177
|
# Launch a web browser
|
4178
4178
|
new_driver = browser_launcher.get_driver(
|
4179
4179
|
browser_name=browser_name,
|
@@ -1,4 +1,3 @@
|
|
1
|
-
#!/usr/bin/env python3
|
2
1
|
import logging
|
3
2
|
import os
|
4
3
|
import re
|
@@ -252,7 +251,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
|
252
251
|
"Default",
|
253
252
|
"Preferences",
|
254
253
|
),
|
255
|
-
encoding="
|
254
|
+
encoding="utf-8",
|
256
255
|
mode="r+",
|
257
256
|
errors="ignore",
|
258
257
|
) as fs:
|
seleniumbase/undetected/cdp.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
#!/usr/bin/env python3
|
2
1
|
import json
|
3
2
|
import logging
|
4
3
|
import os
|
5
|
-
import time
|
6
4
|
from contextlib import suppress
|
7
5
|
from selenium.webdriver.chromium.options import ChromiumOptions
|
8
6
|
|
@@ -53,40 +51,24 @@ class ChromeOptions(ChromiumOptions):
|
|
53
51
|
undot_prefs = self._merge_nested(
|
54
52
|
undot_prefs, self._undot_key(key, value)
|
55
53
|
)
|
56
|
-
prefs_file = os.path.join(default_path, "Preferences")
|
54
|
+
prefs_file = os.path.join(default_path, "Preferences") + os.sep
|
57
55
|
with suppress(Exception):
|
58
56
|
if os.path.exists(prefs_file):
|
59
57
|
with open(
|
60
|
-
prefs_file,
|
61
|
-
encoding="latin1",
|
62
|
-
mode="r",
|
63
|
-
errors="ignore",
|
58
|
+
prefs_file, encoding="utf-8", mode="r", errors="ignore"
|
64
59
|
) as f:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
60
|
+
undot_prefs = self._merge_nested(
|
61
|
+
json.load(f), undot_prefs
|
62
|
+
)
|
63
|
+
if (
|
64
|
+
not os.path.exists(prefs_file)
|
65
|
+
or not any(os.scandir(prefs_file))
|
66
|
+
):
|
67
|
+
with suppress(Exception):
|
72
68
|
with open(
|
73
|
-
prefs_file,
|
74
|
-
encoding="latin1",
|
75
|
-
mode="w",
|
76
|
-
errors="ignore",
|
69
|
+
prefs_file, encoding="utf-8", mode="w", errors="ignore"
|
77
70
|
) as f:
|
78
71
|
json.dump(undot_prefs, f)
|
79
|
-
except Exception:
|
80
|
-
time.sleep(0.005)
|
81
|
-
with suppress(Exception):
|
82
|
-
with open(
|
83
|
-
prefs_file,
|
84
|
-
encoding="utf-8",
|
85
|
-
mode="w",
|
86
|
-
errors="ignore",
|
87
|
-
) as f:
|
88
|
-
json.dump(undot_prefs, f)
|
89
|
-
time.sleep(0.005)
|
90
72
|
# Remove experimental_options to avoid errors
|
91
73
|
del self._experimental_options["prefs"]
|
92
74
|
exclude_switches = self.experimental_options.get("excludeSwitches")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.32.
|
3
|
+
Version: 4.32.4a2
|
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
|
@@ -59,7 +59,7 @@ Classifier: Topic :: Utilities
|
|
59
59
|
Requires-Python: >=3.8
|
60
60
|
Description-Content-Type: text/markdown
|
61
61
|
License-File: LICENSE
|
62
|
-
Requires-Dist: pip>=24.3
|
62
|
+
Requires-Dist: pip>=24.3.1
|
63
63
|
Requires-Dist: packaging>=24.1
|
64
64
|
Requires-Dist: wheel>=0.44.0
|
65
65
|
Requires-Dist: attrs>=24.2.0
|
@@ -3,7 +3,7 @@ sbase/__main__.py,sha256=G0bVB1-DM4PGwQ1KyOupaWCs4ePbChZNNWuX2htim5U,647
|
|
3
3
|
sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
|
4
4
|
seleniumbase/__init__.py,sha256=OtJh8nGKL4xtZpw8KPqmn7Q6R-86t4cWUDyVF5MbMTo,2398
|
5
5
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
6
|
-
seleniumbase/__version__.py,sha256=
|
6
|
+
seleniumbase/__version__.py,sha256=y8P2Dh2BOUPuFJlt8NHL_koUMOo4oC9FUxkGTDH3rw4,48
|
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=-hza7Nx2U41mSObYiPMi48v3JlPh3sJO3yzP0kqZ1Gk,59174
|
@@ -65,7 +65,7 @@ seleniumbase/extensions/disable_csp.zip,sha256=YMifIIgEBiLrEFrS1sfW4Exh4br1V4oK1
|
|
65
65
|
seleniumbase/extensions/recorder.zip,sha256=OOyzF-Ize2cSRu1CqhzSAq5vusI9hqLLd2OIApUHesI,11918
|
66
66
|
seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
|
67
67
|
seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
68
|
-
seleniumbase/fixtures/base_case.py,sha256=
|
68
|
+
seleniumbase/fixtures/base_case.py,sha256=1U8m_t2sOn9M5BknPyZIumWfohVxvEyO4-Mxzsp_vJE,714730
|
69
69
|
seleniumbase/fixtures/constants.py,sha256=XYYMpB-ZDI756LvfhSK9RxdqQ_qO9fJVXgBqBYlQNkk,13609
|
70
70
|
seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
|
71
71
|
seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
|
@@ -86,7 +86,7 @@ seleniumbase/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
86
86
|
seleniumbase/plugins/base_plugin.py,sha256=FemdftNhOaTfQIw5bWcJQPPPGQ3P0_sMEI_YYDuzZgU,14972
|
87
87
|
seleniumbase/plugins/basic_test_info.py,sha256=8ov6n417gPbqqvrlT4zrch7l2XcRt-GF2ny6rR9AMWk,2108
|
88
88
|
seleniumbase/plugins/db_reporting_plugin.py,sha256=En09qUCoojrk9-vbcnsoHdSELoGmag2GDIyu3jTiJas,7331
|
89
|
-
seleniumbase/plugins/driver_manager.py,sha256=
|
89
|
+
seleniumbase/plugins/driver_manager.py,sha256=EkrnG8zLRw8P0VXFImsvyfXdDDRPAnHA8QwZd6WRdI8,37806
|
90
90
|
seleniumbase/plugins/page_source.py,sha256=loTnXxOj4kxEukuTZEiGyvKBhY3KDVDMnNlHHheTBDE,1889
|
91
91
|
seleniumbase/plugins/pytest_plugin.py,sha256=Up96HY6q3hcPo4LQoEcKqt1hm2OmY5GZz_nMXTqDSXQ,97185
|
92
92
|
seleniumbase/plugins/s3_logging_plugin.py,sha256=WDfertQgGOW_SRJpFMaekYD6vBVW9VO62POtXXy2HCM,2319
|
@@ -106,12 +106,12 @@ seleniumbase/translate/portuguese.py,sha256=x3P4qxp56UiI41GoaL7JbUvFRYsgXU1EKjTg
|
|
106
106
|
seleniumbase/translate/russian.py,sha256=TyN9n0b4GRWDEYnHRGw1rfNAscdDmP3F3Y3aySM3C7s,27978
|
107
107
|
seleniumbase/translate/spanish.py,sha256=hh3xgW1Pq122SHYVvJAxFaXhFrjniOVncVbJbfWqOUM,25528
|
108
108
|
seleniumbase/translate/translator.py,sha256=wPhZH6e5NhmebYL1kP2eGxUcVy1gfTb6XCH8ATEPpxE,49238
|
109
|
-
seleniumbase/undetected/__init__.py,sha256=
|
110
|
-
seleniumbase/undetected/cdp.py,sha256=
|
111
|
-
seleniumbase/undetected/dprocess.py,sha256=
|
112
|
-
seleniumbase/undetected/options.py,sha256=
|
113
|
-
seleniumbase/undetected/patcher.py,sha256=
|
114
|
-
seleniumbase/undetected/reactor.py,sha256=
|
109
|
+
seleniumbase/undetected/__init__.py,sha256=RzY5_ZQdVDzkybaYamvoIF5ChC1dTjqXPVFQB63iZVA,22111
|
110
|
+
seleniumbase/undetected/cdp.py,sha256=RLpwZnhUvmK9tgXcZIBBQedwk2q7Jj_EXZkmzI8WUqk,4023
|
111
|
+
seleniumbase/undetected/dprocess.py,sha256=83EV8ZHJWHG1TSUv9JNClBhdgiBXlkCc6mJ--HsoP3k,1681
|
112
|
+
seleniumbase/undetected/options.py,sha256=wt_Jpd7LKmj8rZGnBoap8pMmKqRuihlOUPhavbpUKa8,3220
|
113
|
+
seleniumbase/undetected/patcher.py,sha256=n9WfKznr4cQvaE5Gcx7iyK27zMWIc8KdI69_m817CSQ,10825
|
114
|
+
seleniumbase/undetected/reactor.py,sha256=NropaXcO54pzmDq6quR27qPJxab6636H7LRAaq-o0ng,2859
|
115
115
|
seleniumbase/undetected/webelement.py,sha256=_s6evgUkdWJpwOnzX4qR9i796PoVbz3txlzHlOBJ4BE,1370
|
116
116
|
seleniumbase/undetected/cdp_driver/__init__.py,sha256=c0TjMwPfVFyoqYOJ7PQ-Jln_L_dpN3ebHyaD-juQoM0,64
|
117
117
|
seleniumbase/undetected/cdp_driver/_contradict.py,sha256=6thDYeoEGiC7Q3tXLgoD_AhxecCFnATzBSjNympyRHA,3184
|
@@ -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.32.
|
139
|
-
seleniumbase-4.32.
|
140
|
-
seleniumbase-4.32.
|
141
|
-
seleniumbase-4.32.
|
142
|
-
seleniumbase-4.32.
|
143
|
-
seleniumbase-4.32.
|
138
|
+
seleniumbase-4.32.4a2.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
139
|
+
seleniumbase-4.32.4a2.dist-info/METADATA,sha256=19nt4iAhnK_g73CFHxmZIbJHMZ1UZUf_OHqv9sWNkB0,86097
|
140
|
+
seleniumbase-4.32.4a2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
141
|
+
seleniumbase-4.32.4a2.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
142
|
+
seleniumbase-4.32.4a2.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
143
|
+
seleniumbase-4.32.4a2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|