I have a setup of macOS Catalina with an iPad on iPadOS14/safari14. I have also upgraded both safari and safaridriver on the attached mac. Selenium fails to click and send a text to ios safari and does not even return an error at that point. Below is the sample code I am using:
from selenium import webdriver
from selenium.webdriver.common.by import By
IOSBASECAPS = {
'platformName': 'iOS',
'browserName': 'safari'
}
browser = webdriver.Safari(desiredcapabilities=IOSBASECAPS)
browser.implicitlywait(5)
browser.get("example url")
searchinput = browser.findelement(By.XPATH, "//a[contains(text(),'Sign in')]").click()
browser.quit()
This used to work on ios13/safari 13 setup but not anymore. Is there any bug in safaridriver/safari or am I doing something wrong here?