Skip to content

Commit 91daa27

Browse files
committed
[grid] Passing language env var to child containers
Closes #11629
1 parent 4aee416 commit 91daa27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/src/org/openqa/selenium/grid/node/docker/DockerSessionFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ private Map<String, String> getBrowserContainerEnvVars(Capabilities sessionReque
314314
// Passing env vars set to the child container
315315
Map<String, String> seEnvVars = System.getenv();
316316
seEnvVars.entrySet().stream()
317-
.filter(entry -> entry.getKey().startsWith("SE_"))
317+
.filter(entry -> entry.getKey().startsWith("SE_") ||
318+
entry.getKey().equalsIgnoreCase("LANGUAGE"))
318319
.forEach(entry -> envVars.put(entry.getKey(), entry.getValue()));
319320
return envVars;
320321
}

0 commit comments

Comments
 (0)