# iFrame selection failing

**URL:** <https://forum.robotframework.org/t/iframe-selection-failing/6847>\
**Category:** Robot Framework\
**Created:** [14 February 2024 15:40 UTC](https://forum.robotframework.org/t/iframe-selection-failing/6847 "2024-02-14T15:40:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![STBN03](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@STBN03](https://forum.robotframework.org/u/STBN03)\
**Post date:** [14 February 2024 16:16 UTC](https://forum.robotframework.org/t/iframe-selection-failing/6847/3 "2024-02-14T16:16:29Z")

</div>

Hi Dave,

Thanks for quick response.

for your first question Robot Framework 5.0 (Python 3.9.6 on win32) (Hope this is what you are asking)  
Selenium Version 4.1.3

\<\<\<"body onload=“javascript:onLoad()” onunload=“javascript:closeSession()” onresize=“javascript:onResize()” id=“home” class=“yui-skin-sam”\>\>\>  
\<\<\<"div id=“mainContainer” style=“height: 788px;”\>\>\>  
\<\<\<iframe name=“contentFrame” id=“contentFrame” ‘There are locators like source and border details o the frame’\>\>

I’ve used the code  
Select Frame //\*[@name=“contentFrame”]  
${bln\_ElmAvailable}= Run Keyword And Return Status Element Should Be Visible ${elm\_ElementOnFrame}

It is always returning False

Will this info help

---

_[View the full topic](https://forum.robotframework.org/t/iframe-selection-failing/6847)._
