I have one web page which contain login page and home page.
I used web element with xpath to login and redirect to home page. its working fine. But when I’m already logged in and run this automation script its give me error from my login process because its directly redirect me to home page.
I want to check Xpath element is exist on current webpage or not.
Please help me…