Standard Chartered Bank interview question

What is the difference between verify and assert commands?

Interview Answer

Anonymous

16 Sept 2019

Assert allows to check whether an element is on the page or not. Verify command will check whether the element is on the page, if it is not then the test will carry on executing.