Ask questions on how to capture or convert web pages or HTML into images, CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.
Apologies as I am not an experienced coder yet.
I am using the Python API to render web pages to HTML.
I need to click on an Accept button.
The code in the web page is <button id="onetrust-accept-btn-handler">Accept</button>
The option to click the button should be this? options.clickElement = "#onetrust-accept-btn-handler"
I believe I am missing something.
I would appreciate any guidance!
Yes, that's correct you may need a delay to view the effects of the click.