Closed mohitrathi92 closed 3 years ago
I tried the below command,
DOCKER_IMAGE=markhobson/maven-chrome:jdk-8 docker pull $DOCKER_IMAGE docker run -t -v "$PWD":/usr/src -w /usr/src -v $HOME/.m2:/root/.m2 --network host -e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1480 $DOCKER_IMAGE mvn clean install -DsuiteFile=$testSuite
Hi, setting the screen size using these environment variables seems to be a feature of docker-selenium, which this image doesn't inherit. What is the use-case here?
Thanks for the confirmation.
I tried the below command,
DOCKER_IMAGE=markhobson/maven-chrome:jdk-8 docker pull $DOCKER_IMAGE docker run -t -v "$PWD":/usr/src -w /usr/src -v $HOME/.m2:/root/.m2 --network host -e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1480 $DOCKER_IMAGE mvn clean install -DsuiteFile=$testSuite