Tag: xpath

[ANSWERED] html – Get this simple xpath

Solution 1 : I was able to achieve this using parent nad following-sibling… I was struggling because I was using something like forward-sibling //*[@id="tab_contrato"]/div/table/tbody/tr/td[2]/label[@class="hint"][not(contains(@data-hint, "CARTÃO RMC"))]//parent::td/following-sibling::td[1] Solution 2 : A…

[ANSWERED] html – How to xpath text() greater than number 1?

Solution 1 : Assuming you have the following HTML : <div class="ContentFooter ReadingContentFooter AnswerFooter" id="__w2_wFc2PGId125_content_footer"> <span>1.6k views</span> <span>1 view</span> <span>2 views</span> <span class="bullet"> · </span> <a class="VoterListModalLink" href="#" id="__w2_wFc2PGId130_modal_link">View 5…