This Video contains how we work with frames in selenium webdriver also designed two various method to switch into frame and identity number of frames are present in the page.
You can download discussed code from given url :
https://github.com/freeautomationlear...