I can see that the 'Accept' link/div has an id and I've tried using find_element_by_xpath and selecting the id then attempting to click, but that doesn't work.
I've also tried using ActionChains to navigate to the button and clicking, but that doesn't work either. The error it returns is element is not clickable at point...
Any help would be greatly appreciated.
The trick is to wait for the "Accept" button to become clickable, move to the button and click:
from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC driver = webdriver.Firefox() driver.get("https://www.etfsecurities.com/institutional/uk/en-gb/products.aspx") wait = WebDriverWait(driver, 10) accept = wait.until(EC.element_to_be_clickable((By.ID, "btnPopupAccept"))) actions = ActionChains(driver) actions.move_to_element(accept).click().perform()