I'm trying to to automate clicking on the accept button on the privcy banner on Oracle.com but selenium either cannot find the button or it just does nothing. unfortuntly the banner will always appear so I cannot click it manually for once.
The elemen is only defined by class but not sure what I'm doing wrong
acceptCookies = WebDriverWait(driver, 60).until(EC.presence_of_element_located((By.CLASS_NAME, 'call')))
acceptCookies.click()
also tried
cookies = driver.find_element(By.CLASS_NAME, 'pdynamicbutton')
acceptCookies = cookies.find_element(By,CLASS_NAME, "call")
acceptCookies.click()