While testing by Appium (using Python), it clicks on some buttons with a very long delay on some views in my Android app.
The method I am using:
def click_element(self, element, time=wait_time):
WebDriverWait(self.driver, time).until(
EC.presence_of_element_located(element)
)
WebDriverWait(self.driver, time).until(
EC.element_to_be_clickable(element)
)
self.driver.find_element(*element).click()
Does anyone have any idea?
Source: Read More