LoginPage class we created:
Web platform by using an if condition because the Web application user flow differs with Mobile app flow.
:::tip
Here we are using getSession ().getPlatformType () to get the platform name of the application running in the current session.
:::