You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially services like Browserstack and SauceLabs have limitations on
how many browsers
can be launched at the same time. The new config option `concurrency`
allows to
specify an upper limit of how many browsers are allowed to run at the
same time.
Ref: karma-runner/karma-sauce-launcher#40Closes#1465
Copy file name to clipboardExpand all lines: docs/config/01-configuration-file.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,7 +369,7 @@ Click <a href="preprocessors.html">here</a> for more information.
369
369
**Possible Values:**
370
370
371
371
*`http:`
372
-
*`https:`
372
+
*`https:`
373
373
374
374
**Description:** Protocol used for running the Karma webserver.
375
375
@@ -478,6 +478,14 @@ iFrame and may need a new window to run.
478
478
All of Karma's urls get prefixed with the `urlRoot`. This is helpful when using proxies, as
479
479
sometimes you might want to proxy a url that is already taken by Karma.
480
480
481
+
## concurrency
482
+
**Type:** Number
483
+
484
+
**Default:**`Infinity`
485
+
486
+
**Description:** How many browser Karma launches in parallel.
487
+
488
+
Especially on sevices like SauceLabs and Browserstack it makes sense to only launch a limited amount of browsers at once, and only start more when those have finished. Using this configuration you can sepcify how many browsers should be running at once at any given point in time.
0 commit comments