Clicking tab once the page loads through katalon command

Before hitting that Ask the Community button, make sure to:

  • Search for similar topics to make sure it hasn’t been asked by another member;
  • Write your topic title as a question (if possible) - this help with search
  • Give as much context as possible (screenshots, videos, links, code blocks, etc.) - this help the community help you
  • Use the katalon-studio tag followed by other appropriate tags for better visibility and searchability.
  • Make sure to remove this pre-filled content before posting. :smiley:


1 Like


Can you please help provide the description and detail about your issue?

As @Elly_Tran states, we will need more information to get exactly what you want, but here is something from another recent post:

gSiteURL = ''

// like it better when see all the items
// open second tab and move to it
WebUI.executeJavaScript(';', [])
currentWindow = WebUI.getWindowIndex()
// Go in to new tab TAB2
WebUI.switchToWindowIndex(currentWindow + 1)

// Switch back to main page

Edit: And you can review this link as well:
How do i open a new tab in the same window? - Product Forums / Katalon Studio - Katalon Community