ericmckean / chromedriver

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

Unable to switch to parent frame #964

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
switchToParentFrame is giving an error

Expected behavior:
https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#widl-WebDriver
-switchToParentFrame-void

Actual Behavior:
Selenium::WebDriver::Error::WebDriverError
unexpected response, code=404, content-type="text/plain" unknown command: 
session/d51ebb31599d2f9de82649b48382e733/frame/parent

Reproduce:

driver.switch_to.frame('frame_id')
expecte {driver.switch_to.parent_frame}.to_not raise_error

HTML:
<body>
    <iframe src="iframe_source.html" id="frame_id"></iframe>
</body>

Original issue reported on code.google.com by titusfor...@gmail.com on 30 Oct 2014 at 11:30

GoogleCodeExporter commented 9 years ago
Actually, I'm getting this even without switching to another frame first

Original comment by titusfor...@gmail.com on 30 Oct 2014 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 18 Nov 2014 at 8:45

GoogleCodeExporter commented 9 years ago
This is working for me now. I think I was using an old version of Chromedriver 
when I reported this.

Original comment by titusfor...@gmail.com on 18 Nov 2014 at 8:52

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 18 Nov 2014 at 10:49

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:26