0

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?

Thanks.

  • 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 '17 at 9:04
  • Sounds like a duplicate of - sqa.stackexchange.com/questions/5431/… – Ramnath Oct 23 '17 at 9:34
0

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.

0

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, privacy policy and cookie policy

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