After more testing, it appears that it fails if the element is not found. Here is a video:
{
"Name": "test2",
"CreationDate": "2021-12-20",
"Commands": [
{
"Command": "bringBrowserToForeground",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
},
{
"Command": "selectWindow",
"Target": "tab=open",
"Value": "https://www.google.com/",
"Description": ""
},
{
"Command": "verifyElementPresent",
"Target": "id=um-submit-btn",
"Value": "",
"Description": ""
}
]
}