refactor. Iterate over PageObjects but set elements