Please add the following 2 lines in your Test Case before the line of WebUI.openBrowser()
.
System.setProperty("webdriver.chrome.logfile", "./chromedriver.log");
System.setProperty("webdriver.chrome.verboseLogging", "true");
When you run your test case, a file ./chromedriver.log
will be created.
In the file you will find a line like
[1690769014.572][INFO]: Launching chrome: /Applications/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging --load-extension=/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/extensions/Chrome/Smart Wait --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/var/folders/7m/lm7d6nx51kj0kbtnsskz6r3m0000gn/T/.org.chromium.Chromium.589ONH data:,
This log line will tell you how the ChromeDriver tried (and failed) to launch Chrome browser with exact detail information. If anything wrong occured, the log file might include some information.
Please attach the chromedriver.log file here.