The error message suggests that Chrome is unable to start due to the --user-data-dir issue. This often happens when multiple Chrome instances are running or when the directory is already in use.
I would like to suggest that:
1. Explicitly Set a Unique User Data Directory
Modify your args in the yml file to specify a unique --user-data-dir for Chrome.
Add the following option inside your args parameter:
Ensure that webui.autoUpdateDrivers=true is enabled.
4. Manually Install Chrome and ChromeDriver
If the issue persists, add a step to install the latest Google Chrome and ChromeDriver before running tests:
Hi @Elly_Tran - thank you for detailed response, I have tried all proposed solutions, and it is working only with Chrome (headless) mode, but we would really like to avoid that, do you think it is a bug with Katalon?