I have tried using switch_to_displayed_app, but when it got to selecting the wallpaper it couldn't find it, which lead me to believe that it did not select the correct frame.