Skip to content

Multiple Multiremote sessions in parallel #5445

@ghost

Description

Is your feature request related to a problem? Please describe.
I am running integration tests for WebRTC application where two participants are needed. The Multiremote feature is perfect for this but the biggest issue is parallelisation. I cannot run more than 2 browsers at a time if I am running one test. I want to run different combinations of browsers at the same.

Current capabilities:

capabilities: {
  browser1: { capabilities: { browserName: 'chrome'} },
  browser2: { capabilities: { browserName: 'firefox'} }
}

Will run in two browsers.

Describe the solution you'd like
Just like it's possible to pass array of capabilities in single-remote case, I would like to pass array of multi-remote capabilities like so:

capabilities: [
  {
    browser1: { browserName: 'chrome' },
    browser2: { browserName: 'firefox' },
  },
  {
    browser1: { browserName: 'safari' },
    browser2: { browserName: 'edge' },
  }.
  {
    browser1: { browserName: 'ie' },
    browser2: { browserName: 'opera' },
  }
]

In this case total of 6 browsers would be launched.

Describe alternatives you've considered
My current solution is to run everything in sequence which is highly inefficient taken that I have browsers in cloud waiting to be utilised.

I see that this have been asked in 2016 but the thread got sidetracked very quickly and didn't lead to any relevant answers - #1695

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancementhelp wantedIssues that are free to take by anyone interested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions