What is assert and types?

What is assert and types?

Assertions ensure that the application’s state matches what we expect. In Selenium t here are three sorts of assertions: “assert,” “verify,” and “waitFor.” The test is aborted when a “assert” fails. When a “verify” fails, the test continues to run while noting the failure.