I'm working on writing a test automation script for a android app.
I'm using python to write the code and using Appium server to run these tests and using Appium UI inspector to identify elements.
I'm testing on a button for which i got the id from Appium UI inspector but on running the script fails at the point where the code is trying to identify the button.
python script
el_createConfBtn = self.driver.find_element("id", "**.**.app:id/btnSubmit")
error
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
was trying to click on the button. the expectation is Appium identifies the element and then run the code without failing