Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Karthik619's avatar

Chrome Browser is crashed when execute test through Docker Machine on Laraval Dusk Automation

Dusk Version: 2.1.8 Laravel Version: 8.58.0 PHP Version: 8.0.10

Steps To Reproduce: Execute the test script by PHP artisan dusk tests/Browser/Login.php Actual Result: Chrome Failed to start : Crash message is displayed (Attached Screenshot)

Expected Result: It should allow to open Chrome Browser

0 likes
4 replies
Tray2's avatar

Are you running the test on the docker image or are you running it from your local pc?

If you are running it in the docker image you need to have chrome installed there and you probably need to install X on it as well (assuming you are using a linux image).

Karthik619's avatar

Can you help me how to install Chrome on Docker Container ?

Please or to participate in this conversation.