Built in

Opens one of the app's tabs from anywhere in the app — "reels", "home", "inbox", "profile", "friends", "search" (a tab, or the button at the top that does the same) — putting away a sheet or stepping back out of a page first, up to twice, and waits for the tab to stop moving. Does nothing on the tab already open, which a tap would reload. Checks the tab opened by what its screen says, and taps once more when it has not.

Inputs45 steps
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, carry on
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop
if it fails, stop