title: Hidden checkbox into button without id using Selenium in Python
body: <p>I'm going nuts trying to click on a checkbox hidden into a button. The HTML code is the following one:</p>
  <p><a href="https://i.stack.imgur.com/ys5xQ.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>What I'm trying to do is to select the button and check the box with the code</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>driver.find_element_by_xpath('//*[@id="frmBusquedajurisprudencia"]/div[3]/div[1]/div[1]/div/ul/li[1]/a/label/input').click()</code></pre>
  </div>
  </div>
  </p>
  <p>And returns ElementNotInteractableException: Message: element not interactable.</p>
  <p>My hypothesis are, the checkbox is hidden (not in the DOM) so fristly I have to click the button and after doing so clicking the checkbox but I'm not sure how is it done.</p>
  <p>My second hypothesis is that the element of input is not clickable and I rather should focus on the li element as when I check the bpx the class of the li renders &quot;active&quot;.</p>
  <p>All answers will be very much appreciated.</p>