Hey there,
I’m running two macro’s after each other in Kantu all the time by opening an autorun file with: “macro=yyy&storage=xfile”. They work fine. Now when I use the autorun html content as macro, they become random buggy when it’s about opening an url:
Executing: | open | https://zzzzzzzz.yyy.nl:5001/webclient/#/login | |
(Not actual url)
I get the error:
[error][ignored]
open’ failed. No page load event detected after 10 seconds. Error detail: still same ipc secret.
The interesting part is that running the first macro and opening a page (which opens the browser) works, closing the browser, and opening another url also works.
But then then this macro is done, the second macro (which is exactly the same macro atm with a different name) has problems with opening an url. The browser opens, the page is loaded, but kantu does not recognize the page is loaded. Once i reload the page manually, kantu thinks all is oke and continues. If i don’t reload the page manually, I get the error as stated above.
The whole thing doesn’t happen when I don’t use autorun html as macro content, but do call the url of the autorunfile with “macro=yyy&storage=xfile”.
I tried to replicate the bug, this time I could run the two macro’s after each other for two times straight without error. At the third time again it gave me the error message of no page loaded event detected.
So somehow when I use the autorun content it loses the detection to this event sometimes. But when I don’t use the autorun content, but the one of Kantu, it just works all the time…
Can someone help me, is this a bug, or did I missed some other url parameters when I use the autorun html content?
Thanks in advance,
Michiel
edit:
I wrote an onError, in case something happens like the open command doesn’t work, it closes all tabs, and tries the macro again. Then the open command works.