The button was inside an iframe, so I need to find the iframe before the button
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
url = "specific page that needs permission to access"
driver = webdriver.Chrome(executable_path=r'./chromedriver.exe')
driver.get(url)
iframe = driver.find_element_by_xpath("/html/body/div/div/div/iframe")
driver.switch_to.frame(iframe)
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//a[@class='cont-bt-fast buy']"))).click()