Quality is delighting customers
There are two mechanisms for validating elements that are available on the application under test.
The first is assert: this allows the test to check if the element is on the page. If itis not available, then the test will stop on the step that failed.
The second is verify: this also allows the test to check whether the element is on the page, but if it isn't, then the test will carry on executing.
Thanks & Regards,