title: python selenium click on button without Id and name
body: <p>I have one button, and I want to click on this button , I do </p>
  
  <pre><code>login_form = driver.find_element_by_xpath("/html/body/div/h1/div[1]").click();
  </code></pre>
  
  <p>my code : </p>
  
  <pre><code>driver = webdriver.Firefox()
  driver.get('http://www.textdet.com/')
  
  e = driver.find_element_by_id("imagefile")                  
  e.send_keys("/home/brm17/Desktop/ProjetFinDetude/image.png")  
  login_form = driver.find_element_by_xpath("/html/body/div/h1/div[1]").click();
  </code></pre>
  
  <p>But I  get: </p>
  
  <blockquote>
    <p>selenium.common.exceptions.NoSuchElementException: Message: Unable to
    locate element: /html/body/div/h1/div[1]</p>
  </blockquote>
  
  <p>how to click on button <code>Download bounding boxes</code> on <code>python</code> by <code>selenium</code>  , the html </p>
  
  <pre><code>&lt;h1 style="position: relative"&gt;&lt;a href="/"&gt;Scene Text Detection Demos&lt;/a&gt;
  
          &lt;div aria-label="..." role="group" class="btn-group" style="position: absolute; bottom: 10px; right: 0px;"&gt;
              &lt;!--&lt;button id="toggle_text_propoals" type="button" class="btn btn-success btn-sm"&gt;Show text proposals&lt;/button&gt;--&gt;
              &lt;a href="download_bboxes/acdb4bb9-8b73-4020-bfe5-737316033e5e" type="button" class="btn btn-success btn-sm"&gt;Download bounding boxes&lt;/a&gt;
          &lt;/div&gt;
  
        &lt;/h1&gt;
  </code></pre>