Skip to content

Instantly share code, notes, and snippets.

@ziadoz
Created September 26, 2023 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ziadoz/c97b566f2d992c6e4041b6b496867b6f to your computer and use it in GitHub Desktop.
Save ziadoz/c97b566f2d992c6e4041b6b496867b6f to your computer and use it in GitHub Desktop.
Debugging Dusk/Codeception and ChromeDriver

Start ChromeDriver with logging enabled:

/usr/bin/chromedriver --url-base=/wd/hub --allowed-ips="" --port=9515 --log-level=INFO --log-path=/tmp/chromedriver.log

Run Dusk/Codeception:

php artisan dusk

Copy logs from Docker:

docker-compose cp chrome:/tmp/chromedriver.log chromedriver.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment