@@ -520,7 +520,8 @@ there, and when the test completes, the container gets thrown away.
520
520
521
521
This execution mode can be used either in the Standalone or Node roles. The "dynamic"
522
522
execution mode needs to be told what Docker images to use when the containers get started.
523
- Additionally, the Grid needs to know the URI of the Docker daemon.
523
+ Additionally, the Grid needs to know the URI of the Docker daemon. This configuration can
524
+ be placed in a local ` toml ` file.
524
525
525
526
### Configuration example
526
527
@@ -530,14 +531,14 @@ You can save this file locally and name it, for example, `config.toml`.
530
531
# Configs have a mapping between the Docker image to use and the capabilities that need to be matched to
531
532
# start a container with the given image.
532
533
configs = [
533
- " selenium/standalone-firefox:4.9.0-20230421" , " { \ " browserName\ " : \ " firefox\" } " ,
534
- " selenium/standalone-chrome:4.9.0-20230421" , " { \ " browserName\ " : \ " chrome\" } " ,
535
- " selenium/standalone-edge:4.9.0-20230421" , " { \ " browserName\ " : \ " MicrosoftEdge\" } "
536
- ]
534
+ " selenium/standalone-firefox:4.9.0-20230421" , ' { "browserName": "firefox"} ' ,
535
+ " selenium/standalone-chrome:4.9.0-20230421" , ' { "browserName": "chrome"} ' ,
536
+ " selenium/standalone-edge:4.9.0-20230421" , ' { "browserName": "MicrosoftEdge"} '
537
+ ]
537
538
538
539
# URL for connecting to the docker daemon
539
540
# Most simple approach, leave it as http://127.0.0.1:2375, and mount /var/run/docker.sock.
540
- # 127.0.0.1 is used because interally the container uses socat when /var/run/docker.sock is mounted
541
+ # 127.0.0.1 is used because internally the container uses socat when /var/run/docker.sock is mounted
541
542
# If var/run/docker.sock is not mounted:
542
543
# Windows: make sure Docker Desktop exposes the daemon via tcp, and use http://host.docker.internal:2375.
543
544
# macOS: install socat and run the following command, socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock,
0 commit comments