o kinds of steps:</p>
<ul>
<li><code>Then the &quot;dashboard&quot; page is displayed</code> - this one checks if current url in browser is the same as the one inside Page Object and changes a value of the <code>currentPage</code> field
to this page object</li>
<li><code>When I visit the &quot;dashboard&quot; page</code> - this one goes to the url specified in Page Object and attaches the Page Object to the <code>currentPage</code> field as above</li>
</ul>
<p>This concept is a very simple and allows you to