If this works fine, I think switch_to_homescreen_frame can be moved to Base as switch_to_frame method for any app.