We automate tests on mobile , everything worked fine with -
selenium version -3.14
Appium python client - .48
appium desktop version - 1.22.3
python - 3.8.5
**self.driver.find_element_by_id(AppiumBy.ID, locator).click()**
But after updating to selenium version to 4.X , the click method is not working.
selenium - 4.12.0
Appium python client - 2.11.1
a = self.driver.find_element(AppiumBy.ID, locator)
** a.click()**
It works if I repeat this step “a.click()” twice like below:
a = self.driver.find_element(AppiumBy.ID, locator)
** a.click()**
** a.click()**
Please let me know what could be the possible issue and is there any alternate way to click on element.