PHPUnit Selenium tests fail on Docker localhost and pass using public IP PHPUnit Selenium tests fail on Docker localhost and pass using public IP selenium selenium

PHPUnit Selenium tests fail on Docker localhost and pass using public IP


The problem was in my .env file. The Session Domain was set to the host ip instead of the internal ip adress. By changing it, the website worked like it should.