I am using java with WebDriver.I have to switch between two frames. I have recorded the test case in selenium IDE and in that I got the values as selectFrame relative=top se
You can also use:
driver.switch_to.frame(0)
(0) being the first iframe on the html.
(0)
to switch back to the default content:
driver.switch_to.default_content()