I need to run my test case through chrome,Firefox and IE browsers in same time so how can i open two or more browsers using one single instance of Webdiver?


  • 1
    Actually you can not open three browser with one webdriver instance hence we can create single object for browser with capabilities. You can use testNG to run multiple browser at a time
    – Sagar007
    Oct 23, 2017 at 9:04
  • Sounds like a duplicate of - sqa.stackexchange.com/questions/5431/…
    – Janaaaa
    Oct 23, 2017 at 9:34

2 Answers 2


In TestNG using @parameter annotation you can run your test cases in different browsers. In testng.xml File, you have to pass the browser value in the parameter tag which you have specified in the test case.


In case of Protractor, which is almost a webdriver implementation for Angular based website automation, you can open multiple browsers at the same time , using multicapabilities in the conf.js file.

See this for further reference

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.