Close Tab

The Close Tab action closes a Google Chrome or Microsoft Edge (Chromium based) browser window tab.

Tip: We recommend setting the zoom to 100% for Google Chrome and Microsoft Edge when using this action.

Note:  You must install the latest version of the Nintex RPA Chrome Extension to use this action. See Nintex RPA Chrome Extension for instructions on how to install the extension.

Using the Close Tab action, you can close:

  • The tab of your choice located in a browser window.
  • The tab that is currently open in the browser window.

  • The exact tab that you specify (using number of the tab) in the browser window.

  • The last or the first tab in the browser window.

  • The previous or next tab from the tab that is active in the browser window.

For example, you might use the Close Tab action to:

  • Automate closing out multiple tabs in a browser window to keep from cluttering the browser.
  • Closing tabs that you no longer need in the browser window.

Add a Close Tab action to a botflow

This example provides the steps necessary to add a Close Tab action to a botflow. To add a Close Tab action to a botflow:

  1. Drag the Selector tool from the Build Pane Area to add new actions and edit existing actions. and drop it onto the title bar of a Google Chrome or Microsoft Edge browser window to display the Target Preview.
  2. The actions list displays.

  3. Select Close Tab from the Browser actions list.
  4. The Action Builder window for Close Tab displays.

  5. Set the Close Tab action setting.
  6. Select an option from the Tab drop-down list to specify which tab to close in the browser.

  7. If needed, adjust the Rule settings to modify how Nintex Bot finds the application target.
  8. If needed, adjust the Run error task settings and timing settings to fine tune how the action runs.
  9. Optionally, view the action Details settings.
  10. If needed, adjust the Run Switch setting to create the action without running it.
  11. Optionally, add an action note.
  12. Click OK to add the Close Tab action to the botflow.

Close Tab Action field and button descriptions