I tried to follow a number of methods for accessing iframe like selectFrame(“index=1”) method and
selectFrame(“//iframe[@src=’url path’]”). But none of above are letting me access to iframe.
My sample iframe looks like this <iframe src = "" style = ""></iframe>
You can use the SwitchTo() function like so:
Edit
if your wanting to select from a given number of iframes in a page and the only difference is the src then you could use this: