Currently there’s a issue with Appium on iOS/Safari, where you’re unable to switch to an IFrame using:
driver.SwitchTo().Frame("siteFrame");
If I try to switch to the IFrame, and then view the page source, I’m given the page source for the parent document. If I then try to find an element within the IFrame, I get a NoSuchElementException. I’ve tried a number of ways, including trying to find the IFrame element via JS, however I haven’t had any luck.
I’m not seeing an issue on Android, so I’m wondering if anyone got a solution that will allow me to find elements within an IFrame on iOS?
If you want any code examples, please let me know!