assert abd verify code example

Example 1: what is verify in selenium

Verify: In simple words, there won’t be any halt in the test execution
even though the verify condition is true or false.

Example 2: assert vs verify

Assert: In simple words, if the assert condition is true then the
program control will execute the next test step but if the condition is
false, the execution will stop and further test step will not be executed.
Verify: In simple words, there won’t be any halt in the test execution
even though the verify condition is true or false.

Tags:

Misc Example