title: How do you fix the "element not interactable" exception?
body: <p>I know this has been asked lots of times before but how do you get around the "element not interactable" exception?</p>
  
  <p>I'm new to Selenium so excuse me if I get something wrong.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>button = driver.find_element_by_class_name(u"infoDismiss")
  type(button)
  button.click()
  driver.implicitly_wait(10)
  </code></pre>
  
  <p>Here is the HTML:</p>
  
  <pre><code>&lt;button class="dismiss infoDismiss"&gt;
      &lt;string for="inplay_button_dismiss"&gt;Dismiss&lt;/string&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>And here is the error message:</p>
  
  <pre><code>selenium.common.exceptions.ElementNotInteractableException: Message: 
  </code></pre>
  
  <p>After is says message there is literally nothing.</p>
  
  <p>I have spent lots of time searching the web, not finding anything that solves my issue. I would really appreciate an answer.</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>Edit:</strong> Changed "w" to driver so it is easier to read</p>
  
  <p><strong>Update:</strong> I have just realized that I've found the HTML of the wrong button! The real button HTML is below:</p>
  
  <pre><code>&lt;button class="dismiss"&gt;
      &lt;string for="exit"&gt;Dismiss&lt;/string&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>Also, I've used the answers and comments and edited my code to look like this:</p>
  
  <pre><code>button = driver.find_element_by_css_selector("button.dismiss")
  w.implicitly_wait(10)
  ActionChains(w).move_to_element(button).click(button)
  </code></pre>
  
  <p>And now I get a new error:</p>
  
  <pre><code>selenium.common.exceptions.WebDriverException: Message: Tried to run command without establishing a connection
  </code></pre>
  
  <p>The error happens in line 1: <code>button = driver.find_element_by_css_selector("button.dismiss")</code></p>
  
  <p><strong>Note:</strong> I really appreciate the help that has been given, thanks</p>