seleniumbase 4.15.14__py3-none-any.whl → 4.15.15__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/console_scripts/sb_mkchart.py +12 -7
- seleniumbase/console_scripts/sb_mkfile.py +1 -2
- seleniumbase/console_scripts/sb_mkpres.py +6 -1
- {seleniumbase-4.15.14.dist-info → seleniumbase-4.15.15.dist-info}/METADATA +2 -2
- {seleniumbase-4.15.14.dist-info → seleniumbase-4.15.15.dist-info}/RECORD +10 -10
- {seleniumbase-4.15.14.dist-info → seleniumbase-4.15.15.dist-info}/LICENSE +0 -0
- {seleniumbase-4.15.14.dist-info → seleniumbase-4.15.15.dist-info}/WHEEL +0 -0
- {seleniumbase-4.15.14.dist-info → seleniumbase-4.15.15.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.15.14.dist-info → seleniumbase-4.15.15.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.15.
|
2
|
+
__version__ = "4.15.15"
|
@@ -183,8 +183,8 @@ def main():
|
|
183
183
|
chart_options = '"circular", "barras", "columnas", "líneas", "área"'
|
184
184
|
|
185
185
|
import_line = "from seleniumbase import BaseCase"
|
186
|
+
main_line = "BaseCase.main(__name__, __file__)"
|
186
187
|
parent_class = "BaseCase"
|
187
|
-
class_line = "class MyTestClass(BaseCase):"
|
188
188
|
if language != "English":
|
189
189
|
from seleniumbase.translate.master_dict import MD_F
|
190
190
|
|
@@ -196,6 +196,7 @@ def main():
|
|
196
196
|
add_slide = '"<p>Chart Demo</p>" + self.extract_chart()'
|
197
197
|
data = []
|
198
198
|
data.append("%s" % import_line)
|
199
|
+
data.append("%s" % main_line)
|
199
200
|
data.append("")
|
200
201
|
data.append("")
|
201
202
|
data.append("%s" % class_line)
|
@@ -204,12 +205,12 @@ def main():
|
|
204
205
|
data.append("")
|
205
206
|
data.append(" # %s => %s" % (select_option, chart_options))
|
206
207
|
data.append(" self.create_pie_chart(%s)" % chart_settings)
|
207
|
-
data.append(' self.add_data_point("%s A",
|
208
|
-
data.append(' self.add_data_point("%s B",
|
209
|
-
data.append(' self.add_data_point("%s C",
|
210
|
-
data.append(' self.add_data_point("%s D",
|
211
|
-
data.append(' self.add_data_point("%s E",
|
212
|
-
data.append(' self.add_data_point("%s F",
|
208
|
+
data.append(' self.add_data_point("%s A", 36)' % item)
|
209
|
+
data.append(' self.add_data_point("%s B", 33)' % item)
|
210
|
+
data.append(' self.add_data_point("%s C", 27)' % item)
|
211
|
+
data.append(' self.add_data_point("%s D", 21)' % item)
|
212
|
+
data.append(' self.add_data_point("%s E", 18)' % item)
|
213
|
+
data.append(' self.add_data_point("%s F", 15)' % item)
|
213
214
|
data.append(" self.add_slide(%s)" % add_slide)
|
214
215
|
data.append("")
|
215
216
|
data.append(' self.begin_presentation(filename="%s")' % html_name)
|
@@ -243,6 +244,10 @@ def main():
|
|
243
244
|
# Example: self.assert_true("Name" in self.get_title())
|
244
245
|
line = new_line
|
245
246
|
continue
|
247
|
+
if main_line in line:
|
248
|
+
new_main = "%s.main(__name__, __file__)" % parent_class
|
249
|
+
new_line = line.replace(main_line, new_main)
|
250
|
+
found_swap = True
|
246
251
|
if found_swap:
|
247
252
|
if new_line.endswith(" # noqa"): # Remove flake8 skip
|
248
253
|
new_line = new_line[0 : -len(" # noqa")]
|
@@ -231,15 +231,14 @@ def main():
|
|
231
231
|
url = "data:text/html,<p>%s<br><input>" % hello
|
232
232
|
|
233
233
|
import_line = "from seleniumbase import BaseCase"
|
234
|
+
main_line = "BaseCase.main(__name__, __file__)"
|
234
235
|
parent_class = "BaseCase"
|
235
|
-
class_line = "class MyTestClass(BaseCase):"
|
236
236
|
if language != "English":
|
237
237
|
from seleniumbase.translate.master_dict import MD_F
|
238
238
|
|
239
239
|
import_line = MD_F.get_import_line(language)
|
240
240
|
parent_class = MD_F.get_lang_parent_class(language)
|
241
241
|
class_line = "class %s(%s):" % (class_name, parent_class)
|
242
|
-
main_line = "BaseCase.main(__name__, __file__)"
|
243
242
|
|
244
243
|
data = []
|
245
244
|
data.append("%s" % import_line)
|
@@ -194,8 +194,8 @@ def main():
|
|
194
194
|
class_name = "MiClaseDePrueba"
|
195
195
|
|
196
196
|
import_line = "from seleniumbase import BaseCase"
|
197
|
+
main_line = "BaseCase.main(__name__, __file__)"
|
197
198
|
parent_class = "BaseCase"
|
198
|
-
class_line = "class MyTestClass(BaseCase):"
|
199
199
|
if language != "English":
|
200
200
|
from seleniumbase.translate.master_dict import MD_F
|
201
201
|
|
@@ -223,6 +223,7 @@ def main():
|
|
223
223
|
|
224
224
|
data = []
|
225
225
|
data.append("%s" % import_line)
|
226
|
+
data.append("%s" % main_line)
|
226
227
|
data.append("")
|
227
228
|
data.append("")
|
228
229
|
data.append("%s" % class_line)
|
@@ -262,6 +263,10 @@ def main():
|
|
262
263
|
# Example: self.assert_true("Name" in self.get_title())
|
263
264
|
line = new_line
|
264
265
|
continue
|
266
|
+
if main_line in line:
|
267
|
+
new_main = "%s.main(__name__, __file__)" % parent_class
|
268
|
+
new_line = line.replace(main_line, new_main)
|
269
|
+
found_swap = True
|
265
270
|
if found_swap:
|
266
271
|
if new_line.endswith(" # noqa"): # Remove flake8 skip
|
267
272
|
new_line = new_line[0 : -len(" # noqa")]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.15.
|
3
|
+
Version: 4.15.15
|
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
|
@@ -119,7 +119,7 @@ Requires-Dist: requests (==2.31.0) ; python_version >= "3.7"
|
|
119
119
|
Requires-Dist: sniffio (==1.3.0) ; python_version >= "3.7"
|
120
120
|
Requires-Dist: h11 (==0.14.0) ; python_version >= "3.7"
|
121
121
|
Requires-Dist: outcome (==1.2.0) ; python_version >= "3.7"
|
122
|
-
Requires-Dist: trio (==0.22.
|
122
|
+
Requires-Dist: trio (==0.22.2) ; python_version >= "3.7"
|
123
123
|
Requires-Dist: trio-websocket (==0.10.3) ; python_version >= "3.7"
|
124
124
|
Requires-Dist: wsproto (==1.2.0) ; python_version >= "3.7"
|
125
125
|
Requires-Dist: selenium (==4.10.0) ; python_version >= "3.7"
|
@@ -5,7 +5,7 @@ sbase/steps.py,sha256=RCZ_tKo7kFvgzVrHpIHb090c0on14ObIEkmMHjDURWE,38261
|
|
5
5
|
seleniumbase/ReadMe.md,sha256=5Bnv8gsyKQGABhLj0S4HXZdtVic98puQlIGYc7YHUm8,3612
|
6
6
|
seleniumbase/__init__.py,sha256=UKfONr7JsfKiXKvqdO5KJ1gMOBzvQ66PHHVAfE636ro,2068
|
7
7
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
8
|
-
seleniumbase/__version__.py,sha256
|
8
|
+
seleniumbase/__version__.py,sha256=-oSen3iyd0GJ-nnZ3RcnEMiTv0gKkBKTze21CRTCuSg,47
|
9
9
|
seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
seleniumbase/behave/behave_helper.py,sha256=KQ4rgOcWkMFSbD8QBUmevxO47M9UoSDenfoBHy9VaPk,22206
|
11
11
|
seleniumbase/behave/behave_sb.py,sha256=fU8dLa-5Ohb5xVXq9nqVXHeLV4z3RDu5AnDJVvSD60c,54220
|
@@ -30,10 +30,10 @@ seleniumbase/console_scripts/sb_behave_gui.py,sha256=A4yrf6LTqkqgpOz8-zjFw8NLNt5
|
|
30
30
|
seleniumbase/console_scripts/sb_caseplans.py,sha256=KnxiwAXXMatZq03pVuaXoDoOQO6SGkqSA6RvTIJGcTU,18049
|
31
31
|
seleniumbase/console_scripts/sb_commander.py,sha256=GgjFX6VWXctCUOTvYVq4EyxH8oETawqsKEDFi5hiY84,13239
|
32
32
|
seleniumbase/console_scripts/sb_install.py,sha256=28aaBKFbt630fmYXLImE64-SPpKHP9O_o_1WznlutZY,41723
|
33
|
-
seleniumbase/console_scripts/sb_mkchart.py,sha256=
|
33
|
+
seleniumbase/console_scripts/sb_mkchart.py,sha256=BYzgzxRA66MeIBhEjeJKa9BqvViWX8YHSqjquWMLh1w,11044
|
34
34
|
seleniumbase/console_scripts/sb_mkdir.py,sha256=UkD3TqaObvsItE7UwIERXOSFlQQqSjf0lUkwaJbN7I8,29782
|
35
|
-
seleniumbase/console_scripts/sb_mkfile.py,sha256=
|
36
|
-
seleniumbase/console_scripts/sb_mkpres.py,sha256=
|
35
|
+
seleniumbase/console_scripts/sb_mkfile.py,sha256=wvv22cYCVVmFNEE4TDws1S6Rdd8vGhl9beebVvyXl7U,15515
|
36
|
+
seleniumbase/console_scripts/sb_mkpres.py,sha256=TfI1RV-MmUHLRlkdjyVpN3nrCsMxGGBsUUB5-4fLx88,11118
|
37
37
|
seleniumbase/console_scripts/sb_mkrec.py,sha256=lRBqdHk9NfBW1VLa6l9GSaexvKpp6WYXX5GzvnzPXHk,9013
|
38
38
|
seleniumbase/console_scripts/sb_objectify.py,sha256=SRYY_cZ-Ip6Lj65T2maXRyJctOWAFhGSc-Xlc-u-2CM,122140
|
39
39
|
seleniumbase/console_scripts/sb_print.py,sha256=1mwFO7J0FPTfEa5-LwDa7eZEAOF0Tp811yj8M9gn7_c,30427
|
@@ -136,9 +136,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443
|
|
136
136
|
seleniumbase/utilities/selenium_ide/ReadMe.md,sha256=hznGeuMpkIimqMiZBW-4goIy2ltW4l8X9kb0YSPUQfE,4483
|
137
137
|
seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
138
138
|
seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
|
139
|
-
seleniumbase-4.15.
|
140
|
-
seleniumbase-4.15.
|
141
|
-
seleniumbase-4.15.
|
142
|
-
seleniumbase-4.15.
|
143
|
-
seleniumbase-4.15.
|
144
|
-
seleniumbase-4.15.
|
139
|
+
seleniumbase-4.15.15.dist-info/LICENSE,sha256=9CweYVs2pqSWEApWewHooJ5p5F44GV0wSXi-jV0kA_U,1085
|
140
|
+
seleniumbase-4.15.15.dist-info/METADATA,sha256=wMtx8CrvOssnasoDYa-YoaBkAhNVAB0PKRLEz7u_LWw,82109
|
141
|
+
seleniumbase-4.15.15.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
142
|
+
seleniumbase-4.15.15.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
143
|
+
seleniumbase-4.15.15.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
144
|
+
seleniumbase-4.15.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|