This repository was archived by the owner on Jun 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,8 @@ docker run -d -e SCREEN_WIDTH=1366 -e SCREEN_HEIGHT=768 -e SCREEN_DEPTH=24 -e SC
390390### Grid Url and Session Timeout
391391
392392In some use cases you might need to set the Grid url to the Node, for example if you'd like to access the CDP endpoint. You
393- can do that through the ` SE_NODE_GRID_URL ` environment variable.
393+ can do that through the ` SE_NODE_GRID_URL ` environment variable. Setting this env var is needed if you want to see the live
394+ view while sessions are executing.
394395
395396Grid has a default session timeout of 300 seconds, where the session can be on a stale state until it is killed. You can use
396397` SE_NODE_SESSION_TIMEOUT ` to overwrite that value in seconds.
Original file line number Diff line number Diff line change 11# To execute this docker-compose yml file use `docker-compose -f docker-compose-v3.yml up`
22# Add the `-d` flag at the end for detached execution
3+ # Change "SE_NODE_GRID_URL=http://localhost:4444" to the URL/IP where the Grid is accesible.
34# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3.yml down`
45version : " 3"
56services :
@@ -12,6 +13,7 @@ services:
1213 - SE_EVENT_BUS_HOST=selenium-hub
1314 - SE_EVENT_BUS_PUBLISH_PORT=4442
1415 - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
16+ - SE_NODE_GRID_URL=http://localhost:4444
1517 ports :
1618 - " 6900:5900"
1719
@@ -24,6 +26,7 @@ services:
2426 - SE_EVENT_BUS_HOST=selenium-hub
2527 - SE_EVENT_BUS_PUBLISH_PORT=4442
2628 - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
29+ - SE_NODE_GRID_URL=http://localhost:4444
2730 ports :
2831 - " 6901:5900"
2932
@@ -36,6 +39,7 @@ services:
3639 - SE_EVENT_BUS_HOST=selenium-hub
3740 - SE_EVENT_BUS_PUBLISH_PORT=4442
3841 - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
42+ - SE_NODE_GRID_URL=http://localhost:4444
3943 ports :
4044 - " 6902:5900"
4145
You can’t perform that action at this time.
0 commit comments