# Open new with different URL

**URL:** <https://forum.katalon.com/t/open-new-with-different-url/44053>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [May 31, 2020, 2:08pm UTC](https://forum.katalon.com/t/open-new-with-different-url/44053 "2020-05-31T14:08:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![divya.hari](https://avatars.discourse-cdn.com/v4/letter/d/ecc23a/32.png) [@divya.hari](https://forum.katalon.com/u/divya.hari)\
**Post date:** [May 31, 2020, 2:08pm UTC](https://forum.katalon.com/t/open-new-with-different-url/44053/1 "2020-05-31T14:08:53Z")

</div>

How to open new tab with different URL in katalon?  
Please explain

---

<div class="post-metadata">

**Author:** ![Brandon\_Hein](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/brandon_hein/32/1092_2.png) [@Brandon\_Hein](https://forum.katalon.com/u/Brandon_Hein)\
**Post date:** [June 1, 2020, 3:22pm UTC](https://forum.katalon.com/t/open-new-with-different-url/44053/2 "2020-06-01T15:22:12Z")

</div>

```
WebDriver driver = DriverFactory.getWebDriver()

// opens a new tab
driver.findElement(By.xpath("//body")).sendKeys(Keys.chord(Keys.CONTROL, 't'))

// switch to new tab
WebUI.switchToWindowIndex(1)
```
