mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
selenium: change screen to small size
This commit is contained in:
parent
392f947d08
commit
1aefbad7f6
@ -16,6 +16,9 @@ firefox:
|
||||
- hub
|
||||
environment:
|
||||
- JAVA_OPTS=-Xmx768m
|
||||
- SCREEN_WIDTH=1024
|
||||
- SCREEN_HEIGHT=768
|
||||
- SCREEN_DEPTH=16
|
||||
- NODE_MAX_INSTANCES=5
|
||||
- NODE_MAX_SESSION=5
|
||||
restart: always
|
||||
@ -29,6 +32,9 @@ chrome:
|
||||
- hub
|
||||
environment:
|
||||
- JAVA_OPTS=-Xmx768m
|
||||
- SCREEN_WIDTH=1024
|
||||
- SCREEN_HEIGHT=768
|
||||
- SCREEN_DEPTH=16
|
||||
- NODE_MAX_INSTANCES=5
|
||||
- NODE_MAX_SESSION=5
|
||||
restart: always
|
||||
|
@ -1,10 +1,13 @@
|
||||
firefox:
|
||||
image: selenium/node-firefox
|
||||
image: selenium/node-firefox-debug
|
||||
ports:
|
||||
- "5555:5555"
|
||||
- "5900:5900"
|
||||
environment:
|
||||
- JAVA_OPTS=-Xmx512m
|
||||
- SCREEN_WIDTH=1024
|
||||
- SCREEN_HEIGHT=768
|
||||
- SCREEN_DEPTH=16
|
||||
- NODE_MAX_INSTANCES=2
|
||||
- NODE_MAX_SESSION=2
|
||||
- SE_OPTS=-host 5.6.7.8 -port 5555
|
||||
|
@ -5,4 +5,7 @@ firefox:
|
||||
- "5900:5900"
|
||||
environment:
|
||||
- JAVA_OPTS=-Xmx512m
|
||||
- SCREEN_WIDTH=1024
|
||||
- SCREEN_HEIGHT=768
|
||||
- SCREEN_DEPTH=16
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user