Selenium For Beginners

Selenium

Do not reload the current page during the test execution

Alex Siminiuc's avatar
Alex Siminiuc
Apr 25, 2023
∙ Paid
Share

Let’s look at this test:

@Test
public void canNavigateToOtherPagesTest() {

   HomePage homePage = new HomePage(driver);
   homePage.open();

   Verify.verify(homePage.isDisplayed(), "home page is not displayed!");

   ResultsPage resultsPage = homePage.searchBy(KEYWORD);

   Verify.verify(resultsPage.isDisplayed(), "results page is not displayed!");

  …

Keep reading with a 7-day free trial

Subscribe to Selenium For Beginners to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Alex Siminiuc
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture