# How to open a second browser without closing the first?

**URL:** <https://forum.katalon.com/t/how-to-open-a-second-browser-without-closing-the-first/11407>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [June 7, 2018, 11:59am UTC](https://forum.katalon.com/t/how-to-open-a-second-browser-without-closing-the-first/11407 "2018-06-07T11:59:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Marek\_Melocik](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/marek_melocik/32/371_2.png) [@Marek\_Melocik](https://forum.katalon.com/u/Marek_Melocik)\
**Post date:** [June 7, 2018, 1:08pm UTC](https://forum.katalon.com/t/how-to-open-a-second-browser-without-closing-the-first/11407/2 "2018-06-07T13:08:38Z")

</div>

Hi Kevin,

you can open two WebDrivers manually and switch between them. Drivers are located in Katalon installation folder - configuration\resources\drivers

```auto
System.setProperty("webdriver.chrome.driver","C:\\path\\to\\chromedriver.exe")
System.setProperty("webdriver.gecko.driver", "C:\\path\\to\\geckodriver.exe")
WebDriver chrome = new ChromeDriver()
WebDriver ff = new FirefoxDriver()
// let Katalon know that chrome driver is usedDriverFactory.changeWebDriver(chrome)// Katalon keywords work as usual
WebUI.navigateToUrl("www.chrome.com")// now you can switch to FF driver
DriverFactory.changeWebDriver(ff)
WebUI.navigateToUrl("www.firefox.com")

```

---

_[View the full topic](https://forum.katalon.com/t/how-to-open-a-second-browser-without-closing-the-first/11407)._
