HarshEc
HarshEc

Reputation: 273

Protractor+Typescript : Selenium Grid

How can we configure the selenium grid in protractor?

Do we need to create hub and node like how we do with selenium?

How can we run the "webdriver-manager" as hub/node?

Thanks

Harsh

Upvotes: 0

Views: 562

Answers (1)

Sudharsan Selvaraj
Sudharsan Selvaraj

Reputation: 4832

Try the below configuration,

multiCapabilities: [
 {
   browserName: 'chrome',
   seleniumAddress : "http://remotemachine1:4444/wd/hub"
 },
 {
   browserName: 'firefox',
   seleniumAddress : "http://remotemachine2:4444/wd/hub"
 }
].

Before executing the test you need to start the selenium server using webdriver-manger start on both the remote machines.

Upvotes: 3

Related Questions