the iframe that accessing is accurate because i am able to get other
elements.

See below from where the iframe called
<iframe id="iframe_canvas" class="canvas_iframe_util noresize"
scrolling="no" height="600px" frameborder="0" src="javascript:"""
name="xxx" style="height: 1457px; overflow-y: hidden;">

Below are the detailed codes, i wanted to click on the link under <div
id="player_buy_10104751">


<table class="std players playersstats" cellspacing="0"
cellpadding="0">
<tbody>
<tbody id="player_names">
<tr class="">
<td class="p_action" colspan="1">
<span class="btn_playeract btn_playeract_buy">
<div id="player_buy_10000321">
<a onclick="buysell('buy', 10000321, this); return false;"
href="javascript: void(0)">Buy</a>
</div>
</span>
</td>
</tr>
<tr>
<td class="p_action" colspan="1">
<span class="btn_playeract btn_playeract_sell">
<div id="player_buy_10104751">
<a onclick="buysell('sell', 10104751, this); return false;"
href="javascript: void(0)">Buy</a>
</div>
</span>
</td>
</tr>
</tbody>
</table>

The click event that i using that hving problem:
browser.frame(:name, 'xxxx').div(:id,
'player_buy_10104751').link(:text,
'Buy').click

On Sep 29, 7:06 pm, Alister Scott <alister.sc...@gmail.com> wrote:
> please provide the full code including the iframe

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to