protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Is it possible to have different params per capability?

Open hanssgo opened this issue 12 years ago • 2 comments

i.e.

 multiCapabilities:[{
       'browserName': 'firefox',
       params: {
                  login : user1,
                  password: password
             }
      },
      {'browserName': 'chrome',
       params: {
                  login : user2,
                  password: password
             }
      }
],

hanssgo avatar Apr 24 '14 05:04 hanssgo

Nope. I'd suggest using two different config files for situations where you need something considerably different for different capabilities.

juliemr avatar Apr 24 '14 19:04 juliemr

I had a similar problem and I solved it manually. It would be nice if protractor would allow specifying params per capability.

Here is my solution http://stackoverflow.com/questions/24791368/get-instance-id-when-running-multicapabilities-in-protractor/24792417#24792417

mohsen1 avatar Jul 16 '14 23:07 mohsen1