Update console scripts
This commit is contained in:
parent
e831d25cea
commit
2bcc27385c
|
@ -28,13 +28,12 @@ pytest new_test.py --rec -q -s --url=wikipedia.org
|
|||
|
||||
>>>>>>>>>>>>>>>>>> PDB set_trace >>>>>>>>>>>>>>>>>
|
||||
|
||||
-> import pdb; pdb.set_trace()
|
||||
> PATH_TO_YOUR_CURRENT_DIRECTORY/new_test.py(9)
|
||||
....
|
||||
.
|
||||
5 def test_recording(self):
|
||||
6 if self.recorder_ext and not self.xvfb:
|
||||
7 # When you are done recording actions,
|
||||
8 # type "c" and press [ENTER] to continue
|
||||
6 if self.recorder_ext:
|
||||
7 # When done recording actions,
|
||||
8 # type "c", and press [Enter].
|
||||
9 -> import pdb; pdb.set_trace()
|
||||
return None
|
||||
(Pdb+) c
|
||||
|
|
|
@ -168,11 +168,11 @@ def main():
|
|||
data.append("from seleniumbase import BaseCase")
|
||||
data.append("")
|
||||
data.append("")
|
||||
data.append("class RecorderTests(BaseCase):")
|
||||
data.append("class RecorderTest(BaseCase):")
|
||||
data.append(" def test_recording(self):")
|
||||
data.append(" if self.recorder_ext and not self.xvfb:")
|
||||
data.append(" # When you are done recording actions,")
|
||||
data.append(' # type "c" and press [ENTER] to continue')
|
||||
data.append(" if self.recorder_ext:")
|
||||
data.append(" # When done recording actions,")
|
||||
data.append(' # type "c", and press [Enter].')
|
||||
data.append(" import pdb; pdb.set_trace()")
|
||||
data.append("")
|
||||
file = codecs.open(file_path, "w+", "utf-8")
|
||||
|
|
Loading…
Reference in New Issue