One Comment

  1. Thank you very much for this post! It helped me realize I am not alone. So, I’m also trying to get Dusk to work in a Docker container. I’m simply using the official php container. When I run Chrome with the –headless option, tests never pass because nothing can be found on the page and the screenshot produced is just blank white like you mentioned. However, if I remove the –headless option and instead run an Xvfb process like “Xvfb -ac :0 -screen 0 1280x1024x16 -nolisten tcp”, then the tests will pass…

Leave a Reply

Your email address will not be published. Required fields are marked *

*