use this code
[quote:2qs8qzca] driver.switchTo().frame(
driver.findElement(By
.xpath("//iframe[@ng-hide='showVerificationScreen']")));
Thread.sleep(10000);//you can use other waits
System.out.println("Switching to the relevant frame");
driver.findElement(By.xpath("//input[@id='input_0']")).sendKeys("+91213212312");
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.close();[/quote:2qs8qzca]