()
| 304 | |
| 305 | |
| 306 | def show_mkrec_usage(): |
| 307 | c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX |
| 308 | c3 = colorama.Fore.BLUE + colorama.Back.LIGHTYELLOW_EX |
| 309 | cr = colorama.Style.RESET_ALL |
| 310 | sc = " " + c2 + "** " + c3 + "mkrec" + c2 + " **" + cr |
| 311 | print(sc) |
| 312 | print("") |
| 313 | print(" Usage:") |
| 314 | print(" seleniumbase mkrec [FILE.py] [OPTIONS]") |
| 315 | print(" OR: sbase mkrec [FILE.py] [OPTIONS]") |
| 316 | print(" Examples:") |
| 317 | print(" sbase mkrec new_test.py") |
| 318 | print(" sbase mkrec new_test.py --url=wikipedia.org") |
| 319 | print(" Options:") |
| 320 | print(" --url=URL (Sets the initial start page URL.)") |
| 321 | print(" --edge (Use Edge browser instead of Chrome.)") |
| 322 | print(" --gui / --headed (Use headed mode on Linux.)") |
| 323 | print(" --uc / --undetected (Use undetectable mode.)") |
| 324 | print(" --ee (Use SHIFT + ESC to end the recording.)") |
| 325 | print(" --overwrite (Overwrite file when it exists.)") |
| 326 | print(" --behave (Also output Behave/Gherkin files.)") |
| 327 | print(" Output:") |
| 328 | print(" Creates a new SeleniumBase test using the Recorder.") |
| 329 | print(" If the filename already exists, an error is raised.") |
| 330 | print("") |
| 331 | |
| 332 | |
| 333 | def show_codegen_usage(): |
no outgoing calls
no test coverage detected
searching dependent graphs…