Website login bot example

I need real bot example where
i need to check i’m already logged in or not
if not logged in i should login if logged in i should continue with next process in the website

@jse9052 - Most of the websites will have a link to ‘Login’ (if the user is not logged in) or ‘Logout’ (if the user is already logged in) on the page. I would check for the existence of this link to find if the user is already logged in or not.