Unable to Select a Button within Email Body

Sorry, I forgot this thread. :blush:

Try this:

String js = '''
var ifr_doc = document.querySelector("msg_body").contentDocument;
var link = ifr_doc.querySelector("table table table table table table tr:nth-child[1]>td a");
link.click();
'''
WebUI.executeJavaScript(js, null)

If you want to follow along with my thinking, the rudiments of the code above are explained here: