Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

[#263] Bug: StaleElementException Log #270

Closed oomelianchuk closed 4 months ago

oomelianchuk commented 4 months ago

tried to improve catching SERE but it doesn't work for 100%. Also made the search for the element happen only if the element highlight is actually desired (otherwise it makes no sense and only makes tests slowly). Also added a custom warning log in case an element cannot be found, when highlighting is actually turned on (users who didn't know that highlighting was on and don't need it, will get rid of these logs and those who knew, can debug better)