8. Assertions
Assertions Assertion - is a way of verification. We can verify that data exist on the page, url is the one we expect to have, and.... pretty much anything else. WairFor... as a way of assertion Let's start with making sure elements existence on the page. For this purpose, we don't even need to use any extra modules. We can simply use: