PageObjectModel/README.md

18 lines
635 B
Markdown

# Page Object Model
Examples from [Selenium WebDriver](https://gitea.ramoncaballero.dev/mon/SeleniumWebDriver) 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.