You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
1.RemoteWebDriver seleniumDriver= new ChromeDriver();
2.seleniumDriver.get("URL");
3.WebElement elementFrame=null;
4.elementFrame = seleniumDriver.findElement(By.xpath("//iframe[@class='ms-dlgFrame']"));
5.seleniumDriver.switchTo().defaultContent();
6.seleniumDriver.switchTo().frame(elementFrame);
7.List<WebElement> ElementList=seleniumDriver.findElements(By.xpath("//input[@value='Save']"));
8. System.out.println(ElementList.size());
What is the expected output? What do you see instead?
Selenium should be able to find input button. I have checked with Internet Explorer
8 and Firefox 3.6, where this code is working fine. But with Chrome driver Selenium
can’t find the element
What version of the product are you using? On what operating system?
Chrome Driver version:chromedriver_win32_13.0.775.0.
OS: XP SP2
Chrome version: 12