Skip to content

Commit 5048f6b

Browse files
committed
Update the docs
1 parent 709136d commit 5048f6b

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keyring==23.2.1;python_version>="3.6"
1111
pkginfo==1.7.1;python_version>="3.6"
1212
Jinja2==3.0.1;python_version>="3.6"
1313
click==8.0.1;python_version>="3.6"
14-
zipp==3.5.0;python_version>="3.6"
14+
zipp==3.5.1;python_version>="3.6"
1515
readme-renderer==29.0
1616
pymdown-extensions==8.2;python_version>="3.6"
1717
importlib-metadata==4.8.1;python_version>="3.6"

examples/ReadMe.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
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>.
11-
* During test failures, logs and screenshots from the latest test run are saved to the ``latest_logs/`` folder.
12-
* Tests can be structured using [17 unique syntax formats](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md).
10+
* Tests are structured using [17 unique syntax formats](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md).
11+
* Logs from test failures are saved to ``./latest_logs/``.
12+
* Tests can be run with [multiple command-line options](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md).
13+
* Example tests are found in: **[SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples)**.
1314

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

help_docs/js_package_manager.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[<img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" title="SeleniumBase" width="290">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md)
1+
[<img src="https://seleniumbase.io/cdn/img/sb_logo_10t.png" title="SeleniumBase" width="220">](https://github.com/seleniumbase/SeleniumBase/)
22

33
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> JS Package Manager</h2>
44

@@ -90,6 +90,8 @@ def add_css_link(driver, css_link):
9090

9191
--------
9292

93+
[<img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" title="SeleniumBase" width="220">](https://github.com/seleniumbase/SeleniumBase/)
94+
9395
<div>To learn more about SeleniumBase, check out the Docs Site:</div>
9496
<a href="https://seleniumbase.io">
9597
<img src="https://img.shields.io/badge/docs-%20%20SeleniumBase.io-11BBDD.svg" alt="SeleniumBase.io Docs" /></a>

help_docs/method_summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ self.switch_to_driver(driver)
224224

225225
self.switch_to_default_driver()
226226

227-
self.save_screenshot(name, folder=None)
227+
self.save_screenshot(name, folder=None, selector=None, by=By.CSS_SELECTOR)
228228

229-
self.save_screenshot_to_logs(name=None)
229+
self.save_screenshot_to_logs(name=None, selector=None, by=By.CSS_SELECTOR)
230230

231231
self.save_page_source(name, folder=None)
232232

help_docs/recorder_mode.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Recorder Mode</h2>
44

5-
🔴 SeleniumBase <b>Recorder Mode</b> gives you the power to create automation scripts from manual browser actions.<br>(<i>Only Chromium browsers such as Chrome and Edge are supported.</i>)
5+
🔴 <b>SeleniumBase Recorder Mode</b> lets you record & export browser actions into automation scripts.<br>
66

77
<img src="https://seleniumbase.io/cdn/img/sb_recorder_notification.png" title="SeleniumBase" width="380">
88

9-
🔴 To activate Recorder Mode, add ``--recorder`` to your ``pytest`` run command when running an existing test: (Also add ``-s`` to allow breakpoints, unless you already have a ``pytest.ini`` file present with ``--capture=no`` in it.)
9+
🔴 To activate Recorder Mode, add ``--recorder`` to your ``pytest`` run command when running an existing test on Chrome or Edge. (Also add ``-s`` to allow breakpoints, unless you already have a ``pytest.ini`` file present with ``addopts = --capture=no`` in it.)
1010

1111
```bash
1212
pytest TEST_NAME.py --recorder -s
@@ -60,6 +60,8 @@ class RecorderTest(BaseCase):
6060

6161
<p>🔴 SeleniumBase <code>1.66.3</code> improves the algorithm for generating efficient selectors. Additionally, single and double quotes in selectors will now be properly escaped with backslashes as needed.</p>
6262

63+
<p>🔴 SeleniumBase <code>1.66.4</code> adds better error-handling when using The Recorder, as well as a few other improvements.</p>
64+
6365
--------
6466

6567
<div>To learn more about SeleniumBase, check out the Docs Site:</div>

0 commit comments

Comments
 (0)