refactoring page objects for mobile testing on-the-fly