Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

cannot switch to Iframe with Safari Webdriver #8413

Open
lukeis opened this issue Mar 4, 2016 · 3 comments
Open

cannot switch to Iframe with Safari Webdriver #8413

lukeis opened this issue Mar 4, 2016 · 3 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 8413

Before filing an issue, please read the page at
http://code.google.com/p/selenium/wiki/SeleniumHelp This contains lot of
information about how best to get help, and tells you what we need to know.

Still here? We know that bugs are frustrating and annoying things. We also
know that you've probably spent ages trying to figure out what's wrong. The
more information you give us now, the more likely it is that we'll be able
to help.

What steps will reproduce the problem?
1.use the 'webdriver.switchTo().frame("WinIFrame0")' to switch to an Iframe 
<iframe id="WinIFrame0" scrolling="no" src="about:blank" style="position: absolute;
border: none; width: 100%; height: 100%; background-color: rgb(255, 255, 255);"></iframe>
in the page using Safari webdriver

2.
3.

What is the expected output? What do you see instead?
Expected: can switch to Iframe with ID 'WinIFrame0'
Result: When use Chrome or IE, I can switch to Iframe with ID 'WinIFrame0' with the
method above, but in Safari webdriver I cannot switch to the Iframe, and got exception
that 'NoSuchFrameException: Unable to locate frame with WinIFrame0’ 

I also used the method in  https://groups.google.com/forum/#!topic/webdriver/Wv2gEtln2jc,
'driver.switchTo().frame(driver.findElement(By.id("WinIFrame0")))'

Still cannot find element with id "WinIFrame0".


Selenium version:2.35.0
OS:MAC OS 10.9.5
Browser:Safari 
Browser version:7.0.6


Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!

Reported by windgone9 on 2015-01-21 02:04:19

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by barancev on 2015-03-08 21:15:38

  • Labels added: Browser-Safari, Component-WebDriver

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by jmleyba on 2015-03-09 15:51:15

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 17:47:30

  • Labels added: Restrict-AddIssueComment-Commit

@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant