I’m trying to compare two pages in mobile app but when i tried using verifyElementExist, and VerifyMatch they didn’t helped me.
My Requirement is when app is opened for the first time it asks for login.
Open app → Login page → Login Successful → Goes to Home Page.
Close and open app multiple times—>Goes to Home page directly.
So, I want to compare the page that exists when app is opened
case 1 : If its login page, Execute login related statements
case 2 : If its some other page it should perform related tasks