To undo in UiPath you can use the Go Back Activity, which helps you to go to the previous page on your browser.