Examples from SeleniumWebDriver repository adopting Page Object Model
Go to file
Ramon Caballero 95e8debdda Update README.md 2024-07-27 15:55:32 +01:00
src Implement BasePage with functionality common to all pages 2024-07-27 15:47:27 +01:00
.gitignore Several examples demonstrating some features of Selenium WebDriver using Java 2024-07-27 08:52:52 +01:00
README.md Update README.md 2024-07-27 15:55:32 +01:00

README.md

Page Object Model

Examples from Selenium WebDriver adopting Page Object Model.

Each test class has its own main method, so they are meant to be executed individually to showcase different Selenium features.

Run on Eclipse

  1. Package Explorer
  2. Browse to src/tests package.
  3. Select the .java file that you want to run.
  4. Contextual menu > Run As > Java Application

Notes

  • GettingStartedTests.java needs to be run with -ea or -enableasserts as arguments.
  • InputsWithUIDialogsTests.java needs the name of a valid file in your system.