Sometimes it would be good to hide some Page Objects that should only used by other Page objects that aggregate some method calls/actions.
One example :
Address form
- One package private page object would define all actions to fill out all form fields
- One public page object that provides a default method that accepts an Address object and uses the package private page object to fill out the form fields
Sometimes it would be good to hide some Page Objects that should only used by other Page objects that aggregate some method calls/actions.
One example :
Address form