-
Task
-
Resolution: Fixed
-
Neutral
-
None
Currently assertExists contract is vague and slightly inconvenient (void return type, throws Selenium exception)
- we foresee evolving the PageObject interface by replacing or complementing #assertExists with and #exists method (facilitates assertions too)
- should return boolean and/or Optional<WebElement> (if the latter, must be package-private not to expose Selenium API)
- PageObjects provider facility should be able to perform additional visibility checks when instantiating POs, so that all individual POs don't have to write custom checks.
Acceptance criteria