问题
UiPath is closing the main window instead of child window. I have defined a browser variable in the attach browser
activity and passed that browser variable to the Close tab
activity. The main Chrome window is still getting closed.
Also attached is the project xaml file https://drive.google.com/drive/folders/1ykpHvFEc7DkCI7enUAOgExWBN6KHKQo-?usp=sharing
回答1:
In my opinion, It would be alot more easier, if you use send hotkey activity of UI path with "CTRL + w" to close the active tab.
来源:https://stackoverflow.com/questions/62011341/how-to-close-the-child-tab-using-close-tab-activity-in-uipath