title: How can I get link that contains next?
body: <p>I'm trying to get only <strong>a</strong> tag which contains <strong>&quot;next&quot;</strong> and this is what I applied</p>
  <pre><code>response.xpath('//a[text()=&quot;next&quot;]')
  </code></pre>
  <p>But it's returning empty. Here is the details: Please tell me what's wrong I'm doing?</p>
  <pre><code>&lt;div class=&quot;pagination&quot;&gt;
  &lt;a href=&quot;/lists?page=2&quot;&gt;2&lt;/a&gt;
  &lt;a href=&quot;/lists?page=3&quot;&gt;3&lt;/a&gt;
  &lt;a href=&quot;/lists?page=4&quot;&gt;4&lt;/a&gt;
  &lt;a href=&quot;/lists?page=5&quot;&gt;5&lt;/a&gt;
  &lt;a href=&quot;/lists?page=6&quot;&gt;6&lt;/a&gt;
  &lt;a href=&quot;/lists?page=7&quot;&gt;7&lt;/a&gt;
  &lt;a href=&quot;/lists?page=8&quot;&gt;8&lt;/a&gt;
  &lt;a href=&quot;/lists?page=9&quot;&gt;9&lt;/a&gt;...
  &lt;a href=&quot;/lists?page=510&quot;&gt;510&lt;/a&gt;
  &lt;a href=&quot;/lists?page=511&quot;&gt;511&lt;/a&gt;
  &lt;a href=&quot;/lists?page=2&quot;&gt;next &lt;i class=&quot;fa-angle-double-right&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;
  </code></pre>