your code is a little unclear. could you please send a screen shot which link do you want to retract.
Hello,
I have attached the screenshot as asked by you, Couple of clarification also :
1.) Any link present in horoscope section i would be interested to fetch in. Since TOI web is subjeted to change so please take any link inside horoscope section and access.
2.) I know how to take care of Nested Iframes But what if we need to traverse through nth iFrames : Looking for some generic function rather utility function which will simply take element to be searched and List of Iframes and also take care of nested iFrames in list. Your help would be appreciated in this scenario.
Please let me know if i am unclear or not able to explain
1) I am working on TOI.
2) It is explained in module 15. so what is the trouble you are getting.
1.) Thanks, Please let me know once its done. BTW i found some workaround solution which is working fine.
If i am moving to respective element using Actions.moveToElement() and then try to locate element inside frames. it works.
2.) Yes in module 15 explanation is there. But what i a a mean is can we create some generic/utility function which takes
top frame and locator as input and return Element irrespective of any ladder of nesting in frames at any level.
I assume there should be recursive function need to be written for this.
1.) glad to know it.
2.) its not easy to make some thing like that. It would certainly be much easier to different function for different webpage.