Getting script element contents within an IFRAME


Howdy all,
I’m trying to get the contents of a script tag within an IFRAME and haven’t had success after trying a few ways. I am just learning this framework so I hope someone with more experience can chime in with a method I can try.


What result do you get with recording? Or try sourceExtract - this works on the page source code, so it does not care about frames or iframes.


Thank you Ulrich!
As a Kantu newb I didn’t think to try recording and didn’t stumble onto the sourceExtract method either, though I am sure you are right. In the end I accomplished the mission with Python/WebDriver which I am more familiar with. At least someone else may benefit from having the Kantu solution spelled out for them :smiley:
Thank you again sir,