Skip to content

Commit 27554a2

Browse files
authored
Merge pull request #1772 from seleniumbase/documentation-update
Documentation update
2 parents 6572c89 + 6a72b60 commit 27554a2

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<h3 align="center">Create reliable end-to-end browser tests with Python</h3>
1515

16-
<p align="center"><a href="https://pypi.python.org/pypi/seleniumbase" target="_blank"><img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=3399EE" alt="PyPI version" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/releases" target="_blank"><img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=22AAEE" alt="GitHub version" /></a> <a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions" target="_blank"><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></p>
16+
<p align="center"><a href="https://pypi.python.org/pypi/seleniumbase" target="_blank"><img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=3399EE" alt="PyPI version" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/releases" target="_blank"><img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=22AAEE" alt="GitHub version" /></a> <a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions" target="_blank"><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://img.shields.io/gitter/room/seleniumbase/SeleniumBase.svg" alt="Gitter chat"/></a></p>
1717

1818
<p align="center">
1919
<a href="#python_installation">🚀 Start</a> |
@@ -1195,7 +1195,8 @@ pytest --reruns=1 --reruns-delay=1
11951195
</p>
11961196
<p><div><a href="https://github.com/mdmintz">https://github.com/mdmintz</a></div></p>
11971197
1198-
<div><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/cdn/img/fancy_logo_14.png" title="SeleniumBase" width="220" /></a></div> <div><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" title="SeleniumBase" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" title="SeleniumBase" alt="Join the chat!" /></a></div> <div><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://img.shields.io/badge/tested%20with-SeleniumBase-04C38E.svg" alt="Tested with SeleniumBase" /></a></div> <div><a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a></div>
1198+
<div><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/cdn/img/fancy_logo_14.png" title="SeleniumBase" width="220" /></a></div> <div><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" title="SeleniumBase" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://img.shields.io/gitter/room/seleniumbase/SeleniumBase.svg" alt="Gitter chat"/></a></div> <div><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://img.shields.io/badge/tested%20with-SeleniumBase-04C38E.svg" alt="Tested with SeleniumBase" /></a></div> <div><a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a></div>
1199+
<p><a href="https://pepy.tech/project/seleniumbase" target="_blank"><img src="https://pepy.tech/badge/seleniumbase" alt="SeleniumBase PyPI downloads" /></a></p>
11991200
12001201
<p><div>
12011202
<span><a href="https://www.youtube.com/playlist?list=PLp9uKicxkBc5UIlGi2BuE3aWC7JyXpD3m"><img src="https://seleniumbase.github.io/cdn/img/youtube.png" title="SeleniumBase Playlist on YouTube" alt="SeleniumBase Playlist on YouTube" width="54" /></a></span>
@@ -1205,6 +1206,5 @@ pytest --reruns=1 --reruns-delay=1
12051206
12061207
--------
12071208
1208-
<p><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/cdn/img/sb_logo_b.png" alt="SeleniumBase" title="SeleniumBase" width="240" /></a></p>
1209-
<p><a href="https://pepy.tech/project/seleniumbase" target="_blank"><img src="https://pepy.tech/badge/seleniumbase" alt="SeleniumBase PyPI downloads" /></a></p>
1209+
<p><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/cdn/img/sb_logo_b.png" alt="SeleniumBase" title="SeleniumBase" width="300" /></a></p>
12101210
<p><a href="https://www.python.org/downloads/" target="_blank"><img src="https://img.shields.io/pypi/pyversions/seleniumbase.svg?color=22AAEE&logo=python&logoColor=FEDC54" title="Supported Python Versions" /></a></p>

mkdocs_build/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ bleach==6.0.0
2020
lunr==0.6.2
2121
nltk==3.8.1
2222
tornado==6.2
23-
watchdog==2.2.1
23+
watchdog==2.3.0
2424
cairocffi==1.4.0
2525
cairosvg==2.6.0
2626
cssselect2==0.7.0
2727
tinycss2==1.2.1
2828
defusedxml==0.7.1
2929
mkdocs==1.4.2
30-
mkdocs-material==9.0.13
30+
mkdocs-material==9.0.14
3131
mkdocs-exclude-search==0.6.5
3232
mkdocs-simple-hooks==0.1.5
3333
mkdocs-material-extensions==1.1.1

