I can’t get the submit button to click in my web application.
Script -
navigate https://www.my-web-site.com/
waitForComplete
execAndWait document.getElementById(‘onetrust-accept-btn’).click()
waitForComplete
execAndWait document.getElementById(‘page-submit-button’).click()
‘onetrust-accept-btn’ is cookie consent button and it is clicked through. But the ‘page-submit-button’ does not.
IDs are correct. No iFrames.
For context - Chrome browser recorder does not capture the particular button click either.