title: Python ElementClickInterceptedException in Selenium
body: <p>I'm working on a selenium based python automation project. The code automates some regular tasks by connecting to the company's internal webpage url. However, the code occasionally throws the same exception between two button click actions. Could you please help me to figure out what's the point that I miss? Thanks in advance.
  You can find my code snippet and error screenshot here:</p>
  
  <blockquote>
    <p>selenium.common.exceptions.ElementClickInterceptedException: Message:
    element click intercepted: Element ... is not clickable at point (180,
    447). Other element would receive the click: ...</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/AccVU.jpg" rel="nofollow noreferrer">pycharm_error_output_screenshot</a></p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.webdriver.common.by import By
  from selenium.webdriver.chrome.options import Options
  
  timeout = 200
  options = Options()
  options.headless = False
  driver = webdriver.Chrome(options=options)
  driver.implicitly_wait(3)
  wait = WebDriverWait(driver, timeout)
  
  driver.get("https://internal_web_appplication_page_for_company_x")
  
  apply_button_v4 = wait.until(EC.visibility_of_element_located((By.XPATH, "//body//button[2]")))
  apply_button_v4.click()
  both_button = wait.until(EC.element_to_be_clickable((By.XPATH, "// label[3] // span[1]")))
  wait.until_not(EC.element_to_be_clickable((By.CLASS_NAME, "map-mask")))
  wait.until_not(EC.element_to_be_clickable((By.XPATH, "// *[ contains( @ class, 'map-mask')]")))
  both_button.click()
  </code></pre>
  
  <p>The intercepted element is full screen "loading" notification which is visible for a short period of time following any click action.
  Moreover, my code works as expected if i put <strong>time.sleep(5)</strong> before clicking "both_button". </p>