I am testing a mobile app which doesn't have right set locators in it, so i can use only "resource-id"
from appium.webdriver.common.appiumby import AppiumBy
# Locators
profile_btn = (AppiumBy.ID, 'io.dzain.dzain.uat:id/navItemIV')
profile_btn.click()
When I run this code following error message is displayed AttributeError: 'tuple' object has no attribute 'click'
How can i use the resource-id to handle this problem?