@@ -120,13 +120,13 @@ def show_install_usage():
120
120
print (" sbase install chromedriver" )
121
121
print (" sbase install geckodriver" )
122
122
print (" sbase install edgedriver" )
123
- print (" sbase install chromedriver 91 " )
124
- print (" sbase install chromedriver 91 .0.4472.101 " )
123
+ print (" sbase install chromedriver 94 " )
124
+ print (" sbase install chromedriver 94 .0.4606.61 " )
125
125
print (" sbase install chromedriver latest" )
126
126
print (" sbase install chromedriver latest-1" )
127
127
print (" sbase install chromedriver -p" )
128
128
print (" sbase install chromedriver latest -p" )
129
- print (" sbase install edgedriver 91 .0.864.71 " )
129
+ print (" sbase install edgedriver 94 .0.992.38 " )
130
130
print (" Output:" )
131
131
print (" Installs the chosen webdriver to seleniumbase/drivers/" )
132
132
print (" (chromedriver is required for Chrome automation)" )
@@ -150,7 +150,7 @@ def show_mkdir_usage():
150
150
print (" Example:" )
151
151
print (" sbase mkdir ui_tests" )
152
152
print (" Options:" )
153
- print (" -b / --basic (Only config files. No tests added.)" )
153
+ print (" -b / --basic (Only config files. No tests added.)" )
154
154
print (" Output:" )
155
155
print (" Creates a new folder for running SBase scripts." )
156
156
print (" The new folder contains default config files," )
@@ -173,22 +173,23 @@ def show_mkfile_usage():
173
173
print (" Example:" )
174
174
print (" sbase mkfile new_test.py" )
175
175
print (" Options:" )
176
- print (" -b / --basic (Basic boilerplate / single-line test)" )
176
+ print (" -b / --basic (Basic boilerplate / single-line test)" )
177
+ print (" -r / --recorder (Recorder Mode has ipdb breakpoint)" )
177
178
print (" Language Options:" )
178
- print (" --en / --English | --zh / --Chinese" )
179
- print (" --nl / --Dutch | --fr / --French" )
180
- print (" --it / --Italian | --ja / --Japanese" )
181
- print (" --ko / --Korean | --pt / --Portuguese" )
182
- print (" --ru / --Russian | --es / --Spanish" )
179
+ print (" --en / --English | --zh / --Chinese" )
180
+ print (" --nl / --Dutch | --fr / --French" )
181
+ print (" --it / --Italian | --ja / --Japanese" )
182
+ print (" --ko / --Korean | --pt / --Portuguese" )
183
+ print (" --ru / --Russian | --es / --Spanish" )
183
184
print (" Output:" )
184
- print (" Creates a new SBase test file with boilerplate code." )
185
- print (" If the file already exists, an error is raised." )
186
- print (" By default, uses English mode and creates a" )
187
- print (" boilerplate with the 5 most common SeleniumBase" )
188
- print (' methods, which are "open", "type", "click",' )
189
- print (' "assert_element", and "assert_text". If using the' )
190
- print (' basic boilerplate option, only the "open" method' )
191
- print (" is included." )
185
+ print (" Creates a new SBase test file with boilerplate code." )
186
+ print (" If the file already exists, an error is raised." )
187
+ print (" By default, uses English mode and creates a" )
188
+ print (" boilerplate with the 5 most common SeleniumBase" )
189
+ print (' methods, which are "open", "type", "click",' )
190
+ print (' "assert_element", and "assert_text". If using the' )
191
+ print (' basic boilerplate option, only the "open" method' )
192
+ print (" is included." )
192
193
print ("" )
193
194
194
195
@@ -205,17 +206,17 @@ def show_mkpres_usage():
205
206
print (" Example:" )
206
207
print (" sbase mkpres new_presentation.py --en" )
207
208
print (" Language Options:" )
208
- print (" --en / --English | --zh / --Chinese" )
209
- print (" --nl / --Dutch | --fr / --French" )
210
- print (" --it / --Italian | --ja / --Japanese" )
211
- print (" --ko / --Korean | --pt / --Portuguese" )
212
- print (" --ru / --Russian | --es / --Spanish" )
209
+ print (" --en / --English | --zh / --Chinese" )
210
+ print (" --nl / --Dutch | --fr / --French" )
211
+ print (" --it / --Italian | --ja / --Japanese" )
212
+ print (" --ko / --Korean | --pt / --Portuguese" )
213
+ print (" --ru / --Russian | --es / --Spanish" )
213
214
print (" Output:" )
214
- print (" Creates a new presentation with 3 example slides." )
215
- print (" If the file already exists, an error is raised." )
216
- print (" By default, the slides are written in English," )
217
- print (' and use "serif" theme with "slide" transition.' )
218
- print (" The slides can be used as a basic boilerplate." )
215
+ print (" Creates a new presentation with 3 example slides." )
216
+ print (" If the file already exists, an error is raised." )
217
+ print (" By default, the slides are written in English," )
218
+ print (' and use "serif" theme with "slide" transition.' )
219
+ print (" The slides can be used as a basic boilerplate." )
219
220
print ("" )
220
221
221
222
@@ -232,17 +233,17 @@ def show_mkchart_usage():
232
233
print (" Example:" )
233
234
print (" sbase mkchart new_chart.py --en" )
234
235
print (" Language Options:" )
235
- print (" --en / --English | --zh / --Chinese" )
236
- print (" --nl / --Dutch | --fr / --French" )
237
- print (" --it / --Italian | --ja / --Japanese" )
238
- print (" --ko / --Korean | --pt / --Portuguese" )
239
- print (" --ru / --Russian | --es / --Spanish" )
236
+ print (" --en / --English | --zh / --Chinese" )
237
+ print (" --nl / --Dutch | --fr / --French" )
238
+ print (" --it / --Italian | --ja / --Japanese" )
239
+ print (" --ko / --Korean | --pt / --Portuguese" )
240
+ print (" --ru / --Russian | --es / --Spanish" )
240
241
print (" Output:" )
241
- print (" Creates a new SeleniumBase chart presentation." )
242
- print (" If the file already exists, an error is raised." )
243
- print (" By default, the slides are written in English," )
244
- print (' and use a "sky" theme with "slide" transition.' )
245
- print (" The chart can be used as a basic boilerplate." )
242
+ print (" Creates a new SeleniumBase chart presentation." )
243
+ print (" If the file already exists, an error is raised." )
244
+ print (" By default, the slides are written in English," )
245
+ print (' and use a "sky" theme with "slide" transition.' )
246
+ print (" The chart can be used as a basic boilerplate." )
246
247
print ("" )
247
248
248
249
@@ -273,13 +274,13 @@ def show_print_usage():
273
274
print (sc )
274
275
print ("" )
275
276
print (" Usage:" )
276
- print (" seleniumbase print [FILE] [OPTIONS]" )
277
- print (" OR: sbase print [FILE] [OPTIONS]" )
277
+ print (" seleniumbase print [FILE] [OPTIONS]" )
278
+ print (" OR: sbase print [FILE] [OPTIONS]" )
278
279
print (" Options:" )
279
- print (" -n (Add line Numbers to the rows)" )
280
+ print (" -n (Add line Numbers to the rows)" )
280
281
print (" Output:" )
281
- print (" Prints the code/text of any file" )
282
- print (" with syntax-highlighting." )
282
+ print (" Prints the code/text of any file" )
283
+ print (" with syntax-highlighting." )
283
284
print ("" )
284
285
285
286
@@ -291,30 +292,30 @@ def show_translate_usage():
291
292
print (sc )
292
293
print ("" )
293
294
print (" Usage:" )
294
- print (" seleniumbase translate [SB_FILE.py] [LANG] [ACTION]" )
295
- print (" OR: sbase translate [SB_FILE.py] [LANG] [ACTION]" )
295
+ print (" seleniumbase translate [SB_FILE.py] [LANG] [ACTION]" )
296
+ print (" OR: sbase translate [SB_FILE.py] [LANG] [ACTION]" )
296
297
print (" Languages:" )
297
- print (" --en / --English | --zh / --Chinese" )
298
- print (" --nl / --Dutch | --fr / --French" )
299
- print (" --it / --Italian | --ja / --Japanese" )
300
- print (" --ko / --Korean | --pt / --Portuguese" )
301
- print (" --ru / --Russian | --es / --Spanish" )
298
+ print (" --en / --English | --zh / --Chinese" )
299
+ print (" --nl / --Dutch | --fr / --French" )
300
+ print (" --it / --Italian | --ja / --Japanese" )
301
+ print (" --ko / --Korean | --pt / --Portuguese" )
302
+ print (" --ru / --Russian | --es / --Spanish" )
302
303
print (" Actions:" )
303
- print (" -p / --print (Print translation output to the screen)" )
304
- print (" -o / --overwrite (Overwrite the file being translated)" )
305
- print (" -c / --copy (Copy the translation to a new .py file)" )
304
+ print (" -p / --print (Print translation output to the screen)" )
305
+ print (" -o / --overwrite (Overwrite the file being translated)" )
306
+ print (" -c / --copy (Copy the translation to a new .py file)" )
306
307
print (" Options:" )
307
- print (" -n (include line Numbers when using the Print action)" )
308
+ print (" -n (include line Numbers when using the Print action)" )
308
309
print (" Output:" )
309
- print (" Translates a SeleniumBase Python file into the language" )
310
- print (' specified. Method calls and "import" lines get swapped.' )
311
- print (" Both a language and an action must be specified." )
312
- print (' The "-p" action can be paired with one other action.' )
313
- print (' When running with "-c" (or "--copy"), the new file name' )
314
- print (" will be the original name appended with an underscore" )
315
- print (" plus the 2-letter language code of the new language." )
316
- print (' (Example: Translating "test_1.py" into Japanese with' )
317
- print (' "-c" will create a new file called "test_1_ja.py".)' )
310
+ print (" Translates a SeleniumBase Python file into the language" )
311
+ print (' specified. Method calls and "import" lines get swapped.' )
312
+ print (" Both a language and an action must be specified." )
313
+ print (' The "-p" action can be paired with one other action.' )
314
+ print (' When running with "-c" (or "--copy"), the new file name' )
315
+ print (" will be the original name appended with an underscore" )
316
+ print (" plus the 2-letter language code of the new language." )
317
+ print (' (Example: Translating "test_1.py" into Japanese with' )
318
+ print (' "-c" will create a new file called "test_1_ja.py".)' )
318
319
print ("" )
319
320
320
321
0 commit comments