[error] No Tab with id



I’m going through a workflow right now where a pop-up appears, and the user has to press “Allow” in order to login to the page.

The steps in the macro are as follows:

  1. Navigate to the Webpage
  2. Press “Login” button in the middle of the page
  3. Use “selectWindow” to focus on the Pop-up
  4. Enter credentials and press “Allow”

Any subsequent step after the pop-up closes (which then logs in the user), does not work. I receive an error stating:

[error] No tab with id: 1585.

Seems like since the user was previously focusing on pop-up window, it is no longer able to complete any other actions since the window is no longer available.

I tried using “selectWindow” again to focus back in the main window/tab, but that also returns the same error.

Has anyone else ran into this issue and figured a way to get around this in Kantu?



As a test and potential workaround, if you add an Open command after the tab has closed (to reload the main page), or maybe a Refresh, does this fix it?