With every new Katalon update, browser launch seems to take longer

I’ll attempt to change my code and see if that makes a difference. I can’t post the code here.

However, the code hasn’t changed since the last version, so I’m not sure why that should make a difference, unless Katalon has changed the way it handles things?

1 Like

by any chance do you have katalon analytics setup? I was having an issue with delay and it seems to have been solved once I removed integration. Just a guess

1 Like

Interesting, I’ll try removing Katalon Analytics integration.

1 Like

Unfortunately, removing Katalon Analytics made no difference.

1 Like

Right!
I tried Katalon Studio under a few different scenarios.

The results are as follows:-

On HP Probook i5 (8th gen) company laptop:
This laptop has Kaspersky Endpoint Software installed by default.

KS launch took several minutes.
Chrome Browser launch took several minutes.
The same is true for my colleague’s laptop, which is exactly the same.
The same is true when I start a new project with a simple 1-line WebUI.openBrowser(‘www.google.com’).
The same is ‘now’ true when installing an earlier version of Katalon Studio (which previously didn’t cause such issues).

On Intel i7 (6th gen) Home PC:
KS Studio launch was quick.
Chrome Browser launched within seconds.

So, given the above information, can someone please help me diagnose this? It might help others too?

This is holding back widespread adoption of KS within our company.

1 Like

Hi,
You can try [TIP] How to help reduce memory consumption in Katalon Studio v6.3.0 and above
Or increase memory Slowness Running Script
Or disable Automatically update webdriver Slowness with Katalon Studio 6.2.2

1 Like

You can let chromedriver.exe to write log into file by :

In the log, you may find something interesting: what was going on when Katalon Studio waited for Chrome browser to launch.

1 Like

That sounds like a good plan, but I did as mentioned in the link and there is no ‘temp’ folder in ‘C:’ and neither is there any log file. Not sure where I find this?

1 Like

Please create the C:\temp folder yourself using Windows Explorer before executing Katalon tests.

1 Like

Hi @Nitinsen.Bhamvani

Does the same problem appear when you’re executing tests with Firefox, or is this distinctively a Chrome problem ?

2 Likes

Hello,
I created a C:\temp folder as suggested, but still did not find any log files there. I even created a blank log file in case that was the problem.

Prior to creating the temp folder, I did as suggested in the following link:-

1 Like

I’ve tested this with Edge browser and that also takes a long time to start up.

1 Like

Can you check the version of Chrome browser and ChromeDriver?

1 Like

For some strange reason, since this afternoon, I’m no longer having the issue described in this post (i.e. slow launch of Chrome when running test)! I’d love to know what could have resolve it?

I’m still not getting any logs in the temp folder, so if this occurs again, I have no way of understanding why?

The version of Chrome is now: 77.0.3865.120.
I’m not sure how to check ChromeDriver version?

1 Like

I guess the chormedirver.exe has been upgraded automatically while you are not aware of. Have a look at the following article, and check if you have “Auto Upgrade WebDriver” option checked ON.

1 Like

In the command line (Windows CMD.exe window), do as follows:

$ cd %KatalonInstalledFolder%\configuration\resources\driver\chromedriver
$ .\chromedriver -v
ChromeDriver 77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442})
1 Like

Actually the version of KS that I am using (6.3.3) no longer has the auto update Webdriver option under Katalon Studio preferences.
I have previously used Tools\Update Webdrivers\Chrome drop-down menu around 3 weeks ago, however.

The Chromedriver version is 77.0.3865.40.

The strange thing is that even the loading time for Katalon Studio is back to normal now. It was taking up to 5 minutes to load. Suddenly after yesterday lunchtime, all working as expected again.

I wonder if it’s something that’s changed within our company? I can’t think how I could get to the bottom of this?

God only knows, :wink:

1 Like

or task manager/windows updates log

1 Like

Could you let me know where the Windows Update Logs are kept and also what do I look out for on the Task Manager. I like knowing why things fail, so that I can have confidence.

1 Like