I need to press the button but cant really figure out how
I tried copying the xpath but get an error
also tried to press the button over the id or class_name but also not worked
If you have an idea please write it in the comments. Thanks
Tried so far:
driver.find_element_by_xpath("//button[@class='action-button']").click()
driver.find_element_by_class_name("action-button").click()
driver.find_element_by_xpath("[@id='clearBrowsingDataConfirm']").click()
driver.find_element_by_id('[@id="clearBrowsingDataConfirm"]').click()