Hello all. So I am having a bit of an issue when trying to run an exported macro from the command line. I want to preface this post be stating that the exact same macro, when run directly from the “UI.Vision RPA” window, runs as expected. I have Google Chrome open to the tab I want the macro to run in (note I have many tabs open in google chrome), but the issue that I am running into has to do with the fact that the command line opens a new tab in google chrome. Just so you all know ahead of time, I have read the command line documentation pretty extensively, and I did see that there is a depreciated command line argument (continueInLastUsedTab) which explains that the default behavior of the macro is to run in the tab where the last macro ran. This makes sense, as the tab which is opened when the macro is run does automatically close. However, attempting to run an exported macro from the command line results in the “UI.Vision RPA” window which pops up:
Furthermore, when looking at the browser after the macro fails, the tab that the macro was supposed to run on is not the tab that is active in the browser. The tab that is active is the one that is farthest right, which tells me that, when the new tab that the macro creates closes, the browser is making the tab that was next to the closed tab the active tab. I am not sure what is causing this, but any information would be great.