title: find_element_by_* commands are deprecated in selenium
body: <p>When starting the function</p>
  <pre><code>def run(driver_path):    
      driver = webdriver.Chrome(executable_path=driver_path)    
      driver.get('https://tproger.ru/quiz/real-programmer/')    
      button = driver.find_element_by_class_name(&quot;quiz_button&quot;)
      button.click()
  run(driver_path)
  </code></pre>
  <p>I'm getting errors like these:</p>
  <pre><code>&lt;ipython-input-27-c5a7960e105f&gt;:6: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
    driver = webdriver.Chrome(executable_path=driver_path)
  &lt;ipython-input-27-c5a7960e105f&gt;:10: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
    button = driver.find_element_by_class_name(&quot;quiz_button&quot;)
  </code></pre>
  <p>... but I can't understand why.</p>
  <p>I'm using webdriver at the latest version for my chrome's version. I don't why I get</p>
  <pre><code>`find_element_by_* commands are deprecated` 
  </code></pre>
  <p>... when it's in the documentation that the command exists.</p>