How to run k6 script having browser testing on gitlab actions

How to run k6 scripts on gitlab actions
note : this tests will need an chrome browser installed is there any docker image having k6 and chrome browser

Hi @ahmedmostaffa, welcome to the community forum !

There is an official docker images that have the same tags as a not with browser but with the added -with-browser suffix. For example 0.49.0 does not have a browser, while 0.49.0-with-browser has it.

Same is true for latest - the latest released version or master the latest version from the master branch in github.

You might want to take a look at the documentation on Running browser tests | Grafana k6 documentation as that has more info as well.

Hope this helps you!