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
(<i>Requires [Git](https://git-scm.com/) and [Python](https://www.python.org/downloads/)[<imgsrc="https://img.shields.io/badge/python-2.7,_3.x-22AADD.svg"alt="Python versions" />](https://www.python.org/downloads/). Optionally, you may want to use a [Python virtual environment](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md) to isolate Python dependencies between projects.</i>)
Check out [SeleniumBase Website Tours](https://github.com/seleniumbase/SeleniumBase/tree/master/examples/tour_examples) (in the ``examples/tour_examples`` folder). It's great for prototyping a website onboarding experience. See the [Tours ReadMe](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/ReadMe.md) for more details.
55
55
@@ -61,11 +61,11 @@ pytest google_tour.py
61
61
<imgsrc="https://cdn2.hubspot.net/hubfs/100006/google_tour_3.gif"title="SeleniumBase Tour of Google"height="260"><br>
62
62
(Above: Actual demo of [google_tour.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/google_tour.py) running on [google.com](https://google.com))
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>)
@@ -119,23 +119,23 @@ To see a full list of SeleniumBase features, [Click Here](https://github.com/sel
(<i>A [Git](https://git-scm.com/) GUI tool like [SourceTree](http://www.sourcetreeapp.com/) may help.</i>)
133
133
134
-
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo.png"title="SeleniumBase"height="32"> **Step 2:** Create a Virtual Environment
134
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> **Step 2:** Create a Virtual Environment
135
135
136
136
(OPTIONAL) To learn how to create a Python virtual environment, [see this ReadMe](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md).
(If you encounter permission errors during installation while not using a virtual environment, you may need to add ``--user`` to your pip command. If you already have an older version of SeleniumBase installed, you may want to add ``--upgrade`` or ``-U`` to your pip command.)
159
159
160
160
<aid="seleniumbase_install_a_web_driver"></a>
161
-
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo.png"title="SeleniumBase"height="32"> **Step 4:** Install a Web Driver
161
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> **Step 4:** Install a Web Driver
162
162
163
163
SeleniumBase requires a web driver to run automation on web browers. For that, you'll need to either download a web driver to your path, or **[install a web driver](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/webdriver_installation.md)** with the SeleniumBase ``install`` command.
(``geckodriver`` is the offical name of the Firefox driver)
172
172
173
173
<aid="seleniumbase_basic_usage"></a>
174
-
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo.png"title="SeleniumBase"height="32"> **Step 5:** Run the Example Script
174
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> **Step 5:** Run the Example Script
175
175
176
176
**Here's what the example script, [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py), looks like:**
177
177
@@ -260,7 +260,7 @@ If you want to pass additional data from the command line to your tests, you can
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo.png"title="SeleniumBase"height="32"> **Using SeleniumBase from a [PyPI](https://pypi.org/) installation:**
263
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> **Using SeleniumBase from a [PyPI](https://pypi.org/) installation:**
264
264
265
265
You can install SeleniumBase without cloning the repo by doing this:
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo.png"title="SeleniumBase"height="32"> **Creating Visual Test Suite Reports:**
299
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> **Creating Visual Test Suite Reports:**
300
300
301
301
(NOTE: Several command line args are different for Pytest vs Nosetests)
(NOTE: You can add ``--show_report`` to immediately display Nosetest reports after the test suite completes. Only use ``--show_report`` when running tests locally because it pauses the test run.)
329
329
330
330
331
-
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo.png"title="SeleniumBase"height="32"> **Using a Proxy Server:**
331
+
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> **Using a Proxy Server:**
332
332
333
333
If you wish to use a proxy server for your browser tests (Chrome and Firefox only), you can add ``--proxy=IP_ADDRESS:PORT`` as an argument on the command line.
0 commit comments