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
A reliable solution for fast & simple browser automation and testing with [WebDriver](https://docs.microsoft.com/en-us/microsoft-edge/webdriver)&[Pytest](https://github.com/pytest-dev/pytest).
5
+
SeleniumBase extends [WebDriver](https://docs.microsoft.com/en-us/microsoft-edge/webdriver)into a complete framework for end-to-end testing with[Pytest](https://github.com/pytest-dev/pytest).
6
6
7
-
**Why SeleniumBase?** WebDriver automates browsers, but it's not a stand-alone test framework. SeleniumBase saves you time by providing you with a complete framework for end-to-end testing.
7
+
## Quick Start
8
8
9
-
**Why Python?** Python is the [fastest growing programming language according to Stack Overflow](https://stackoverflow.blog/2017/09/06/incredible-growth-python/). Python's structure makes it optimal for scripting and quickly building things.
10
-
11
-
**Quick Start in a few steps:** (Requires [Python](https://www.python.org/downloads/), [Git](https://git-scm.com/), and an optional [Python virtual env](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md).)
9
+
(Requires [Python](https://www.python.org/downloads/), [Git](https://git-scm.com/), and an optional [Python virtual environment](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md).)
12
10
13
11
```
14
12
python -m pip install --upgrade pip
@@ -56,16 +54,16 @@ For more detailed steps on getting started, see the [**Detailed Instructions**](
56
54
57
55
### Learn More:
58
56
59
-
**No more repetitive WebDriver code:**<br />
57
+
#### **No more repetitive WebDriver code:**<br />
60
58
SeleniumBase automatically handles common WebDriver actions such as spinning up web browsers, waiting for page objects to load, saving screenshots during test failures, using a proxy server, and more. (<i>[Read about customizing test runs](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md).</i>)
61
59
62
-
**Simple Python syntax makes coding easy:**<br />
60
+
#### **Simple Python syntax makes coding easy:**<br />
Python methods that start with ``test_`` will automatically be run when using ``pytest`` or ``nosetests`` on a Python file, (<i>or on folders containing Python files</i>).
(<i>You can still use ``self.driver`` in your code.</i>)
89
87
90
-
**No more flaky tests:**<br />
88
+
#### **No more flaky tests:**<br />
91
89
SeleniumBase methods automatically wait for page elements to finish loading before interacting with them (*up to a timeout limit*). This means you no longer need random ``time.sleep()`` statements in your code.
92
90
93
-
**Assist manual QA with automation:**<br />
91
+
#### **Assist manual QA with automation:**<br />
94
92
SeleniumBase includes an automated/manual hybrid solution called **[MasterQA](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/masterqa/ReadMe.md)**, which speeds up manual testing by having automation perform all the web browser actions while the manual tester only validates what is seen.
95
93
96
-
**Integrate with your favorite tools:**<br />
94
+
#### **Integrate with your favorite tools:**<br />
97
95
SeleniumBase is compatible with [Selenium Grid](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/utilities/selenium_grid), [MySQL](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/core/testcase_manager.py), [Docker](https://github.com/seleniumbase/SeleniumBase/blob/master/integrations/docker/ReadMe.md), [NodeJS](https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js), [Google Cloud](https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/google_cloud/ReadMe.md), and [AWS](#amazon_section).
98
96
99
-
**Comes with a business mindset:**<br />
100
-
SeleniumBase makes it easy to automate tedious business tasks. (*To learn about businesses using SeleniumBase, [Click Here](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/happy_customers.md).*)
97
+
#### **Automate tedious business tasks:**<br />
98
+
Beyond test automation, SeleniumBase is perfect for automating tedious business tasks that you would perform in a web browser.
101
99
102
-
**Extensively tested and made with love:**<br />
103
-
SeleniumBase was originally built for [testing HubSpot's platform](https://product.hubspot.com/blog/bid/88880/Automated-Integration-Testing-with-Selenium-at-HubSpot) and automating business processes. In 2014, SeleniumBase was open-sourced and spun off as its own independent entity to benefit users everywhere.
100
+
#### **Lots of Happy Customers:**<br />
101
+
(*To learn about businesses using SeleniumBase, [Click Here](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/happy_customers.md).*)
104
102
105
-
**Feature-Rich:**<br />
103
+
#### **Feature-Rich:**<br />
106
104
([Read more about SeleniumBase features here](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/features_list.md))
@@ -256,6 +254,8 @@ Now you can install webdrivers by doing this:
256
254
seleniumbase install chromedriver
257
255
seleniumbase install geckodriver
258
256
seleniumbase install edgedriver
257
+
seleniumbase install iedriver
258
+
seleniumbase install operadriver
259
259
```
260
260
261
261
Remember, you'll need chromedriver if you want to run automation on Chrome, geckodriver if you want to run automation on Firefox, edgedriver for Microsoft Edge, etc.
@@ -696,4 +696,4 @@ Congratulations on getting started with SeleniumBase!
If you add ``source /usr/local/bin/virtualenvwrapper.sh`` to your local bash file (``~/.bash_profile`` on a Mac, or ``~/.bashrc`` on Linux), virtualenvwrapper commands will be available whenever you open a new command prompt. Use the ``source`` command on those files to activate any changes you make.
14
+
If you add ``source /usr/local/bin/virtualenvwrapper.sh`` to your local bash file (``~/.bash_profile`` on a Mac, or ``~/.bashrc`` on Linux), virtualenvwrapper commands will be available whenever you open a new command prompt.
0 commit comments