title: How to check if a specific button exists in Scrapy?
body: <p>I have a button in web page as </p>
  
  <pre><code> &lt;input class="nextbutton" type="submit" name="B1" value="Next 20&gt;&gt;"&gt;&lt;/input&gt; 
  </code></pre>
  
  <p>Now i want to check if this button exists on the page or not using Xpath selectors so that if it exists i can go to next page and retreive information from there.</p>