()
| 331 | |
| 332 | |
| 333 | def 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 | |
| 360 | def show_recorder_usage(): |
no outgoing calls
no test coverage detected
searching dependent graphs…