Kantu is not connected to a browser tab


#1

I am receiving this error when I do not include an Open command and target URL. When I attempt to target an existing window or open tab, I receive the error:

Error #101: Kantu is not connected to a browser tab

Is it possible to not hard bake a URL into the open command target?

This works:
{
“Name”: “P3”,
“CreationDate”: “2019-1-4”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://urlexample.com/page”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “id=text-add”,
“Value”: “”
},

This does not work and receive the above error:
{
“Name”: “P3”,
“CreationDate”: “2019-1-4”,
“Commands”: [
{
“Command”: “selectWindow”,
“Target”: “tab=0”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “id=text-add”,
“Value”: “”
},


#2

I assume when you start the macro an empty browser tab is open. Kantu - or any other chrome extension - can not work on this special page. The only thing kantu can do there is to load a website. That is why your first macro works, but the second works.

newtab

If you have a normal website open, the second macro will work fine, too. So if you use

selectWindow | TAB=OPEN | https://newwebsiteURL.com

then the 2nd macro works on the empty home page, too.


#3

I am starting the macro on a specific page/URL. It is not blank.

I am trying to use the same macro regardless of the URL I am on.


#4

Can you attach a screenshot or even screencast?

Macros without OPEN usually work just fine. They run on the current, active tab then. We use many of them.


#5

I was expecting it to work this way too. Here is a screenshot. I cannot record a screencast, but the error is visible at the first command.


#6

Strange… => Does the same happen “only” with this website or also if you have another website open? E. g. https://forum.a9t9.com/ ?


#7

This is exactly the same issue I keep getting (sorry to hijack thread)