[build] Fixed failing tests.
- The correct logic is to first go to an URL and then instantiate the page object for that URL, not the other way arround.