Originally created by Marcin Erdmann.
The message should include as much info about the element for which the check failed as possible (at least the tag name, could also use WebElement.toString() if it's informative and relatively consistent across drivers).
The check should be also done for all elements of the navigator, not just the first one.
Originally created by Marcin Erdmann.
The message should include as much info about the element for which the check failed as possible (at least the tag name, could also use WebElement.toString() if it's informative and relatively consistent across drivers).
The check should be also done for all elements of the navigator, not just the first one.