Skip to content

Commit 2bcc273

Browse files
committed
Update console scripts
1 parent e831d25 commit 2bcc273

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

help_docs/recorder_mode.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@ pytest new_test.py --rec -q -s --url=wikipedia.org
2828

2929
>>>>>>>>>>>>>>>>>> PDB set_trace >>>>>>>>>>>>>>>>>
3030

31-
-> import pdb; pdb.set_trace()
3231
> PATH_TO_YOUR_CURRENT_DIRECTORY/new_test.py(9)
33-
....
32+
.
3433
5 def test_recording(self):
35-
6 if self.recorder_ext and not self.xvfb:
36-
7 # When you are done recording actions,
37-
8 # type "c" and press [ENTER] to continue
34+
6 if self.recorder_ext:
35+
7 # When done recording actions,
36+
8 # type "c", and press [Enter].
3837
9 -> import pdb; pdb.set_trace()
3938
return None
4039
(Pdb+) c

seleniumbase/console_scripts/sb_mkrec.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ def main():
168168
data.append("from seleniumbase import BaseCase")
169169
data.append("")
170170
data.append("")
171-
data.append("class RecorderTests(BaseCase):")
171+
data.append("class RecorderTest(BaseCase):")
172172
data.append(" def test_recording(self):")
173-
data.append(" if self.recorder_ext and not self.xvfb:")
174-
data.append(" # When you are done recording actions,")
175-
data.append(' # type "c" and press [ENTER] to continue')
173+
data.append(" if self.recorder_ext:")
174+
data.append(" # When done recording actions,")
175+
data.append(' # type "c", and press [Enter].')
176176
data.append(" import pdb; pdb.set_trace()")
177177
data.append("")
178178
file = codecs.open(file_path, "w+", "utf-8")

0 commit comments

Comments
 (0)