Skip to content

Commit a938941

Browse files
committed
Update the docs
1 parent faa714b commit a938941

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

help_docs/recorder_mode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

9-
(This tutorial assumes you are using SeleniumBase version ``2.0.10`` or newer.)
9+
(This tutorial assumes that you are using SeleniumBase version ``2.1.0`` or newer.)
1010

1111
🔴 To make a new recording with Recorder Mode, you can use ``sbase mkrec`` or ``sbase codegen``):
1212

@@ -40,7 +40,7 @@ ipdb> c
4040
4141
🔴 While a recording is in progress, you can press the ``[ESC]`` key to pause the recording. To resume the recording, you can hit the ``[~`]`` key, which is located directly below the ``[ESC]`` key on most keyboards.
4242
43-
🔴 From within Recorder Mode there are two additional modes: "Assert Element Mode" and "Assert Text Mode". To switch into "Assert Element Mode", press the <code>{^}-key (SHIFT+6)</code>: The border will become purple, and you'll be able to click on elements to assert from your test. To switch into "Assert Text Mode", press the <code>{&}-key (SHIFT+7)</code>: The border will become teal, and you'll be able to click on elements for asserting text from your test. While using either of the two special Assertion Modes, certain actions such as clicking on links won't have any effect. This lets you make assertions on elements without navigating away from the page, etc. To return back to the original Recorder Mode, press any key other than SHIFT or BACKSPACE (Eg: Press ``CONTROL``, etc.). You can also press ESC once to leave the Assertion Modes, but if you press it again, it'll stop the Recorder.
43+
🔴 From within Recorder Mode there are two additional modes: "Assert Element Mode" and "Assert Text Mode". To switch into "Assert Element Mode", press the <code>{^}-key (SHIFT+6)</code>: The border will become purple, and you'll be able to click on elements to assert from your test. To switch into "Assert Text Mode", press the <code>{&}-key (SHIFT+7)</code>: The border will become teal, and you'll be able to click on elements for asserting text from your test. While using either of the two special Assertion Modes, certain actions such as clicking on links won't have any effect. This lets you make assertions on elements without navigating away from the page, etc. To add an assertion for a button without triggering its default behavior via a "click" action, mouse-down on the button and then mouse-up somewhere else, which prevents a detected click while still recording the assert. To return back to the original Recorder Mode, press any key other than SHIFT or BACKSPACE (Eg: Press ``CONTROL``, etc.). You can also press ESC once to leave the Assertion Modes, but if you press it again, it'll stop the Recorder.
4444
4545
🔴 For extra flexibility, you can break up the ``sbase mkrec`` command into three separate commands so that you can pick & choose how you use the Recorder:
4646

mkdocs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ markdown_extensions:
2727
# Configuration
2828
theme:
2929
name: material
30-
logo: img/green_logo2.png
30+
logo: img/green_logo.png
3131
favicon: img/green_logo3.png
3232
language: en
3333
include_homepage_in_sidebar: true
@@ -49,7 +49,7 @@ theme:
4949
- navigation.instant
5050
palette:
5151
scheme: default
52-
primary: blue
52+
primary: teal
5353
accent: indigo
5454
font:
5555
text: Roboto
@@ -124,18 +124,19 @@ nav:
124124
- MySQL Instructions: help_docs/mysql_installation.md
125125
- Demo Pages:
126126
- Demo Page / Demo Site: https://seleniumbase.io/demo_page
127+
- MFA Login Demo Page: https://seleniumbase.io/realworld/login
127128
- TinyMCE Demo Page: https://seleniumbase.io/tinymce/
128-
- Drag & Drop Demo Page: https://seleniumbase.io/other/drag_and_drop
129129
- Virtual Device Farm: https://seleniumbase.io/devices/
130+
- Drag & Drop Demo Page: https://seleniumbase.io/other/drag_and_drop
131+
- HTML Playground Page: https://seleniumbase.io/w3schools/
132+
- SeleniumBase in iframe: https://seleniumbase.io/w3schools/sbase
130133
- Error Demo Page: https://seleniumbase.io/error_page/
131134
- Page with broken links: https://seleniumbase.io/other/broken_page
132135
- W3Schools iframes: https://seleniumbase.io/w3schools/iframes
133136
- W3Schools doubleclick: https://seleniumbase.io/w3schools/double_click
134137
- W3Schools checkboxes: https://seleniumbase.io/w3schools/checkboxes
135138
- W3Schools drag & drop: https://seleniumbase.io/w3schools/drag_drop
136139
- W3Schools radio buttons: https://seleniumbase.io/w3schools/radio_buttons
137-
- SeleniumBase in iframe: https://seleniumbase.io/w3schools/sbase
138-
- HTML Playground Page: https://seleniumbase.io/w3schools/
139140
- Presentations:
140141
- Presenter Demo: https://seleniumbase.io/other/presenter.html
141142
- Core Presentation: https://seleniumbase.io/other/core_presentation.html

0 commit comments

Comments
 (0)