iPAD ISSUE. I'm trying to switch to first iFrame with Selenium, and it's not working in iPad Virtual Machine.
public void swichToFirstFrame(WebDriver driver){
driver.switchTo().window(driver.getWindowHandle());
}
Is other way to make this switch?
This is working in Windows and Linux.
The Case: I need to switch to iFrame (iFrame1).
- I switch to root iFrame (iFrame0).
- Then switch to the iFrame (iFrame1).
- Selenium throw that did not found iFrame1 but in Windows and Linux this works.