I have a macro that’s designed to run infinitely until it times out, which is kept to a big number (99999999999), which would be few years from now.
I am accessing 2 websites using this macro in infinite while loop. One website is single page (no interaction) and on other web site, I am performing a login and then few more page navigation.
Issue is intermittently it stops running macro and logs show "macro competed in xx seconds). Also, I notice it pauses macro execution, when window is minimized or not on focus. I am running kantu on a remote machine, which is projected on a TV screen. Also noticed, that when this issue happens frequently, next run fails very quickly in few seconds unless I restart browser and run macro again.
Please let me know, if there’s a way to work around with this tool.
Browser: Mozilla Firefox 62.0.3
Kantu version: 3.1.9
OS: red hat enterprise linux server 7.4 (maipo) fedora
Logs from macro execution:
Playing macro Portal_Login_v6 [info] Executing: | store | fast | !replayspeed | [info] Executing: | store | true | !ErrorIgnore | [info] Executing: | open | https://www.google.com | | [error][ignored] lost background heart beat when running command [info] Executing: | while | 1 == 1 | | [error][ignored] lost background heart beat when running command [info] Executing: | | | | [error][ignored] lost background heart beat when running command [info] Macro completed (Runtime 133.82s)