Skip to content

Commit 356d417

Browse files
committed
Update the docs
1 parent f66b919 commit 356d417

File tree

8 files changed

+21
-16
lines changed

8 files changed

+21
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/ReadMe.md">🗺️ Tours</a> |
3535
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/visual_testing/ReadMe.md">🖼️ VisualTest</a>
3636
<br />
37-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/console_scripts/ReadMe.md">💻 Console Scripts</a> |
37+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/console_scripts/ReadMe.md">💻 CMD Scripts</a> |
3838
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid/ReadMe.md">🌐 Grid</a> |
39-
<a href="https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js">🏃 NodeRunner</a>
39+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">🔠 SyntaxFormats</a>
4040
<br />
4141
<a href="https://github.com/seleniumbase/SeleniumBase/tree/master/examples/boilerplates">♻️ Boilerplates</a> |
4242
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/locale_codes.md">🗾 Locales</a> |

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
regex>=2020.11.13
2-
tqdm>=4.54.1
2+
tqdm>=4.55.0
33
livereload==2.6.3;python_version>="3.6"
44
Markdown==3.3.3
55
readme-renderer==28.0
6-
pymdown-extensions==8.0.1
6+
pymdown-extensions==8.1
77
mkdocs==1.1.2
88
mkdocs-material==6.2.2
99
mkdocs-simple-hooks==0.1.2

examples/ReadMe.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77

88
* <b>SeleniumBase</b> tests are run with <b>pytest</b>.
99
* Chrome is the default browser if not specified.
10+
* Example tests are located in: <b>[SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples)</b>.
1011
* During test failures, logs and screenshots from the latest test run are saved to the ``latest_logs/`` folder.
11-
* Example tests are located in <b>[SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples)</b>.
12+
* Tests can be structured using [15 unique syntax formats](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md).
1213

1314
(NOTE: Some example tests fail on purpose to demonstrate [logging features](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md).)
1415

15-
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Example run commands to help you get started:</h3>
16+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Example tests with run commands to help you get started:</h3>
1617

1718
Run an example test in Chrome: (Default: ``--browser=chrome``)
1819

examples/boilerplates/base_test_case.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@ class MyTests(BaseTestCase):
4848
def test_example(self):
4949
self.login()
5050
self.example_method()
51+
self.type("input", "Name")
52+
self.click("form button")
53+
...
5154
'''

examples/translations/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<h3 align="left"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_m.png" title="SeleniumBase" width="290" /></a></h3>
1+
<h3 align="left"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_m.png" title="SeleniumBase" width="300" /></a></h3>
22

33
<a id="language_tests"></a>
4-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Language Tests (Python 3+)</h3>
4+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Language Tests (Python 3+)</h3>
55

66
<b>SeleniumBase</b> supports the following 10 languages: <i>English</i>, <i>Chinese</i>, <i>Dutch</i>, <i>French</i>, <i>Italian</i>, <i>Japanese</i>, <i>Korean</i>, <i>Portuguese</i>, <i>Russian</i>, and <i>Spanish</i>.
77

@@ -13,15 +13,15 @@ self.open(URL) <=> self.开启网址(URL)
1313
```
1414

1515
<a id="translation_api"></a>
16-
<h2><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Translation API</h2>
16+
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Translation API</h2>
1717

1818
You can use SeleniumBase to selectively translate the method names of any test from one language to another via the console scripts interface. Additionally, the ``import`` line at the top of the Python file will change to import the new ``BaseCase``. Example: ``BaseCase`` becomes ``CasoDeTeste`` when a test is translated into Portuguese.
1919

2020
```bash
2121
seleniumbase translate
2222
```
2323

24-
```
24+
```bash
2525
* Usage:
2626
seleniumbase translate [SB_FILE.py] [LANGUAGE] [ACTION]
2727

help_docs/translations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<h3 align="left"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_m.png" title="SeleniumBase" width="290" /></a></h3>
1+
<h3 align="left"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_m.png" title="SeleniumBase" width="300" /></a></h3>
22

33
<a id="language_tests"></a>
4-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Language Tests (Python 3+)</h3>
4+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Language Tests (Python 3+)</h3>
55

66
<b>SeleniumBase</b> supports the following 10 languages: <i>English</i>, <i>Chinese</i>, <i>Dutch</i>, <i>French</i>, <i>Italian</i>, <i>Japanese</i>, <i>Korean</i>, <i>Portuguese</i>, <i>Russian</i>, and <i>Spanish</i>.
77

@@ -13,15 +13,15 @@ self.open(URL) <=> self.开启网址(URL)
1313
```
1414

1515
<a id="translation_api"></a>
16-
<h2><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Translation API</h2>
16+
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Translation API</h2>
1717

1818
You can use SeleniumBase to selectively translate the method names of any test from one language to another via the console scripts interface. Additionally, the ``import`` line at the top of the Python file will change to import the new ``BaseCase``. Example: ``BaseCase`` becomes ``CasoDeTeste`` when a test is translated into Portuguese.
1919

2020
```bash
2121
seleniumbase translate
2222
```
2323

24-
```
24+
```bash
2525
* Usage:
2626
seleniumbase translate [SB_FILE.py] [LANGUAGE] [ACTION]
2727

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
site_name: SeleniumBase
33
site_url: https://seleniumbase.io
44
site_author: Michael Mintz
5-
site_description: A fast and reliable web automation framework for end-to-end testing and RPA with Python, pytest, and WebDriver.
5+
site_description: A fast, reliable web automation framework for end-to-end testing (and RPA) with Python, pytest, and WebDriver.
66
# Repository information
77
repo_name: seleniumbase/SeleniumBase
88
repo_url: https://github.com/seleniumbase/SeleniumBase
@@ -59,6 +59,7 @@ nav:
5959
- Command Line Options: help_docs/customizing_test_runs.md
6060
- Dashboard / Reports: examples/example_logs/ReadMe.md
6161
- Console Scripts: seleniumbase/console_scripts/ReadMe.md
62+
- Syntax Formats: help_docs/syntax_formats.md
6263
- API Reference: help_docs/method_summary.md
6364
- Setup / Install:
6465
- Install Python, pip, git: help_docs/install_python_pip_git.md

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
print("\n*** Installing twine: *** (Required for PyPI uploads)\n")
5050
os.system("python -m pip install --upgrade 'twine>=1.15.0'")
5151
print("\n*** Installing tqdm: *** (Required for PyPI uploads)\n")
52-
os.system("python -m pip install --upgrade 'tqdm>=4.54.1'")
52+
os.system("python -m pip install --upgrade 'tqdm>=4.55.0'")
5353
print("\n*** Publishing The Release to PyPI: ***\n")
5454
os.system('python -m twine upload dist/*') # Requires ~/.pypirc Keys
5555
print("\n*** The Release was PUBLISHED SUCCESSFULLY to PyPI! :) ***\n")

0 commit comments

Comments
 (0)