1. Switch to a frame by Index.
Here we are switching to index 1. Index refers to the order of frames on the page. This should be used as a last resort, as frame id or names are much more reliable.
driver.SwitchTo().Frame(1);
2. Switch to a frame by Name
driver.SwitchTo().Frame("Name_Of_Fr...