我想選擇div
和"bmBidderButtonText"
和"Low"
作爲內部文本,我該怎麼辦?XPath有兩個條件
<div class="bmBidderButtonText"><div class="bmBidderButtonArrow"></div>Low</div>
<div class="bmBidderButtonText"><div class="bmBidderButtonArrow"></div>High</div>
僅僅//div[@class="bmBidderButtonText"]
將選擇兩個div,但是我應該如何包括「低」的內文爲的XPath內的條件?
'...和。='低' – har07
@ william007是您的問題解決? –