seleniumbase/plugins/pytest_plugin.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,15 +1196,15 @@ def pytest_addoption(parser):
11961196
for arg in sys_argv:
11971197
if "--timeout=" in arg:
11981198
raise Exception(
1199-
"\n\n Don't use --timeout=s from pytest-timeout! "
1199+
"\n Don't use --timeout=s from pytest-timeout! "
12001200
"\n It's not thread-safe for WebDriver processes! "
12011201
"\n Use --time-limit=s from SeleniumBase instead!\n"
12021202
)
12031203

12041204
# Dashboard Mode does not support tests using forked subprocesses.
12051205
if "--forked" in sys_argv and "--dashboard" in sys_argv:
12061206
raise Exception(
1207-
"\n\n Dashboard Mode does NOT support forked subprocesses!"
1207+
"\n Dashboard Mode does NOT support forked subprocesses!"
12081208
'\n (*** DO NOT combine "--forked" with "--dashboard"! ***)\n'
12091209
)
12101210

@@ -1213,7 +1213,7 @@ def pytest_addoption(parser):
12131213
"--rs" in sys_argv or "--reuse-session" in sys_argv
12141214
):
12151215
raise Exception(
1216-
"\n\n Reuse-Session Mode does NOT support forked subprocesses!"
1216+
"\n Reuse-Session Mode does NOT support forked subprocesses!"
12171217
'\n (DO NOT combine "--forked" with "--rs"/"--reuse-session"!)\n'
12181218
)
12191219

@@ -1225,7 +1225,7 @@ def pytest_addoption(parser):
12251225
):
12261226
if ("-n" in sys_argv) or (" -n=" in arg_join) or ("-c" in sys_argv):
12271227
raise Exception(
1228-
"\n\n Recorder Mode does NOT support multi-process mode (-n)!"
1228+
"\n Recorder Mode does NOT support multi-process mode (-n)!"
12291229
'\n (DO NOT combine "--recorder" with "-n NUM_PROCESSES"!)\n'
12301230
)
12311231

@@ -1303,7 +1303,7 @@ def pytest_addoption(parser):
13031303
sb_config._browser_shortcut = "safari"
13041304
browser_list.append("--safari")
13051305
if browser_changes > 1:
1306-
message = "\n\n TOO MANY browser types were entered!"
1306+
message = "\n TOO MANY browser types were entered!"
13071307
message += "\n There were %s found:\n > %s" % (
13081308
browser_changes,
13091309
", ".join(browser_list),
@@ -1317,7 +1317,7 @@ def pytest_addoption(parser):
13171317
and browser_text not in ["chrome", "edge"]
13181318
):
13191319
message = (
1320-
"\n\n Recorder Mode ONLY supports Chrome and Edge!"
1320+
"\n Recorder Mode ONLY supports Chrome and Edge!"
13211321
'\n (Your browser choice was: "%s")\n' % browser_list[0]
13221322
)
13231323
raise Exception(message)
@@ -1340,21 +1340,20 @@ def pytest_addoption(parser):
13401340
and undetectable
13411341
):
13421342
message = (
1343-
'\n\n Undetected-Chromedriver Mode ONLY supports Chrome!'
1343+
'\n Undetected-Chromedriver Mode ONLY supports Chrome!'
13441344
'\n ("--uc" / "--undetected" / "--undetectable")'
13451345
'\n (Your browser choice was: "%s")\n' % browser_list[0]
13461346
)
13471347
raise Exception(message)
13481348
if undetectable and "--wire" in sys_argv:
13491349
raise Exception(
1350-
"\n\n SeleniumBase doesn't support mixing --uc with --wire mode!"
1350+
"\n SeleniumBase doesn't support mixing --uc with --wire mode!"
13511351
"\n If you need both, override get_new_driver() from BaseCase:"
13521352
"\n https://seleniumbase.io/help_docs/syntax_formats/#sb_sf_09\n"
13531353
)
13541354
if undetectable and "--mobile" in sys_argv:
13551355
raise Exception(
1356-
"\n\n SeleniumBase doesn't support mixing --uc with --mobile"
1357-
'\n UC has: "unrecognized chrome option: mobileEmulation"!\n'
1356+
"\n SeleniumBase doesn't support mixing --uc with --mobile\n"
13581357
)
13591358

13601359

0 commit comments

Comments
 (0)