seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.46k stars 909 forks source link

Add the `--ee` option for regular tests and Recorder mode #2768

Closed mdmintz closed 1 month ago

mdmintz commented 1 month ago

Add the --ee option for regular tests and Recorder mode

For regular tests that run with pytest, if adding --ee as a pytest command-line option, this will allow you to skip the current test by pressing the ESC key from the web browser of the active test. (Note that the test will end at the next safe moment, and the test will be marked as Skipped.)

For Recorder Mode, the --ee option enables concluding the Recording by pressing SHIFT followed by ESC, instead of the usual way of ending the recording by typing c in the command-prompt and pressing ENTER to continue from the breakpoint(). Note that pressing ESC without SHIFT in Recorder Mode will only pause the current Recording (until ~ is pressed). You'll need to use SHIFT followed by ESC to fully end the Recording.

mdmintz commented 1 month ago

This was resolved in 4.26.4 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.26.4