Unable to switch into the iFrame part while automating the RWD web app in mobile safari.
i have used driver.switchTo().frame(driver.findElement(By.id(“FrameID”)));
and i am getting the console as follows
Exception in thread “main” org.openqa.selenium.WebDriverException: ‘undefined’ is not an object (evaluating ‘c.K.getElementById’) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20.12 seconds
Please let me if any of you have solutions for this issue?