title: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".ui flu~"}
body: <p>This is the code I use:</p>
  <pre class="lang-py prettyprint-override"><code>import requests as r, sys as sus, bs4 as bs, webbrowser as wb
  from selenium import webdriver as wd
  
  dr = wd.Chrome()
  
  b = r.get(&quot;https://uupdump.net/fetchupd.php?arch=amd64&amp;ring=wif&amp;build=latest&quot;).text
  s = bs.BeautifulSoup(b, features=&quot;html.parser&quot;)
  
  if &quot;/selectlang.php?id=&quot; in b:
      l = b.split(&quot;/selectlang.php?id=&quot;)[1].split('&quot;')[0]
      u = f&quot;https://uupdump.net/download.php?id={l}&amp;pack=es-es&amp;edition=professional&quot;
      print(u)
      b = r.get(u).text
      s = bs.BeautifulSoup(b, features=&quot;html.parser&quot;)
      print(s)
      dr.get(u)
      b = dr.find_element_by_class_name('ui fluid right labeled icon primary button')
  </code></pre>
  <p>And this is the error:</p>
  <pre class="lang-py prettyprint-override"><code>uupdump.py:17: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
    b = dr.find_element_by_class_name('ui fluid right labeled icon primary button')
  Traceback (most recent call last):
    File &quot;C:\Users\Aritz\Downloads\thign\uupdump.py&quot;, line 17, in &lt;module&gt;
      b = dr.find_element_by_class_name('ui fluid right labeled icon primary button')
    File &quot;C:\Users\Aritz\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 760, in find_element_by_class_name
      return self.find_element(by=By.CLASS_NAME, value=name)
    File &quot;C:\Users\Aritz\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 1244, in find_element
      return self.execute(Command.FIND_ELEMENT, {
    File &quot;C:\Users\Aritz\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 424, in execute
      self.error_handler.check_response(response)
    File &quot;C:\Users\Aritz\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\remote\errorhandler.py&quot;, line 247, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {&quot;method&quot;:&quot;css selector&quot;,&quot;selector&quot;:&quot;.ui fluid right labeled icon primary button&quot;}
  </code></pre>
  <p>I want to use Selenium to find a button by its class name from <code>uupdump.net</code>, to download the latest version zip file.</p>
  <p>Screenshot:</p>
  <p><img src="https://i.stack.imgur.com/6VqmH.png" alt="[HTML button image]" /></p>