How do I use selenium with docker-compose

159 Views Asked by At

I just want to open the driver with selenium-docker, but for some reason I can't connect to the host

My repository:

https://github.com/ribeirosaimon/selenium_teste

<< I need to wait Browser, Thx! >>

1

There are 1 best solutions below

1
On

Your chrome node is attached to different network that other services. Remove any mentioning of networks from your docker-compose.yaml.

Docker-compose creates temporary bridge network by default for the services which are started from one file.