I have an HTML element:
<iframe marginheight=0 marginwidth=0 frameborder=0 height=100 width=400 src="/website/authorisation.jsp?a=f556">
</iframe>
I want to retrieve the code src of the element. How does one do that please? I have been looking around and the only answer I see is to tokenize the element but there is no mention of how you use the tokenizer.
If you are using the latest watir-webdriver gem and you open HTML page that contains only
you can get the value of
srcattribute withIt will return
"file:///website/authorisation.jsp?a=f556".