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.
d
1 Like
Hi,
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 = 'https://www.sears.com/'
WebUI.openBrowser(gSiteURL)
// like it better when see all the items
WebUI.maximizeWindow()
WebUI.waitForPageLoad(10)
// open second tab and move to it
WebUI.executeJavaScript('window.open();', [])
currentWindow = WebUI.getWindowIndex()
// Go in to new tab TAB2
WebUI.switchToWindowIndex(currentWindow + 1)
WebUI.navigateToUrl('https://www.target.com/')
WebUI.waitForPageLoad(10)
WebUI.delay(5)
// Switch back to main page
WebUI.switchToDefaultContent()
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