Search Suggest

Bài đăng

Setup selenum hub/grid on Docker

Download Selenium Hub image

docker pull selenium/hub:latest

Download Selenium Chrome image

docker pull selenium/node-chrome:latest

Create Selenium Grid Docker network

docker network create grid

Create docker container

docker run -d -p 4444:4444 --net grid --shm-size="2g" --name selenium-hub selenium/hub:latest

docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub --shm-size="2g" -e SE_EVENT_BUS_PUBLISH_PORT=4442 -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 selenium/node-chrome:latest

 

Đăng nhận xét