title: Clicking on svg using selenium python
body: <p>svg icon is clickable.</p>
  
  <pre><code>&lt;div class="some-class"&gt;
      &lt;svg aria-label="Search" class="some-icon" width="24" height="24" fill="#000" viewBox="0 0 24 24"&gt;
          &lt;path d="M9.5,...,5 9.5,5Z"&gt;
          &lt;/path&gt;
      &lt;/svg&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Sample code:</p>
  
  <pre><code>from selenium import webdriver
  
  driver = webdriver.Chrome(CHROME_DRIVER_LOCATION)
  driver.find_element_by_xpath('//*[@id="SearchForm"]/div[1]/span/div[1]/div[2]/svg/path').click()
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="SearchForm"]/div[1]/span/div[1]/div[2]/svg/path"}</p>
  </blockquote>