I use Serenity (Thucydides) + Cucumber to test web application in Chrome browser. I want to verify if some elements exist on the page.
Scenario Outline: Should see six tabs on the page
When I am on MainPage page
Then I should see the following <tab> as tab:
Examples:
| tab |
| Tab_1 |
| Tab_2 |
| Tab_3 |
| Tab_4 |
I successfully verify the first tab, but cannot verify the other tabs as the page reloads after the first iteration. How to stay on the same page? Is it managable in my case?