()
| 128 | |
| 129 | |
| 130 | def show_install_usage(): |
| 131 | c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX |
| 132 | c3 = colorama.Fore.BLUE + colorama.Back.LIGHTYELLOW_EX |
| 133 | cr = colorama.Style.RESET_ALL |
| 134 | sc = " " + c2 + "** " + c3 + "get / install" + c2 + " **" + cr |
| 135 | print(sc) |
| 136 | print("") |
| 137 | print("Usage:") |
| 138 | print(" seleniumbase install [DRIVER/BINARY] [OPTIONS]") |
| 139 | print(" OR: seleniumbase get [DRIVER/BINARY] [OPTIONS]") |
| 140 | print(" OR: sbase install [DRIVER/BINARY] [OPTIONS]") |
| 141 | print(" OR: sbase get [DRIVER/BINARY] [OPTIONS]") |
| 142 | print(" (Drivers: chromedriver, uc_driver,") |
| 143 | print(" edgedriver, geckodriver)") |
| 144 | print(" (Binaries: cft, chs, chromium)") |
| 145 | print("Options:") |
| 146 | print(" VERSION Driver/binary version to download.") |
| 147 | print(" (Otherwise detects the version)") |
| 148 | print(" --revision The Chromium revision to download.") |
| 149 | print(" (Otherwise downloads the latest)") |
| 150 | print(" -p OR --path Also copy driver to /usr/local/bin") |
| 151 | print("Examples:") |
| 152 | print(" sbase get chromedriver") |
| 153 | print(" sbase get geckodriver") |
| 154 | print(" sbase get edgedriver") |
| 155 | print(" sbase get chromedriver 149") |
| 156 | print(" sbase get chromedriver 149.0.7827.155") |
| 157 | print(" sbase get chromedriver stable") |
| 158 | print(" sbase get chromedriver beta") |
| 159 | print(" sbase get chromedriver -p") |
| 160 | print(" sbase get chromium") |
| 161 | print(" sbase get chromium --revision=1639046") |
| 162 | print(" sbase get cft 149") |
| 163 | print(" sbase get chs") |
| 164 | print("Output:") |
| 165 | print(" Downloads driver/binary to seleniumbase/drivers/") |
| 166 | print(" (chromedriver is for Selenium Chrome automation)") |
| 167 | print(" (geckodriver is for Selenium Firefox automation)") |
| 168 | print(" (edgedriver is for Selenium MS__Edge automation)") |
| 169 | print(" (cft is for the `Chrome for Testing` binary exe)") |
| 170 | print(" (chs is for the `Chrome-Headless-Shell` binary.)") |
| 171 | print("") |
| 172 | |
| 173 | |
| 174 | def show_commander_usage(): |
no outgoing calls
no test coverage detected
searching dependent graphs…