Maven surefire tests with selenium ChromeDriver fail during image build

I am not sure if anyone other than you actually is able to understand what you did or tried and what exactly didn’t work like expected it to be. I am afraid we need way more context information to answer your question.