Use the runScript() action in your synthetic script with this snippet of JavaScript:
if (document.querySelector('cssLocator')) { document.querySelector('cssLocator').click(); }
Note that 'cssLocator' is the CSS locator for the button, link, etc., that closes the pop-up.
Comments
0 comments
Please sign in to leave a comment.