Closed oomelianchuk closed 3 years ago
Please see the comments. Furthermore the tests (testSafe...) are not stable within the range on my system. Please run them often and check if you can reproduce this and stabilize the tests.
I ran the tests multiple times and haven't seen any failure. Could you please show the error message you received, so we can try to guess what was the reason?
In some of our projects, we have seen SERE being thrown while retrieving the actual display status of the element. In this case, the exception doesn't contain SERE as a cause but only mentions it in the error message.
The changes are meant to catch such exceptions too. This PR also contains changes for
SelenideAddonsTest.testSafeSupplier
, which are meant to test the new$safe
method behavior.