I was looking for how to find XPath in mobile simulator. It was easy to find XPath from Android emulator. But I didn't know how to find from iOS simulator. Stackoverflow pages mentioned that I need add some attribute on…