我有以下代码:
<em class="x-btn-split" unselectable="on" id="ext-gen67"><button type="button" id="ext-gen33" class=" x-btn-text"><div class="mruIcon"></div><span>Cases</span></button>::after</em>
我需要获取:: after的xpath,我无法获取xpath。我附上了图片。
答案 0 :(得分:1)
请试试:
//em/button/following-sibling::text()