From the course: UiPath: Robotic Process Automation (RPA)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Log in and log out

Log in and log out

- [Instructor] Now that we're successfully opening and closing the browser, even though it's not required for our search, let's figure out how we can log in. The login is going to be contained inside this flowchart along with Open Browser, so we can easily retry in case things fail. So let's double-click to go inside this flowchart. I'm going to rename this Open Browser and Login. And you can see when you hover over it, it says it's a container that enables you to open a browser at a specified URL and execute multiple activities within it. So this is an atomic container that's going to open the browser and allow me to log in as well. So within this sequence, once we log in, we can also check for something on the webpage that indicates that we've logged in. And we can set a boolean variable to true or false if that's there and then use some kind of a conditional to determine whether we need to go back and try the login again if it didn't work. But we're getting ahead of ourselves…

Contents