Closed emaks closed 6 years ago
I don't think bringing checks into objects itself is a good idea. There are existing webdriver matchers in nearby repo as well as provided by selenium. The good part about matchers is that you can combine, decorate and do whole bunch of fun staff with them.
What do you think about possibility to add new functions like
assertVisible(), assertExist(), waitForVisible(), waitForActive()
etc to TypifiedElement.class. If it's good idea I can make pull request