MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / show_codegen_usage

Function show_codegen_usage

seleniumbase/console_scripts/run.py:333–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331
332
333def show_codegen_usage():
334 c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX
335 c3 = colorama.Fore.BLUE + colorama.Back.LIGHTYELLOW_EX
336 cr = colorama.Style.RESET_ALL
337 sc = " " + c2 + "** " + c3 + "codegen" + c2 + " **" + cr
338 print(sc)
339 print("")
340 print(" Usage:")
341 print(" seleniumbase codegen [FILE.py] [OPTIONS]")
342 print(" OR: sbase codegen [FILE.py] [OPTIONS]")
343 print(" Examples:")
344 print(" sbase codegen new_test.py")
345 print(" sbase codegen new_test.py --url=wikipedia.org")
346 print(" Options:")
347 print(" --url=URL (Sets the initial start page URL.)")
348 print(" --edge (Use Edge browser instead of Chrome.)")
349 print(" --gui / --headed (Use headed mode on Linux.)")
350 print(" --uc / --undetected (Use undetectable mode.)")
351 print(" --ee (Use SHIFT + ESC to end the recording.)")
352 print(" --overwrite (Overwrite file when it exists.)")
353 print(" --behave (Also output Behave/Gherkin files.)")
354 print(" Output:")
355 print(" Creates a new SeleniumBase test using the Recorder.")
356 print(" If the filename already exists, an error is raised.")
357 print("")
358
359
360def show_recorder_usage():

Callers 2

show_detailed_helpFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…