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