response.xpath("//*[contains(text(), 'txt goes here')]").getall()
Home » PostsFind element that has particular text in ScrapyMarch 19, 2021 · 1 min · 4 words · Saqib Razzaqresponse.xpath("//*[contains(text(), 'txt goes here')]").getall()