Hi, all,
On the one side, there is a test FrameSwitchingTest.testShouldBeAbleToCarryOnWorkingIfTheFrameIsDeletedFromUnderUs [1] in out test suite that passes in most browsers (except for andriod and opera) [2].
On the other side, there is an issue #2703 [3] that contains a reproduction scenario, and I've cheched it still fails in Chrome:
<code>
import org.openqa.selenium.*
import org.openqa.selenium.firefox.*
import org.openqa.selenium.chrome.*
driver = new ChromeDriver()
tinymcesmileyPopupPluginLink = driver.findElement(By.cssSelector(".mceIcon.mce_emotions"));
tinymcesmileyPopupPluginLink.click()
//switch to iframe popup
tinymcePopupFrame = driver.findElement(By.cssSelector("iframe[id^=\"mce\"]"))
driver.switchTo().frame(tinymcePopupFrame)
tinymcesmileyCoolIcon = driver.findElement(By.cssSelector("a>img[src='img/smiley-cool.gif']"))
tinymcesmileyCoolIcon.click()
//Chrome does a click but click does not RETURN.
driver.switchTo().defaultContent()
</code>
Сonclusion 1: there is a bug in the chromedriver, but it is not general, it appears in some edge cases.
Conclusion 2: chromedriver releases are rare and small issues can stay not fixed for long => you'd better look for a workaround.
Regards,
--
Alexei Barantsev
Software-Testing.Ru
Selenium2.Ru