Middle
Besides locators, what else do you access from the test framework?
sobes.tech AI
Answer from AI
In addition to locators, the test framework often interacts with the following elements:
- Methods for interacting with elements (clicks, text input, navigation).
- Waits for synchronizing tests with the page state.
- Utilities for working with test data and parameterization.
- Logging and reporting test results.
- Hooks (before/after) for environment setup and cleanup.
- Configuration parameters (e.g., URL, timeouts).
For example, in Selenium WebDriver, besides locators, we use methods like click(), sendKeys(), as well as WebDriverWait for waiting for elements.