If else question

Noob here, trying to create my first bot, one that checks my email. The catch is that sometimes, the bot will encounter a login screen, and other times, I will already been logged in. I’m imagining an if-else activity that searches for a login button. If it finds one, it should enter my credentials and log in, then click on my inbox. Else, if it doesn’t find a login button, that means I’m already logged in, so it should just skip ahead to click on the inbox. But I don’t see a way to tell my Else statement to “skip ahead”. Where am I going wrong here?
Thanks!

Hy @unipsychologist,

Use the element exists activity to find the login button, if true type credentials and click login, else block leave empty. Simple as that!

Regards

That worked like a charm! Thank you, WBS!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.