|
1 |
| -<img src="https://cdn2.hubspot.net/hubfs/100006/images/laptop_logo.png" title="SeleniumBase" height="160"> |
2 |
| - |
3 |
| -<img src="https://cdn2.hubspot.net/hubfs/100006/images/new_logo_pre6c.png" title="SeleniumBase" height="47.8"><br /> |
| 1 | +[<img src="https://cdn2.hubspot.net/hubfs/100006/images/super_logo_e.png" title="SeleniumBase" height="48">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md)<br /> |
4 | 2 |
|
5 | 3 | [<img src="https://img.shields.io/github/release/seleniumbase/SeleniumBase.svg?color=2277EE" alt="SeleniumBase" />](https://github.com/seleniumbase/SeleniumBase/releases) [<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=22AAEE" alt=" " />](https://pypi.python.org/pypi/seleniumbase) [<img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" alt=" " />](https://gitter.im/seleniumbase/SeleniumBase) [<img src="https://img.shields.io/travis/seleniumbase/SeleniumBase/master.svg" alt=" " />](https://travis-ci.org/seleniumbase/SeleniumBase) [<img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg">](https://github.com/seleniumbase/SeleniumBase/actions)<br />
|
6 | 4 |
|
7 |
| -Python framework for easy end-to-end testing and [website tours](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/ReadMe.md) with [Selenium](https://selenium.dev/) and [pytest](https://docs.pytest.org/en/latest/index.html). |
| 5 | +Python framework for end-to-end Web-UI testing and [site tours](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/ReadMe.md) with [Selenium](https://selenium.dev/) and [pytest](https://docs.pytest.org/en/latest/index.html). |
8 | 6 |
|
9 | 7 | <img src="https://cdn2.hubspot.net/hubfs/100006/images/my_first_test_gif.gif" title="SeleniumBase"><br />
|
10 |
| -(<i>Above: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) from [examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) running in Demo Mode, which adds JavaScript for highlighting page actions.</i>)<br /> |
| 8 | +(<i>Above: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) from [examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) running in Demo Mode.</i>)<br /> |
11 | 9 | ```bash
|
12 | 10 | pytest my_first_test.py --demo
|
13 | 11 | ```
|
@@ -70,7 +68,7 @@ pytest my_first_test.py
|
70 | 68 | * Chrome is the default browser if not specified with ``--browser=BROWSER``.
|
71 | 69 | * On Linux ``--headless`` is the default behavior (running with no GUI). You can also run in headless mode on any OS. If your Linux machine has a GUI and you want to see the web browser as tests run, add ``--headed`` or ``--gui``.
|
72 | 70 |
|
73 |
| -**Here's an example test, [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py):** |
| 71 | +**Here's an example test, [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py):**<br /> |
74 | 72 | <img src="https://cdn2.hubspot.net/hubfs/100006/my_first_test_py_4.png" title="My First SeleniumBase Test"><br />
|
75 | 73 | * By default, **[CSS Selectors](https://www.w3schools.com/cssref/css_selectors.asp)** are used for finding page elements.
|
76 | 74 | * If you're new to CSS Selectors, games like [Flukeout](http://flukeout.github.io/) can help you learn.
|
@@ -240,6 +238,7 @@ SeleniumBase provides additional Pytest command-line options for tests:
|
240 | 238 | --verify-delay=SECONDS # (The delay before MasterQA verification checks.)
|
241 | 239 | --disable-csp # (This disables the Content Security Policy of websites.)
|
242 | 240 | --enable-sync # (The option to enable "Chrome Sync".)
|
| 241 | +--incognito # (The option to enable Chrome's Incognito mode.) |
243 | 242 | --reuse-session # (The option to reuse the browser session between tests.)
|
244 | 243 | --maximize-window # (The option to start with the web browser maximized.)
|
245 | 244 | --save-screenshot # (The option to save a screenshot after each test.)
|
|
0 commit comments