I am trying to write code that loops through all the tag elements in a html page and gives the inner text of each tag,
Until now it works if the webpage has only one frame element. But if the webpage has 2 frames the control needs to switch to the new frame and needs to loop through all the tag elements inside that frame.
Currently I'm struck at switching between frames. By using the below line I'm able to get all the frame handlers in the page:
IList<Elements> frameElements= Find.AllByTagName("iframe");
Please help me with code that can switch the control between different frame contexts.