18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How to opreate a web element in a iframe

JequilJequil Members
edited November -1 in Sahi - Open Source
Hi Team,

Below iframe is in a web page, how can I do if I want to click the link <a> near the "Peng, Joyce" in the frame?


<iframe id="member_admin" class="memberIframe" src="/collaboration-portlet/jsp/members.jsp">
<html>
<head>
</head>
<body>
<form>
<div id="selectedMembers">
<nobr>
<a javascript:deleteMember('member_admin', 'BAYLORXI')>
</a>
Peng, Joyce
</nobr>
<nobr>
<a javascript:deleteMember('member_admin', 'BAYLORADMIN')>
</a>
Scott, Norman
</nobr>
</div>

<form>
</body>
</html>
</iframe>

Comments

  • Hi Jequil,

    Use:

    click(_link(0, _in(_div("selectedMembers"))));

    Regards
    Sumitra
Sign In or Register to comment.