# Is it possible to have two browsers with different sessions in one test case?

**URL:** <https://forum.katalon.com/t/is-it-possible-to-have-two-browsers-with-different-sessions-in-one-test-case/11550>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [June 15, 2018, 9:25am UTC](https://forum.katalon.com/t/is-it-possible-to-have-two-browsers-with-different-sessions-in-one-test-case/11550 "2018-06-15T09:25:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [January 17, 2021, 12:59am UTC](https://forum.katalon.com/t/is-it-possible-to-have-two-browsers-with-different-sessions-in-one-test-case/11550/6 "2021-01-17T00:59:07Z")

</div>

> [@How to Test Two Browsers using WebDriver](http://forum.katalon.com/t/how-to-test-two-browsers-using-webdriver/51133):
>
> Hi Russ\_Thomas, I think that @Hariprasad1 was referring to two browsera. Anyway, I have the same problems when I have to switch from one browser to another. Following my script into TestCase: System.setProperty(‘webdriver.chrome.driver’, DriverFactory.getChromeDriverPath()) WebDriver driver1 = new ChromeDriver() WebDriver driver2 = new ChromeDriver() // first browser DriverFactory.changeWebDriver(driver1) WebUI.openBrowser(’’) WebUI.navigateToUrl(‘MY HTTPS A’) //some action // second…

---

_[View the full topic](https://forum.katalon.com/t/is-it-possible-to-have-two-browsers-with-different-sessions-in-one-test-case/11550)._
