We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preconditions:
browser.config.save_screenshot_on_failure
True
browser.config.save_page_source_on_failure
Steps:
browser.wait_until()
False
from selene import browser browser.wait_until(False)
But the program completed successfully without unhandled exceptions.
selene
/home/<username>/.selene/screenshots
Actual result: Added a screenshots folder to the selene folder with two files: png-screenshot and html-page-source.
Expected result: The screenshots folder should not be added to the selene folder since all exceptions have been handled.
Additional info: Screenshot and page source should only be taken if the program terminated with an unhandled exception.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Preconditions:
browser.config.save_screenshot_on_failure
isTrue
browser.config.save_page_source_on_failure
isTrue
Steps:
browser.wait_until()
function returnsFalse
Example:
But the program completed successfully without unhandled exceptions.
selene
folder in your system (for example on Ubuntu its/home/<username>/.selene/screenshots
by default)Actual result:
Added a screenshots folder to the
selene
folder with two files: png-screenshot and html-page-source.Expected result:
The screenshots folder should not be added to the
selene
folder since all exceptions have been handled.Additional info:
Screenshot and page source should only be taken if the program terminated with an unhandled exception.
The text was updated successfully, but these errors were encountered: