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
Copy file name to clipboardExpand all lines: README.md
+17-13Lines changed: 17 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@
4
4
5
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
-
**Quick Start in a few steps:** (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).)
7
+
## Quick Start
8
+
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).)
8
10
9
11
```
10
12
python -m pip install --upgrade pip
@@ -52,16 +54,16 @@ For more detailed steps on getting started, see the [**Detailed Instructions**](
52
54
53
55
### Learn More:
54
56
55
-
**No more repetitive WebDriver code:**<br />
57
+
#### **No more repetitive WebDriver code:**<br />
56
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>)
57
59
58
-
**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>)
85
87
86
-
**No more flaky tests:**<br />
88
+
#### **No more flaky tests:**<br />
87
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.
88
90
89
-
**Assist manual QA with automation:**<br />
91
+
#### **Assist manual QA with automation:**<br />
90
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.
91
93
92
-
**Integrate with your favorite tools:**<br />
94
+
#### **Integrate with your favorite tools:**<br />
93
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).
94
96
95
-
**Comes with a business mindset:**<br />
96
-
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.
97
99
98
-
**Extensively tested and made with love:**<br />
99
-
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).*)
100
102
101
-
**Feature-Rich:**<br />
103
+
#### **Feature-Rich:**<br />
102
104
([Read more about SeleniumBase features here](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/features_list.md))
103
105
104
106
<aid="seleniumbase_installation"></a>
@@ -252,6 +254,8 @@ Now you can install webdrivers by doing this:
252
254
seleniumbase install chromedriver
253
255
seleniumbase install geckodriver
254
256
seleniumbase install edgedriver
257
+
seleniumbase install iedriver
258
+
seleniumbase install operadriver
255
259
```
256
260
257
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.
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