senzacionale
senzacionale

Reputation: 20906

howto run together multiple instance of selenium browser

Is it possible to run together multiple instance of selenium browsers and each one will work for themselve which will increase speed?

i can run one like:

ISelenium selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://localhost/");
selenium.Start();

but how to open more of them and open page inside each one?

Upvotes: 8

Views: 1615

Answers (2)

boj
boj

Reputation: 11395

Check Selenium Grid:

(..) Stop waiting hours to get the results of your web acceptance builds! Selenium Grid transparently distribute your tests on multiple machines so that you can run your tests in parallel, (..) this will dramatically speeds up in-browser web testing

Getting started it's very easy (http://selenium-grid.seleniumhq.org/get_started.html) and demo site is present too.

Upvotes: 1

Roman Asanov
Roman Asanov

Reputation: 297

In your case:

ISelenium selenium1 = new DefaultSelenium("localhost", 4444, "*chrome",    "http://localhost/");
selenium1.Start();
selenium1...
ISelenium selenium2 = new DefaultSelenium("localhost", 4444, "*chrome",    "http://localhost/");
selenium2.Start();
selenium2...

Upvotes: 0

Related Questions