Hi
Today i found the cause, when macro have a notification bringbrowsertoforeground
do not work, if i remove the notification working
Macro code do not work
{
"Name": "AAA",
"CreationDate": "2021-11-13",
"Commands": [
{
"Command": "echo",
"Target": "Warning You Need To Have Folder In Front",
"Value": "#shownotification",
"Description": ""
},
{
"Command": "store",
"Target": "true",
"Value": "!ERRORIGNORE",
"Description": ""
},
{
"Command": "store",
"Target": "true",
"Value": "!STATUSOK",
"Description": ""
},
{
"Command": "store",
"Target": "FAST",
"Value": "!REPLAYSPEED",
"Description": ""
},
{
"Command": "store",
"Target": "300",
"Value": "!TIMEOUT_PAGELOAD",
"Description": ""
},
{
"Command": "store",
"Target": "5",
"Value": "!TIMEOUT_WAIT",
"Description": ""
},
{
"Command": "store",
"Target": "0",
"Value": "!TIMEOUT_MACRO",
"Description": ""
},
{
"Command": "store",
"Target": "300",
"Value": "!TIMEOUT_DOWNLOAD",
"Description": ""
},
{
"Command": "comment",
"Target": "Start Desktop Automation",
"Value": "",
"Description": ""
},
{
"Command": "bringIDEandBrowserToBackground",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_CTRL+KEY_F}",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "My Name To Search",
"Value": "",
"Description": ""
},
{
"Command": "bringBrowserToForeground",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
}
]
}
Macro code that works
{
“Name”: “AAA”,
“CreationDate”: “2021-11-13”,
“Commands”: [
{
“Command”: “comment”,
“Target”: “echo // Warning You Need To Have Folder In Front”,
“Value”: “#shownotification”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!ERRORIGNORE”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!STATUSOK”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “FAST”,
“Value”: “!REPLAYSPEED”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “300”,
“Value”: “!TIMEOUT_PAGELOAD”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “5”,
“Value”: “!TIMEOUT_WAIT”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “0”,
“Value”: “!TIMEOUT_MACRO”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “300”,
“Value”: “!TIMEOUT_DOWNLOAD”,
“Description”: “”
},
{
“Command”: “comment”,
“Target”: “Start Desktop Automation”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “bringIDEandBrowserToBackground”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “2000”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_F}”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “My Name To Search”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “5000”,
“Value”: “”,
“Description”: “”
}
]
}
The only difference is the notification.
Tested on firefox 94.
Thanks