You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SeleniumBase is a Python framework for web automation and end-to-end testing. Tests can be run with "pytest". Browsers are controlled by WebDriver APIs. Includes tools for reporting, dashboards, code-generation, and more.
29
-
</p>
26
+
<palign="center">SeleniumBase is a complete framework for browser automation and testing with <ahref="https://docs.pytest.org/en/latest/index.html">pytest</a>.<br />The API simplifies <ahref="https://www.selenium.dev/documentation/">Selenium</a>'s out-of-the-box API, leading to cleaner, maintainable code. <br />Includes advanced features such as a <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md">Dashboard</a>, a <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/recorder_mode.md">Recorder</a>, and <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/js_package_manager.md">JS code generators</a>.</p>
<palign="left">✅ An example of running a test: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py">test_demo_site.py</a></p>
60
59
61
60
```bash
@@ -90,7 +89,7 @@ pytest test_demo_site.py
90
89
</div>
91
90
</details>
92
91
93
-
<palign="left">📘📝 An example with the <b>BaseCase</b> class. Runs with <code>pytest</code> or <code>nosetests</code>. (<ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/ReadMe.md">Learn more</a>)</p>
92
+
<palign="left">📘📝 An example test with the <b>BaseCase</b> class. Runs with <code>pytest</code> or <code>nosetests</code>. (<ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/ReadMe.md">Learn more</a>)</p>
94
93
95
94
```python
96
95
from seleniumbase import BaseCase
@@ -107,7 +106,7 @@ class TestMFALogin(BaseCase):
107
106
self.save_screenshot_to_logs()
108
107
```
109
108
110
-
<palign="left">📗📝 An example with the <b>sb</b> <code>pytest</code> fixture. Runs with <code>pytest</code>.</p>
109
+
<palign="left">📗📝 An example test with the <b>sb</b> <code>pytest</code> fixture. Runs with <code>pytest</code>.</p>
111
110
112
111
```python
113
112
deftest_mfa_login(sb):
@@ -121,7 +120,7 @@ def test_mfa_login(sb):
121
120
sb.save_screenshot_to_logs()
122
121
```
123
122
124
-
<palign="left">📕📝 An example with <b>behave-BDD</b> <ahref="https://behave.readthedocs.io/en/stable/gherkin.html">Gherkin</a> structure. Runs with <code>behave</code>. (<ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/behave_bdd/ReadMe.md">Learn more</a>)</p>
123
+
<palign="left">📕📝 An example test with <b>behave-BDD</b> <ahref="https://behave.readthedocs.io/en/stable/gherkin.html">Gherkin</a> structure. Runs with <code>behave</code>. (<ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/behave_bdd/ReadMe.md">Learn more</a>)</p>
125
124
126
125
```gherkin
127
126
Feature: SeleniumBase scenarios for the RealWorld App
0 commit comments