switch seamlessly between page-object methods when testing your web app in different contexts