Select a specific iFrame that has multiple instances of the same name
<p>My problem is I have 3 defined iFrames on the page I am trying to work on.  They are all named the following:</p>

<pre><code>&lt;iframe class="col-51" height="560" src="https://attendee.gototraining.com/embed/886b2/catalog/40xxxx bgColor=ffffff" frameborder="0"&gt;&lt;/iframe&gt;

&lt;iframe class="col-51" height="560" src="https://attendee.gototraining.com/embed/886b2/catalog/37xxxx bgColor=ffffff" frameborder="0"&gt;&lt;/iframe&gt;

&lt;iframe class="col-51" height="560" src="https://attendee.gototraining.com/embed/886b2/catalog/46xxxx bgColor=ffffff" frameborder="0"&gt;&lt;/iframe&gt;
</code></pre>

<p>I have tried to driver.switchTo.frame command but it only sees index 0 which I assume is the first frame listed here.  If I select this first frame I don't get an error at runtime, however I still cannot see any elements inside the frame.  I get "cannot find element" issue.  I cant even select the 2nd or 3rd frame with switchTo using either a located I make or index 1 or 2.</p>

<p>I have also tried making a List involving all tagnames of iframe.  I get back only 1 result.  Again, I see 3 here.  And again, even when I choose the first one I still cannot see any elements inside the frame using conventional means.</p>

<p>What am I missing here?</p>

<p>Also please note I have put x's in for the pathway because of privacy concerns.</p>

<p>Here is a capture of what happens if I choose another index other than 0:</p>

<pre><code>org.openqa.selenium.NoSuchFrameException: Unable to locate frame: 1
Command duration or timeout: 62 milliseconds
Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:03:33'
System info: host: 'DESKTOP-1PV0EPA', ip: '192.168.0.11', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_77'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
</code></pre>