title: Python Selenium click on input tag by data-filter-tag value
body: <p>I am trying to make selenium click on input checkbox but facing different errors. <br/>
  only difference between these checkbox's is data-filter-tag value so I tried this.</p>
  
  <pre><code>driver.find_element_by_css_selector("input[data-filter-tag='am']").click()
  </code></pre>
  
  <p>ERROR</p>
  
  <pre><code>ElementNotVisibleException: Message: element not interactable
  </code></pre>
  
  <p>web page is loaded 100%</p>
  
  <p>HTML CODE : 
      </p>
  
  <pre><code>                            &lt;ul&gt;
  
                              &lt;li class="filter-checkbox active-filter"&gt;
                                  &lt;div class="custom-checkbox" style="background-position: 0px center;"&gt;&lt;input name="ctl00$ctl00$MainContentPlaceHolder$BaseContentPlaceHolder$pmainedge2edge4_0$ctl00$ctl14$rpFilters$ctl01$ctl00" type="checkbox" class="dealer-locator-filter" data-filter-tag="c"&gt;&lt;/div&gt;
                                  &lt;span data-toggle="popover" data-placement="top" data-trigger="hover" data-content="" data-original-title="" title=""&gt;
  
  
  &lt;i class="c-icon hq-icon hq-icon-crown-dealer hq-icon-small " title=""&gt;&lt;/i&gt;Crown dealers
                                  &lt;/span&gt;
                              &lt;/li&gt;
  
                              &lt;li class="filter-checkbox active-filter"&gt;
                                  &lt;div class="custom-checkbox" style="background-position: 0px center;"&gt;&lt;input name="ctl00$ctl00$MainContentPlaceHolder$BaseContentPlaceHolder$pmainedge2edge4_0$ctl00$ctl14$rpFilters$ctl02$ctl00" type="checkbox" class="dealer-locator-filter" data-filter-tag="r"&gt;&lt;/div&gt;
                                  &lt;span data-toggle="popover" data-placement="top" data-trigger="hover" data-content="" data-original-title="" title=""&gt;
  
  
  &lt;i class="c-icon hq-icon hq-icon-reseller hq-icon-small " title=""&gt;&lt;/i&gt;Authorized dealers
                                  &lt;/span&gt;
                              &lt;/li&gt;
  
                              &lt;li class="filter-checkbox active-filter"&gt;
                                  &lt;div class="custom-checkbox" style="background-position: 0px center;"&gt;&lt;input name="ctl00$ctl00$MainContentPlaceHolder$BaseContentPlaceHolder$pmainedge2edge4_0$ctl00$ctl14$rpFilters$ctl03$ctl00" type="checkbox" class="dealer-locator-filter" data-filter-tag="cs"&gt;&lt;/div&gt;
                                  &lt;span data-toggle="popover" data-placement="top" data-trigger="hover" data-content="" data-original-title="" title=""&gt;
  
  
  &lt;i class="c-icon hq-icon hq-icon-servicing-workshop hq-icon-small " title=""&gt;&lt;/i&gt;Has service
                                  &lt;/span&gt;
                              &lt;/li&gt;
  
                              &lt;li class="filter-checkbox active-filter"&gt;
                                  &lt;div class="custom-checkbox" style="background-position: 0px center;"&gt;&lt;input name="ctl00$ctl00$MainContentPlaceHolder$BaseContentPlaceHolder$pmainedge2edge4_0$ctl00$ctl14$rpFilters$ctl04$ctl00" type="checkbox" class="dealer-locator-filter" data-filter-tag="am"&gt;&lt;/div&gt;
                                  &lt;span data-toggle="popover" data-placement="top" data-trigger="hover" data-content="" data-original-title="" title=""&gt;
  
  
  &lt;i class="c-icon hq-icon hq-icon-category-robotic-lawn-mowers hq-icon-small " title=""&gt;&lt;/i&gt;Automower® dealers
                                  &lt;/span&gt;
                              &lt;/li&gt;
  
                              &lt;/ul&gt;
  
                  &lt;/div&gt;
  </code></pre>
  
  <p>Site : <a href="https://www.husqvarna.com/us/" rel="nofollow noreferrer">link</a></p>
  
  <p>Complete code : </p>
  
  <pre><code>from selenium import webdriver
  from time import sleep
  
  driver = webdriver.Chrome('./chromedriver/chromedriver')
  ### website url
  driver.get('https://www.husqvarna.com/us/')
  sleep(6)
  driver.find_element_by_css_selector("input[data-filter-tag='am']").click()
  </code></pre>