Skip to content
New issue

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

Take screenshots on Assertion failures and getting Exceptions #196

Closed
dmitry-minchuk opened this issue Dec 6, 2017 · 2 comments
Closed
Assignees

Comments

@dmitry-minchuk
Copy link
Contributor

It would be useful if we can get actual screenshots exactly on failing step, not only on ExtendedWebElement and TestListener events.

For example: if I have try/finally logic with some assertions in try{...} block and some actions in finally{...} block, and one assertion fails in try{...} - I'll get screenshot on the last page of finally{...} block, which is not related to the failing reason. The same situation with exceptions.

@vdelendik vdelendik added this to the middle_priority milestone Mar 15, 2018
@vdelendik
Copy link
Contributor

review possibilities of new webdriver listener to handle different exceptions and generate screenshots

@vdelendik
Copy link
Contributor

5.2.3.75+ could make a screenshot asap right after each webdriver exception on any action

@vdelendik vdelendik self-assigned this May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants