Katalon scripts running through KRE in low resolution when executing in servers after TeamCity Integration

*Summary
Katalon scripts running through KRE in low resolution when executing in servers after TeamCity Integration

*Steps to reproduce
I have the scripts working fine locally and recently integrated with TeamCity and the scripts are working fine. But when closely monitored, I figured out that the browser resolution is very low (1024x768).
I already have the browser maximized command. The KRE version i am using is 10.0.0 is downloaded automatically in the servers and execution continues.

  1. I need to try Headless mode yet.
  2. Already tried setting the resolution through Katalon command line ( –args --window-size=1920,1080) – doesnt work
  3. WebUI.setViewPortSize(1920, 1080) – already tried this and it doesnt change

*Expected Results
Scripts should execute in high resolution

*Actual Results
Katalon scripts running through KRE in low resolution when executing in servers after TeamCity Integration

*Screenshots / Videos

11:47:38.729 INFO Starting ‘Chrome’ driver
11:47:38.872 INFO Action delay is set to 0 milliseconds
11:47:45.220 PASSED Browser is opened with url: ‘’
11:47:45.565 PASSED Current window maximized
11:47:45.794 PASSED Execute JavaScript ‘return window.innerWidth’ successfully
11:47:45.985 PASSED Execute JavaScript ‘return window.innerHeight’ successfully
11:47:46.021 INFO Current resolution: 1024x629

*Blocker?
Yes


*Katalon Studio version
e.g. version 10.0.0

*Katalon logs

2024-11-13T16:51:29.448301900Z
1731516689448
301900
2663
INFO
com.kms.katalon.core.logging.XmlKeywordLogger
logMessage
1
Current resolution: 1024x629
2
false