Skip to content

Commit 55dc755

Browse files
committed
Update the documentation
1 parent 30934ab commit 55dc755

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ pytest test_coffee_cart.py --trace
617617
--extension-zip=ZIP # (Load a Chrome Extension .zip|.crx, comma-separated.)
618618
--extension-dir=DIR # (Load a Chrome Extension directory, comma-separated.)
619619
--binary-location=PATH # (Set path of the Chromium browser binary to use.)
620+
--driver-version=VER # (Set the chromedriver or uc_driver version to use.)
620621
--sjw # (Skip JS Waits for readyState to be "complete" or Angular to load.)
621622
--pls=PLS # (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
622623
--headless # (Run tests in headless mode. The default arg on Linux OS.)
@@ -1329,7 +1330,7 @@ pytest --reruns=1 --reruns-delay=1
13291330
<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="68" /></a></span>
13301331
<span><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://seleniumbase.github.io/img/social/share_github.svg" title="SeleniumBase on GitHub" alt="SeleniumBase on GitHub" width="62" /></a></span>
13311332
<span><a href="https://www.facebook.com/SeleniumBase"><img src="https://seleniumbase.io/img/social/share_facebook.svg" title="SeleniumBase on Facebook" alt="SeleniumBase on Facebook" width="64" /></a></span>
1332-
<span><a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://seleniumbase.github.io/img/social/share_gitter.svg" title="SeleniumBase on Gitter" alt="SeleniumBase on Gitter" width="50" /></a></span>
1333+
<span><a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://seleniumbase.github.io/img/social/share_gitter.svg" title="SeleniumBase on Gitter" alt="SeleniumBase on Gitter" width="52" /></a></span>
13331334
</div></p>
13341335
13351336
<p><div><a href="https://github.com/mdmintz">https://github.com/mdmintz</a></div></p>

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ pytest my_first_test.py --settings-file=custom_settings.py
139139
--extension-zip=ZIP # (Load a Chrome Extension .zip|.crx, comma-separated.)
140140
--extension-dir=DIR # (Load a Chrome Extension directory, comma-separated.)
141141
--binary-location=PATH # (Set path of the Chromium browser binary to use.)
142+
--driver-version=VER # (Set the chromedriver or uc_driver version to use.)
142143
--sjw # (Skip JS Waits for readyState to be "complete" or Angular to load.)
143144
--pls=PLS # (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
144145
--headless # (Run tests in headless mode. The default arg on Linux OS.)

help_docs/syntax_formats.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class MyTests(BaseTestCase):
106106
self.example_method()
107107
self.type("input", "Name")
108108
self.click("form button")
109-
...
109+
# ...
110110
```
111111

112112
(See <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/base_test_case.py">examples/boilerplates/base_test_case.py</a> for more info.)
@@ -119,7 +119,7 @@ The pytest framework comes with a unique system called fixtures, which replaces
119119
```python
120120
def test_sb_fixture_with_no_class(sb):
121121
sb.open("https://google.com/ncr")
122-
sb.type('input[title="Search"]', 'SeleniumBase\n')
122+
sb.type('[title="Search"]', 'SeleniumBase\n')
123123
sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')
124124
sb.click('a[title="seleniumbase"]')
125125
```
@@ -135,7 +135,7 @@ The <code translate="no">sb</code> pytest fixture can also be used inside of a c
135135
class Test_SB_Fixture:
136136
def test_sb_fixture_inside_class(self, sb):
137137
sb.open("https://google.com/ncr")
138-
sb.type('input[title="Search"]', 'SeleniumBase\n')
138+
sb.type('[title="Search"]', 'SeleniumBase\n')
139139
sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')
140140
sb.click('a[title="examples"]')
141141
```

help_docs/webdriver_installation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ If the necessary driver is not found in this location while running tests, Selen
2121
```bash
2222
sbase get chromedriver 114
2323
sbase get chromedriver 114.0.5735.90
24-
sbase get chromedriver latest
25-
sbase get chromedriver latest-1
2624
sbase get edgedriver 115.0.1901.183
2725
```
2826

0 commit comments

Comments
 (0)