Thanks Jort for sharing your script. I use the script for placing a marktplaats advertisement, and works well except for the fact that I need to manually press the "Accepteer"button on the cookie page.
I tried to change the cookie_button_xpath = '//*[@id="gdpr-consent-banner-accept-button"]' to an absolute xpath of "/html/body/div/div[2]/div[4]/div[2]/button" without any success.
Could you please help in fixing the Accept cookies button press?