单击机器人框架RIDE中具有跨度的元素

时间:2019-04-20 11:14:15

标签: selenium xpath robotframework

我需要在机器人框架RIDE中单击以下元素:

<span role="img" id="button-1038-btnIconEl" class="x-btn-icon-el  " unselectable="on" style="background-image:url(custom/k/css/images/add.png);">&nbsp;</span>

我正在尝试以下操作:

click element    xpath=//SPAN[@id='button-1038-btnIconEl']/self::SPAN

但是我收到以下错误:

Element span role="img" id="button-1038-btnIconEl" class="x-btn-icon-el  " unselectable="on" style="background-image:url(custom/k/css/images/add.png);">...</span> is not clickable at point (240, 148). Other element would receive the click: <div class="x-mask" style="top: 0px; left: 0px; z-index: 99999;" id="ext-gen1184"></div

你能给我一些建议吗?

先谢谢您

0 个答案:

没有答案