I have to click on the button Accepter et continuer
in this div
,
I copied the XPATH of the line on which is present the button I want to click, but it does not work
<div class="disclaimer-buttons-place-holder">
<a class="btn btn-reverse" href="WEBSITE" data-event-zone="click" data-event="C" data-event-label="action::disclaimer::exit" data-event-type="A"> Refuser</a>
<a class="btn" id="validateDisclaimer" href="/fr_part" data-event-zone="click" data-event="C" data-event-label="action::disclaimer::validate" data-event-type="A"> ccepter et continuer</a>
</div>
do you know how to click exactly on the Accepter et continuer
button using XPATH?
I tried this :
driver.find_element(By.XPATH, "/html/body/div[1]/div/aside/div[2]/div/div/div[3]/div[2]/a[2]").click()
Thank you so much!