selenium-webdriverprotractorgulp-protractor

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


Solution

  • 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.