title: How do i refer to this element with Selenium (python)?
body: <p>So i'm trying to automate this simple thing, where i want to click on a image.
  Here is HTML:</p>
  
  <pre><code>&lt;div class="guild-inner" draggable="false" style="border-radius: 15px;"&gt;
  &lt;a draggable="false" class="avatar-small" href="/channels/223259649967652887/381675339702599690" style="background-image: url(&amp;quot;https://cdn.discordapp.com/icons/223259649967652887/2be8d9ec8759056fabe8caa306c632c8.png&amp;quot;);"&gt;
  &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>def find_tc():
  driver.find_element_by_xpath('//a[@href="/channels/223259649967652887/381675339702599690"]').click()
  wait(5)
  </code></pre>
  
  <p>Here is the error:</p>
  
  <pre><code>selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//a[href="/channels/223259649967652887/381675339702599690"]"}
  </code></pre>
  
  <p>I have to refer this by href because that is the only thing that is unique. All the images are dynamically defined so i also can't refer to the image by on which number it is.Thanks in advance! (new to selenium)</p>