私は次のhtmlを持っています:
<span class="stArrow"><span class="stButton_gradient stHBubble" style="display: inline-block;"><span class="stBubble_hcount">4</span></span></span>
htmlagilitypack でテキストを取得するために、xpath を使用しました。
//span[@class='stArrow']//span[@class='stButton_gradient']//span[@class='stBubble_hcount']
しかし、値は取得されません。厳密なテストの結果、xpath に問題がある可能性があることがわかりました。誰かがここで欠点を指摘できますか?