|
62 | 62 |
|
63 | 63 | 👤 Note that <span translate="no">SeleniumBase</span> <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b> (Stealth Mode) has its own ReadMe</a>. |
64 | 64 |
|
| 65 | +🐙 Also note that Seleniumbase <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md"><b>CDP Mode</b> has its own separate ReadMe</a>. |
| 66 | + |
65 | 67 | ℹ️ Scripts can be called via <code translate="no"><b>python</b></code>, although some <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">Syntax Formats</a> expect <a href="https://docs.pytest.org/en/latest/how-to/usage.html" translate="no"><b>pytest</b></a> (a Python unit-testing framework included with SeleniumBase that can discover, collect, and run tests automatically). |
66 | 68 |
|
67 | 69 | <p align="left">📗 Here's <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py">my_first_test.py</a>, which tests login, shopping, and checkout:</p> |
@@ -315,48 +317,49 @@ pip install -e . |
315 | 317 | 🔵 **Type ``seleniumbase`` or ``sbase`` to verify that SeleniumBase was installed successfully:** |
316 | 318 |
|
317 | 319 | ```bash |
318 | | - ______ __ _ ____ |
319 | | - / ____/__ / /__ ____ (_)_ ______ ___ / _ \____ ________ |
320 | | - \__ \/ _ \/ / _ \/ __ \/ / / / / __ `__ \ / /_) / __ \/ ___/ _ \ |
321 | | - ___/ / __/ / __/ / / / / /_/ / / / / / // /_) / (_/ /__ / __/ |
322 | | -/____/\___/_/\___/_/ /_/_/\__,_/_/ /_/ /_//_____/\__,_/____/\___/ |
323 | | ------------------------------------------------------------------- |
324 | | -
|
325 | | - * USAGE: "seleniumbase [COMMAND] [PARAMETERS]" |
326 | | - * OR: "sbase [COMMAND] [PARAMETERS]" |
327 | | -
|
328 | | -COMMANDS: |
329 | | - get / install [DRIVER] [OPTIONS] |
330 | | - methods (List common Python methods) |
331 | | - options (List common pytest options) |
332 | | - behave-options (List common behave options) |
333 | | - gui / commander [OPTIONAL PATH or TEST FILE] |
334 | | - behave-gui (SBase Commander for Behave) |
335 | | - caseplans [OPTIONAL PATH or TEST FILE] |
336 | | - mkdir [DIRECTORY] [OPTIONS] |
337 | | - mkfile [FILE.py] [OPTIONS] |
338 | | - mkrec / codegen [FILE.py] [OPTIONS] |
339 | | - recorder (Open Recorder Desktop App.) |
340 | | - record (If args: mkrec. Else: App.) |
341 | | - mkpres [FILE.py] [LANG] |
342 | | - mkchart [FILE.py] [LANG] |
343 | | - print [FILE] [OPTIONS] |
344 | | - translate [SB_FILE.py] [LANG] [ACTION] |
345 | | - convert [WEBDRIVER_UNITTEST_FILE.py] |
346 | | - extract-objects [SB_FILE.py] |
347 | | - inject-objects [SB_FILE.py] [OPTIONS] |
348 | | - objectify [SB_FILE.py] [OPTIONS] |
349 | | - revert-objects [SB_FILE.py] [OPTIONS] |
350 | | - encrypt / obfuscate |
351 | | - decrypt / unobfuscate |
352 | | - download server (Get Selenium Grid JAR file) |
353 | | - grid-hub [start|stop] [OPTIONS] |
354 | | - grid-node [start|stop] --hub=[HOST/IP] |
355 | | - * (EXAMPLE: "sbase get chromedriver latest") * |
356 | | -
|
357 | | - Type "sbase help [COMMAND]" for specific command info. |
358 | | - For info on all commands, type: "seleniumbase --help". |
359 | | - Use "pytest" for running tests. |
| 320 | + ___ _ _ ___ |
| 321 | +/ __| ___| |___ _ _ (_)_ _ _ __ | _ ) __ _ ______ |
| 322 | +\__ \/ -_) / -_) ' \| | \| | ' \ | _ \/ _` (_-< -_) |
| 323 | +|___/\___|_\___|_||_|_|\_,_|_|_|_\|___/\__,_/__|___| |
| 324 | +---------------------------------------------------- |
| 325 | +
|
| 326 | +╭──────────────────────────────────────────────────╮ |
| 327 | +│ * USAGE: "seleniumbase [COMMAND] [PARAMETERS]" │ |
| 328 | +│ * OR: "sbase [COMMAND] [PARAMETERS]" │ |
| 329 | +│ │ |
| 330 | +│ COMMANDS: PARAMETERS / DESCRIPTIONS: │ |
| 331 | +│ get / install [DRIVER_NAME] [OPTIONS] │ |
| 332 | +│ methods (List common Python methods) │ |
| 333 | +│ options (List common pytest options) │ |
| 334 | +│ behave-options (List common behave options) │ |
| 335 | +│ gui / commander [OPTIONAL PATH or TEST FILE] │ |
| 336 | +│ behave-gui (SBase Commander for Behave) │ |
| 337 | +│ caseplans [OPTIONAL PATH or TEST FILE] │ |
| 338 | +│ mkdir [DIRECTORY] [OPTIONS] │ |
| 339 | +│ mkfile [FILE.py] [OPTIONS] │ |
| 340 | +│ mkrec / codegen [FILE.py] [OPTIONS] │ |
| 341 | +│ recorder (Open Recorder Desktop App.) │ |
| 342 | +│ record (If args: mkrec. Else: App.) │ |
| 343 | +│ mkpres [FILE.py] [LANG] │ |
| 344 | +│ mkchart [FILE.py] [LANG] │ |
| 345 | +│ print [FILE] [OPTIONS] │ |
| 346 | +│ translate [SB_FILE.py] [LANG] [ACTION] │ |
| 347 | +│ convert [WEBDRIVER_UNITTEST_FILE.py] │ |
| 348 | +│ extract-objects [SB_FILE.py] │ |
| 349 | +│ inject-objects [SB_FILE.py] [OPTIONS] │ |
| 350 | +│ objectify [SB_FILE.py] [OPTIONS] │ |
| 351 | +│ revert-objects [SB_FILE.py] [OPTIONS] │ |
| 352 | +│ encrypt / obfuscate │ |
| 353 | +│ decrypt / unobfuscate │ |
| 354 | +│ proxy (Start a basic proxy server) │ |
| 355 | +│ download server (Get Selenium Grid JAR file) │ |
| 356 | +│ grid-hub [start|stop] [OPTIONS] │ |
| 357 | +│ grid-node [start|stop] --hub=[HOST/IP] │ |
| 358 | +│ │ |
| 359 | +│ * EXAMPLE => "sbase get chromedriver stable" │ |
| 360 | +│ * For command info => "sbase help [COMMAND]" │ |
| 361 | +│ * For info on all commands => "sbase --help" │ |
| 362 | +╰──────────────────────────────────────────────────╯ |
360 | 363 | ``` |
361 | 364 |
|
362 | 365 | <h3>🔵 Downloading webdrivers:</h3> |
@@ -1375,7 +1378,6 @@ pytest --reruns=1 --reruns-delay=1 |
1375 | 1378 | <span><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://seleniumbase.github.io/img/social/share_github.svg" title="SeleniumBase on GitHub" alt="SeleniumBase on GitHub" width="64" /></a></span> |
1376 | 1379 | <span><a href="https://discord.gg/EdhQTn3EyE"><img src="https://seleniumbase.github.io/other/discord_icon.png" title="SeleniumBase on Discord" alt="SeleniumBase on Discord" width="66" /></a></span> |
1377 | 1380 | <span><a href="https://www.facebook.com/SeleniumBase"><img src="https://seleniumbase.io/img/social/share_facebook.svg" title="SeleniumBase on Facebook" alt="SeleniumBase on Facebook" width="62" /></a></span> |
1378 | | -<span><a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://seleniumbase.github.io/img/social/share_gitter.svg" title="SeleniumBase on Gitter" alt="SeleniumBase on Gitter" width="48" /></a></span> |
1379 | 1381 | </div></p> |
1380 | 1382 |
|
1381 | 1383 | <p><div><b><a href="https://github.com/mdmintz">https://github.com/mdmintz</a></b></div></p> |
|
0 commit comments