I'm trying to click a log in button with selenium (chrome driver, --headless). The problem is that there is a element in front of the log in button. Is there a way to click the button even if an element is in the way?
My Python script looks something like this:
pirkciau_driver=webdriver.Chrome(crm_path, chrome_options=options)
pirkciau_driver.get(login_url)
elem = pirkciau_driver.find_element_by_id("email")
elem.clear()
elem.send_keys(x['pirkciau']['username'])
elem = pirkciau_driver.find_element_by_id("passwd")
elem.clear()
elem.send_keys(x['pirkciau']['password'])
elem = pirkciau_driver.find_element_by_id("SubmitLogin")
elem.click()