I am testing a mobile website in IOS through appium automation. In login scenario, I am trying to login through google login or facebook login, but I am unable to click on those button. I have tried with different xpath, but it is not working.
Hi Yashi, Welcome.
I assume you are trying to automate a Safari browser, or an embedded browser? I’m a bit new to the iOS and Appium side myself, but without a screenshot or a actual xpath query, not able to help much.
I am using Python too, but most of us will be using Java, any code sample will do though. Please do not be afraid to share a screenshot, but be aware we cannot guarantee it will not give away any secrets. This needs to be a place we can ask questions about stuff in beta sometimes, we know it’s hard.
Does clicking other buttons work? => Can you try clicking on a button on a different app?
You mention you “have tried with different xpath” => What do you mean with " different xpath" ?
Do you have an example of a public app where your issue also appears?
EDIT: What is the specific error that you are getting?