Katalon can't open Safari Browser on Mac

Hi,

I installed Katalon Studio 8.5.3.alpha on my MacBook (Ventura 13.1) and want to execute tests with Safari.

I get the following error:

=============== ROOT CAUSE =====================

Caused by: org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:29315

For trouble shooting, please visit: https://docs.katalon.com/katalon-studio/docs/troubleshooting.html

================================================

01-16-2023 04:31:06 PM Test Cases/1_Call/login

Elapsed time: 21,095s

Test Cases/1_Call/login FAILED.

Reason:

com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)

[…]

I already tried the steps described here: How do you enable/allow safari browser to run test

but it’s still not working.

Hey,

It seems like Katalon cannot access to the link you have entered. Can you double check by calling that url in Chrome / Safari manually? As well, can you please try to run it in Incognito mode?

Hi,

the problem was that I did not have administrator rights.Works fine now.

1 Like

Hi Elly_Tran!

Your tips on checking URLs and using incognito mode were super helpful! I want to add a couple of things that might help others too.
Make sure the WebDriver for Safari is installed and set up right. You can check this by running:
safaridriver --enable

Also, don’t forget to turn on Safari Automation.

  1. Open Safari.
  2. Head over to Preferences > Advanced and tick the box for ‘Show Develop menu in menu bar’.
  3. In that Develop menu, enable ‘Allow Remote Automation’.

If you run into any errors, double-check that you have admin rights to use Katalon Studio since that could mess with WebDriver access.
When I faced a similar issue, I found an article about setting up an environment for test automation. It mentioned that companies using CRM systems, like Andersen, often adopt these methods to streamline their processes. That might be worth checking out for someone.

Hope these tips come in handy!

1 Like

Hi @tahirandreas5,

I am so happy to see that you would love to contribute and help more people. Keep it up :muscle: :smiley: