How to slow down chromium execution

Hi,

I’m new to codeceptJS and I don’t know how to slow down tests when they run in the browser. I am not interested in using pause(), I’d like to slow down the execution of the test in the browser to get a visual feedback, because at the moment it’s happening way too fast and I can’t see much.

Also, is it possible to have the test spread in the whole window’s width? When I pause() and open the dock, it then takes the whole width, but it does not do it automatically.

Pass the slowMo https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions

1 Like

@dkulakowska CodeceptJS also have an auto delay plugin which you can use, see https://codecept.io/plugins#autodelay

1 Like