# Web server app detects katalon chrome client and errors out

**URL:** <https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [January 21, 2021, 9:21pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333 "2021-01-21T21:21:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazyhog](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@crazyhog](https://forum.katalon.com/u/crazyhog)\
**Post date:** [January 21, 2021, 9:21pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/1 "2021-01-21T21:21:18Z")

</div>

Hi all,

I am a newbie to Katalon. I was recently tasked to develop a web testing app that manages user profiles. However when I try to capture the the user work flow using Chrome client, it seems the server is detecting that I am running Chrome under Katalon and it refuses to process my Chrome browser requests (errors out)! How do I run Chrome under Katalon so that the server would process all Chrome request as normal?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 21, 2021, 9:25pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/2 "2021-01-21T21:25:24Z")

</div>

> [@crazyhog](#):
>
> I am a newbie to Katalon.

Katalon Studio or Katalon Recorder?

> [@crazyhog](#):
>
> it seems the server is detecting that I am running Chrome under Katalon and it refuses to process my Chrome browser requests

In the ~4 years I’ve been using Katalon _Studio_ and helping out here on the forum, I’ve never heard of that happening to anyone.

Please respond with MUCH more information. Include screenshots of code, errors and the HTML from the page you are trying to test. [READ THIS](http://forum.katalon.com/t/tip-how-to-help-us-help-you-my-test-is-broken-nothing-works-updated-nov-2019/12919) - it might help.

---

<div class="post-metadata">

**Author:** ![crazyhog](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@crazyhog](https://forum.katalon.com/u/crazyhog)\
**Post date:** [January 23, 2021, 11:50pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/3 "2021-01-23T23:50:22Z")

</div>

Hi Russ,

Thank you very much for getting back to me. I am also sorry for taking so long to get back to you. 2 days ago, there was an emergency that required my attention.

I am using Katalon Studio. I created my test case with the “Record Web” button (see attached image) ![Screenshot 2021-01-23 115506](https://europe1.discourse-cdn.com/katalon/original/2X/d/d250967c66594ab67d7bdb63029edd2a6ffc4373.png) .

I am not at liberty to upload screen shots of my company’s user profile web application. However, you can duplicate the issue on most banking web app and stock brokerage web apps. If you try to capture the login process on, let say etrade, using Katalon Studio with Chrome you wouldn’t be able to. But if you try login using Chrome standalone there is no problem. I’ve tested this on Wells Fargo, Bank of America, Etrade, and Tdameritrade. They all had the same problem.

Thanks,  
James

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 23, 2021, 11:52pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/4 "2021-01-23T23:52:28Z")

</div>

What happens if you try a different browser?

---

<div class="post-metadata">

**Author:** ![crazyhog](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@crazyhog](https://forum.katalon.com/u/crazyhog)\
**Post date:** [January 26, 2021, 5:26pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/5 "2021-01-26T17:26:54Z")

</div>

I got the same result.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 26, 2021, 10:00pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/6 "2021-01-26T22:00:40Z")

</div>

What is the error?

---

<div class="post-metadata">

**Author:** ![crazyhog](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@crazyhog](https://forum.katalon.com/u/crazyhog)\
**Post date:** [January 28, 2021, 8:11am UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/7 "2021-01-28T08:11:15Z")

</div>

There is no error. The web server just detects that I am using Katalon with Chrome and refuses my login request. It just send me back to the login page. But if I just use standalone Chome, I login with no problem.

Why don’t you just try it? Use Katalon Studio with Chrome and try login to etrade, tdameritrade, wellsfargo or bank of ameritrade web site.

---

<div class="post-metadata">

**Author:** ![crazyhog](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@crazyhog](https://forum.katalon.com/u/crazyhog)\
**Post date:** [January 28, 2021, 8:58am UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/8 "2021-01-28T08:58:15Z")

</div>

Just to clarify, I expect the server is detecting that I am running Chrome under Katalon. What I want to know is what is Chrome under Katalon sending to the server that allow the server to detect Katalon? Furthermore, how can I run Katalon with Chrome as if I am running Chrome standalone so that everything works as normal?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [January 28, 2021, 12:38pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/9 "2021-01-28T12:38:53Z")

</div>

Recent versions of Chrome display notification bar at the top of the browser saying “Chrome is being controlled by automated test software”. This means Chrome is aware that it is controlled by automation test software (e.g, Katalon) or not.

Possibly, JavaScript can refer to the state if it wants to. I guess, the JavaScript on the web pages of your Application Under Test refers to the state, and it intentionally informs the server of the status if the Chrome is running under automation software or not.

Some articles on web describe how to switch that status control off. The following article is one of them.

> **["Chrome is being controlled by automated test software" notification](https://help.applitools.com/hc/en-us/articles/360007189411--Chrome-is-being-controlled-by-automated-test-software-notification)**
>
> Recent versions of Chrome display notification bar at the top of the browser saying "Chrome is being controlled by automated test software", as follows: Previously, passing the "d...

How about trying this status control off? You might be able to trick the Etrade and other stirict guys.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [February 15, 2021, 1:29pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/10 "2021-02-15T13:29:08Z")

</div>

A working example:

```auto
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver
import org.openqa.selenium.chrome.ChromeOptions

import com.kms.katalon.core.webui.driver.DriverFactory
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

ChromeOptions options = new ChromeOptions()
options.setExperimentalOption("excludeSwitches", ["enable-automation"].toArray())

System.setProperty("webdriver.chrome.driver", DriverFactory.getChromeDriverPath())
WebDriver driver = new ChromeDriver(options)
DriverFactory.changeWebDriver(driver)
WebUI.navigateToUrl("http://demoaut-mimic.kazurayam.com/")
WebUI.delay(3)
WebUI.closeBrowser()

```

In this case, Chrome will NOT display notification bar saying “Chrome is being controlled by automated test software”.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [February 15, 2021, 1:53pm UTC](https://forum.katalon.com/t/web-server-app-detects-katalon-chrome-client-and-errors-out/51333/11 "2021-02-15T13:53:52Z")

</div>


