When developing multi-platform test framework (e.g. mobile-focused) there can be several ways to use PageObject pattern. For instance, platforms can be separated at least:
- at the level of locators & methods (i.e. 1 element will have several locators)
- at the level of whole pages/screens (i.e. 1 abstract page will have several implementation)
- ... (your suggestion may be here)
How do you think: What's the advantages of each one? Is there the best one to use?