RemoteWebDriver based on the returned
Capabilities of the driver.WebElements from their JSON representation.AssertionError when the condition is not met - the same as
JUnit4 and TestNG do.AssertionFailedError when the condition is not met.