'Python Selenium: Unable to find xpath to click on element within iframe

I'm using this code but the can't get it to work with the xpath:

browser = webdriver.Chrome(chrome_path)
browser.get("https://planetradio.co.uk/cool-fm")
time.sleep(5)
browser.find_element_by_xpath('//*[@id="notice"]/div[4]/button[2]').click()


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source