Unable to switch to Iframe using Appium 1.3.2 beta

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


Device - Real device(iPhone 5C)

Please let me know if you have any solution for this issue.

Has driver been switched to webview? The correct action sequence is

driver.context(“WEBVIEW”); //WEBVIEW_0, WEBVIEW_1, WEBVIEW + package name if Android

Yes, I am getting the WEBVIEW in runtime using the below code and assigning it to driver in the runtime

           Set<String> contextNames = driver.getContextHandles();
	for (String contextName : contextNames) {
	    if(contextName.contains("WEBVIEW")) //getting either webview_1 or webview_2 



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

Hello SriHari,

I am also facing same issue on iPad safari browser.
did you resolve this issue if yes please provide the solution
Thanks in advance.