FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

WebDriver.get() navigation does not ensure WebDriver.switchTo().defaultContent() with Chrome 44 #1124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ChromeDriver (latest version)  with Chrome m44 - which is currently in beta 
channel - fails the following test (pseudo code):

driver.get(page1 which has <iframe src=page2> on it)
assert(we are on page1)
driver.switchTo().frame(page2)
assert(we are on page2)
driver.get(page1 which has <iframe src=page2> on it) // Again.
assert(we are on page1) // This fails: we are still on page2.

Above test FAILS with Chrome 44 beta Windows and Linux (Android, iOS, OSX - not 
tested)
Above test PASSES with Chrome 43 and earlier versions (Windows, Linux, Android).

I am adding a test to the selenium test suite right now. Will add a link to it 
shortly.

Original issue reported on code.google.com by vlotoshn...@gmail.com on 11 Jun 2015 at 7:29

GoogleCodeExporter commented 9 years ago
Chrome build tested, specifically: 44.0.2403.9

Original comment by vlotoshn...@gmail.com on 11 Jun 2015 at 7:44

GoogleCodeExporter commented 9 years ago
This looks like a duplicate of 1106, and I've got a fix for this in 
crrev.com/1157763003

Original comment by samu...@chromium.org on 11 Jun 2015 at 7:17