I have a case, suppose there are 5 validations in the first scenario and if 2nd validation fails then the remaining 3 validations are skipped.
In order to avoid this, I want to put each validation in a different Scenario so that all validations are verified. But I have observed that after each scenario the browser is getting closed.
Is there any way by which I can keep the browser instance open after the Scenario executes?
My verifications are 1st verification checks all buttons and 2nd checks all links on the page. In case if any of the buttons are not matching then the link verification is skipped.
* match actualButton contains only expectedButton
* match actualLink contains only expectedLink