Skip to content

Refresh Recorder Mode with "codegen" and more

Compare
Choose a tag to compare
@mdmintz mdmintz released this 21 Oct 02:49
· 3029 commits to master since this release
efd282a

Refresh Recorder Mode with "codegen" and more

馃敶 SeleniumBase 2.0.4 lets you go back to regular Recorder Mode from Assert Mode by pressing [ESC] once. If you press it again, it will pause the Recorder. (Previously, pressing [ESC] would pause the Recorder right away if using Assert Mode). As before, pressing the {^}-key (SHIFT+6) will switch the Recorder into Assert Element Mode and pressing the {&}-key (SHIFT+7) will switch the Recorder into Assert Text Mode. You can switch back to regular Recorder Mode from Assert Mode by pressing any key other than [SHIFT] and [BACKSPACE]. Also, --codegen can be used in place of --recorder for Recorder initialization, and sbase codegen [FILE.py] can be used in place of sbase mkrec [FILE.py], which calls attention to the code-generation abilities of the Recorder.

For the complete ReadMe on Recorder Mode, see: https://seleniumbase.io/help_docs/recorder_mode/