Skip to content

Commit fa8fc4f

Browse files
committed
Update the documentation
1 parent de2fec9 commit fa8fc4f

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@
55
<meta property="og:image" content="https://seleniumbase.io/cdn/img/mac_sb_logo_5.png" />
66
<link rel="icon" href="https://seleniumbase.io/img/green_logo2.png" />
77

8-
<p align="left"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/sb_banner_3_wide.png" alt="SeleniumBase" title="SeleniumBase" width="500" /></a></p>
8+
<h3 align="center"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/mac_sb_logo_5.png" alt="SeleniumBase" title="SeleniumBase" width="300" /></a></h3>
9+
910
<!-- View on GitHub -->
1011

11-
<p align="left"><div align="left">✅ Fast, easy, and reliable Web/UI automation & testing with Python.</div></p>
12+
<h4 align="center">Better web testing with <a href="https://www.selenium.dev/documentation/" target="_blank">Selenium</a> and <a href="https://docs.pytest.org/en/stable/" target="_blank">pytest</a>.</h4>
1213

13-
<p align="left">
14+
<p align="center">
1415
<a href="https://github.com/seleniumbase/SeleniumBase/releases">
1516
<img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=2277EE" alt="Latest Release on GitHub" /></a> <a href="https://pypi.python.org/pypi/seleniumbase" target="_blank">
1617
<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=22AAEE" alt="Latest Release on PyPI" /></a> <a href="https://seleniumbase.io">
1718
<img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBDD.svg" alt="SeleniumBase.io Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions">
1819
<img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg" alt="SeleniumBase GitHub Actions" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" alt="SeleniumBase" /></a>
1920
</p>
2021

21-
<p align="left">
22+
<p align="center">
2223
<a href="#python_installation">🚀 Start</a> |
2324
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/features_list.md">🎯 Features</a> |
2425
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/ReadMe.md">📝 Examples</a> |
@@ -46,6 +47,15 @@
4647

4748
--------
4849

50+
<p align="left">✅ An example of running a test: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py">test_demo_site.py</a></p>
51+
52+
```bash
53+
cd examples/
54+
pytest test_demo_site.py
55+
```
56+
57+
<p align="left"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py"><img src="https://seleniumbase.io/cdn/gif/demo_page_4.gif" width="400" alt="SeleniumBase Demo Mode" title="SeleniumBase Test" /></a></p>
58+
4959
<details>
5060
<summary> ▶️ <u>How is SeleniumBase different from raw Selenium?</u> (click to expand)</summary>
5161
<div>
@@ -117,15 +127,6 @@ Feature: SeleniumBase scenarios for the RealWorld App
117127
And Save screenshot to logs
118128
```
119129

120-
<p align="left">✅ An example of running a test: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py">test_demo_site.py</a></p>
121-
122-
```bash
123-
cd examples/
124-
pytest test_demo_site.py
125-
```
126-
127-
<p align="left"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py"><img src="https://seleniumbase.io/cdn/gif/demo_page_4.gif" width="400" alt="SeleniumBase Demo Mode" title="SeleniumBase Test" /></a></p>
128-
129130
<a id="python_installation"></a>
130131
<h2><img src="https://seleniumbase.io/cdn/img/python_logo.png" title="SeleniumBase" width="42" /> Python Setup:</h2>
131132

mkdocs_build/prepare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def main(*args, **kwargs):
125125
if "<!-- View on GitHub -->" in line:
126126
changed = True
127127
line = (
128-
r'<p align="left"><div align="left">'
128+
r'<p align="center"><div align="center">'
129129
r'<a href="https://github.com/seleniumbase/SeleniumBase">'
130130
r'<img src="https://img.shields.io/badge/'
131131
r"✅%20💛%20View%20Code-on%20GitHub%20🌎%20🚀"
@@ -144,7 +144,7 @@ def main(*args, **kwargs):
144144
if "<!-- SeleniumBase Header1 -->" in line:
145145
changed = True
146146
line = (
147-
'<section align="left"><div align="left">'
147+
'<section align="center"><div align="center">'
148148
"<h2>✅ Reliable Browser Testing</h2>"
149149
"</div></section>"
150150
)

0 commit comments

Comments
 (0)