18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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
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>
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
Use:
click(_link(0, _in(_div("selectedMembers"))));
Regards
Sumitra