File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,12 @@ pytest new_test.py --rec -q -s --url=wikipedia.org
28
28
29
29
>>>>>>>>>>>>>>>>>> PDB set_trace >>>>>>>>>>>>>>>>>
30
30
31
- -> import pdb; pdb.set_trace ()
32
31
> PATH_TO_YOUR_CURRENT_DIRECTORY/new_test.py(9)
33
- ... .
32
+ .
34
33
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].
38
37
9 -> import pdb; pdb.set_trace ()
39
38
return None
40
39
(Pdb+) c
Original file line number Diff line number Diff line change @@ -168,11 +168,11 @@ def main():
168
168
data .append ("from seleniumbase import BaseCase" )
169
169
data .append ("" )
170
170
data .append ("" )
171
- data .append ("class RecorderTests (BaseCase):" )
171
+ data .append ("class RecorderTest (BaseCase):" )
172
172
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]. ' )
176
176
data .append (" import pdb; pdb.set_trace()" )
177
177
data .append ("" )
178
178
file = codecs .open (file_path , "w+" , "utf-8" )
You can’t perform that action at this time.
0 commit comments