I used a webdriver that supported selenium to wait for a specific frame to load. since in some cases switching to a specific frame fails because the frame is not loaded. The code I'm using is
selenium.waitForFrameToLoad(frameJCLeft, strTimeOut); driver.switchTo().defaultContent(); driver.switchTo().frame(frameJCLeft);
Please let me know if there is a method that I plan to exclude from selenium backed webdriver and use only webdriver api
source share