|
6 | 6 | <link rel="icon" href="https://seleniumbase.io/img/logo3a.png" />
|
7 | 7 |
|
8 | 8 | <p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/">
|
9 |
| -<img src="https://seleniumbase.io/cdn/img/fancy_logo_14.png" alt="SeleniumBase" title="SeleniumBase" width="300" /> |
| 9 | +<img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" alt="SeleniumBase" title="SeleniumBase" width="300" /> |
10 | 10 | </a></p>
|
11 |
| -<p align="center"><b>The complete web automation library.</b></p> |
12 |
| -<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/"> |
13 |
| -<img src="https://seleniumbase.io/img/sb_logo_10.png" alt="SeleniumBase" width="152" /></a><a href="https://github.com/seleniumbase/SeleniumBase/"> |
14 |
| -<img src="https://seleniumbase.io/cdn/img/sb_demo_site.png" alt="SeleniumBase" width="152" /> |
15 |
| -</a></p> |
16 |
| -<p align="center">Powered by WebDriver APIs and pytest.</p> |
| 11 | + |
17 | 12 | <!-- View on GitHub -->
|
18 |
| -<p align="center"> |
19 |
| -<a href="https://github.com/seleniumbase/SeleniumBase/releases"> |
| 13 | +<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/releases"> |
20 | 14 | <img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=2277EE" alt="Latest Release on GitHub" /></a> <a href="https://pypi.python.org/pypi/seleniumbase">
|
21 |
| -<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=22AAEE" alt="Latest Release on PyPI" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions"> |
22 |
| -<img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg" alt="SeleniumBase GitHub Actions" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase"> |
| 15 | +<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=22AAEE" alt="Latest Release on PyPI" /></a> <a href="https://dev.azure.com/seleniumbase/seleniumbase/_build/latest?definitionId=1&branchName=master"> <img src="https://dev.azure.com/seleniumbase/seleniumbase/_apis/build/status/seleniumbase.SeleniumBase?branchName=master" alt="SeleniumBase Azure Pipelines" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions"> |
| 16 | +<img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg" alt="SeleniumBase GitHub Actions" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/stargazers"> <img src="https://img.shields.io/github/stars/seleniumbase/seleniumbase.svg?color=9A77EC" alt="SeleniumBase GitHub Stars" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase"> |
23 | 17 | <img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" alt="SeleniumBase" /></a> <a href="https://seleniumbase.io">
|
24 |
| -<img src="https://img.shields.io/badge/docs-%20seleniumbase.io-22BBAA.svg" alt="SeleniumBase.io Docs" /></a> |
25 |
| -</p> |
| 18 | +<img src="https://img.shields.io/badge/docs-%20seleniumbase.io-22BBAA.svg" alt="SeleniumBase.io Docs" /></a></p> |
26 | 19 |
|
27 |
| -<p> |
28 |
| -<b>SeleniumBase</b> is an all-in-one framework for reliable browser automation, end-to-end testing, reports, charts, presentations, website tours, and visual testing. |
29 |
| -Tests are run with <a href="https://docs.pytest.org/en/latest/index.html">pytest</a>. Browsers are controlled by <a href="https://www.w3.org/TR/webdriver2/#endpoints">WebDriver</a>. |
30 |
| -</p> |
| 20 | +<p><b>SeleniumBase</b> is a complete framework for browser automation, end-to-end testing, reports, charts, presentations, website tours, and visual testing. |
| 21 | +Tests are run with <a href="https://docs.pytest.org/en/latest/index.html">pytest</a>. Browsers are controlled by <a href="https://www.w3.org/TR/webdriver2/#endpoints">WebDriver</a>.</p> |
31 | 22 |
|
32 | 23 | <p align="center">
|
33 | 24 | <a href="#python_installation">🚀 Start</a> |
|
@@ -58,23 +49,21 @@ Tests are run with <a href="https://docs.pytest.org/en/latest/index.html">pytest
|
58 | 49 | <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/master_qa/ReadMe.md">🛂 MasterQA</a>
|
59 | 50 | </p>
|
60 | 51 |
|
| 52 | +* Uses reliable, smart-waiting code to prevent flaky tests. |
| 53 | +* Simplifies the process of creating UI tests for any website. |
| 54 | +* Includes [Plugins](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/plugins/pytest_plugin.py) for logging [test results and screenshots](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md). |
| 55 | +* Has versatile [Python methods](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/method_summary.md) and [command-line options](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md). |
| 56 | + |
61 | 57 | --------
|
62 | 58 |
|
63 |
| -<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://seleniumbase.io/cdn/gif/swag_mobile_2.gif" alt="SeleniumBase Mobile Mode" title="SeleniumBase Mobile Mode" /></a></p> |
| 59 | +<p align="center">(Below: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py">test_swag_labs.py</a> using Demo Mode.)</p> |
64 | 60 |
|
65 | 61 | ```bash
|
66 |
| -pytest test_swag_labs.py --mobile |
| 62 | +pytest test_swag_labs.py --demo |
67 | 63 | ```
|
68 | 64 |
|
69 |
| -<p align="center">(Above: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py">test_swag_labs.py</a> in Mobile Mode.)</p> |
70 |
| - |
71 |
| -<div><p align="center">(Below: Same test running in Demo Mode.)</p></div> |
72 | 65 | <p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://seleniumbase.io/cdn/gif/swag_demo_2.gif" alt="SeleniumBase Demo Mode" title="SeleniumBase Demo Mode" /></a></p>
|
73 | 66 |
|
74 |
| -```bash |
75 |
| -pytest test_swag_labs.py --demo |
76 |
| -``` |
77 |
| - |
78 | 67 | --------
|
79 | 68 |
|
80 | 69 | <a id="python_installation"></a>
|
@@ -326,7 +315,7 @@ For a full list of SeleniumBase features, <a href="https://github.com/seleniumba
|
326 | 315 |
|
327 | 316 |
|
328 | 317 | <a id="detailed_instructions"></a>
|
329 |
| -<img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" title="SeleniumBase" width="290"> |
| 318 | +<img src="https://seleniumbase.io/img/sb_logo_10.png" title="SeleniumBase" width="290"> |
330 | 319 |
|
331 | 320 | <h2><img src="https://seleniumbase.io/img/logo3a.png" title="SeleniumBase" width="32" /> Detailed Instructions:</h2>
|
332 | 321 |
|
@@ -398,7 +387,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
|
398 | 387 | --proxy=USERNAME:PASSWORD@SERVER:PORT # (Use authenticated proxy server.)
|
399 | 388 | --agent=STRING # (Modify the web browser's User-Agent string.)
|
400 | 389 | --mobile # (Use the mobile device emulator while running tests.)
|
401 |
| ---metrics=STRING # (Set mobile "CSSWidth,CSSHeight,PixelRatio".) |
| 390 | +--metrics=STRING # (Set mobile metrics: "CSSWidth,CSSHeight,PixelRatio".) |
402 | 391 | --extension-zip=ZIP # (Load a Chrome Extension .zip|.crx, comma-separated.)
|
403 | 392 | --extension-dir=DIR # (Load a Chrome Extension directory, comma-separated.)
|
404 | 393 | --headless # (Run tests headlessly. Default mode on Linux OS.)
|
@@ -893,7 +882,7 @@ Additionally, you can use the ``@retry_on_exception()`` decorator to specificall
|
893 | 882 | </p>
|
894 | 883 | <p><div><a href="https://github.com/mdmintz">https://github.com/mdmintz</a></div></p>
|
895 | 884 |
|
896 |
| -<div><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" title="SeleniumBase" width="290" /></a></div> |
| 885 | +<div><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/fancy_logo_14.png" title="SeleniumBase" width="290" /></a></div> |
897 | 886 |
|
898 | 887 | <div><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" title="SeleniumBase" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/releases"><img src="https://img.shields.io/github/repo-size/seleniumbase/seleniumbase.svg" title="SeleniumBase" alt="Repo Size" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase"><img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" title="SeleniumBase" alt="Join the chat!" /></a></div>
|
899 | 888 |
|
|
0 commit comments