I am writing a test for typical ecommerce application where the billing section is in IFrame. Webdriver couldn’t able to identify the objects inside Iframe
driver.switchTo().frame(“frameid”);
Device - Real device(iPhone 5C)
Please let me know if you have any solution for this issue.
getting below exception
Exception in thread “main” org.openqa.selenium.WebDriverException: ‘undefined’ is not an object (evaluating ‘b.querySelector’) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 62 milliseconds
Build info: version: ‘2.43.1’, revision: ‘5163bce’, time: ‘2014-09-10 16:27:33’
System info: host: ‘N/A’, ip: ‘N/A’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.9.5’, java.version: ‘1.7.0_71’
Session ID: 28cc78cb-c9b9-4097-854d-cf6a28f0dfb5
Driver info: io.appium.java_client.AppiumDriver