Katalon forced an update, now scripts cutting off itself while running

Katalon forced an update on me today, couldn’t log in without installing it. Afterwards, all my scripts are adding this seemingly random amount of whitespace and a scroll bar to the right side of the browser as it runs through steps (in addition to the site that is already displaying). It is effectively cutting off the rest of the web page, and ends up not finding elements such as fields or text because they are completely cut off and no longer displaying.

I’ve been using these scripts for 2-3 years now without any issues. I’ve been trying a few things I’ve found, but nothing is working to correct this issue. Any help is appreciated.

Welcome to Katalon Community, we are on it. Please kindly stay tuned for more updates

Bella

The extra whitespace and element getting cut of usually happens when the viewport calculation or browser scaling change after an automation framework/ browser driver update.

Couple of things you must do is to clear

  1. Katalon cache/ workspace and restart and then
  2. try running the same test on an older browser version.
  3. Try updating the chrome driver in the Katalon UI.
    and even if this doesn’t work then try below JS command

Can you try the below JS
WebUI.execute.JavaScript(‘document.body.style.zoom=“100”’, null)

Smetimes automation accidentally inherits zoom after updates. Even you can check if Katalon wwitched execution mode or update Selenium internally during the upgrade

Forced update likely changed viewport/zoom behavior—set the browser size explicitly and reset zoom.

Fix

  1. Add a fixed viewport in the browser capabilities:
WebUI.setViewPortSize(1920, 1080)
  1. Reset page zoom before running steps:
WebUI.executeJavaScript("document.body.style.zoom='100%'", null)
  1. If the page still shifts, clear the workspace/cache and re-run after restarting Katalon.

Why it happens

When the viewport or scaling changes, the page can gain extra scrollbars and elements move off-screen, so locators that used to work now fail because the elements are no longer in the visible render area.

Extra check

If you run on a browser version that changed with the update, test once with an older Chrome/driver combination to confirm whether the issue is an environment regression rather than an AUT change

hi @rjltsg

you can try this, set an explicit viewport at the start of your test and reset the browser zoom:

WebUI.setViewPortSize(1920, 1080)
WebUI.executeJavaScript("document.body.style.zoom='100%'", null)

if that alone does not fix it,
try to clear your Katalon workspace cache (delete the .cache folder in your project directory and the configuration folder in the Katalon install) then restart

the update likely also swapped your Chrome driver version, so check in Project Settings > Execution > Default that the driver matches your actual Chrome version, or try pointing to an older driver to confirm it is an environment regression

Hi @rjltsg

Thanks for the detailed report, and apologies for the disruption to scripts that have been stable for years. This is exactly the kind of regression we want to get to the bottom of quickly.

Big thanks to @arvind.choudhary and @dineshh for jumping in with workarounds — those are solid first steps and align with what we’re seeing internally point toward a viewport/zoom shift introduced alongside the bundled browser-driver update.

Immediate workaround to try (in this order):

  1. In Katalon Studio, go to Project → Settings → Execution → Default Browser Window Size and set a fixed resolution (e.g., 1920×1080), or add WebUI.setViewPortSize(1920,1080) at the start of your test case.

  2. Reset zoom right after openBrowser: WebUI.executeJavaScript("document.body.style.zoom='100%'", null)

  3. Close Katalon, clear the workspace cache (<workspace>/.metadata and bin/ inside your project), then relaunch.

  4. In Tools → Update WebDrivers, confirm ChromeDriver matches your installed Chrome major version.

To help us investigate, could you please share:

  • Katalon Studio version (before the forced update, if you remember, and after) - found in the Start Page

  • A short snippet from the execution log showing the failing step and a screenshot of the rendered browser with the extra whitespace

We’re tracking this thread and will post back here as soon as we have a confirmed root cause or a hotfix.

Thanks for your patience and we’ll keep you posted.

look like a bug in KSE

I updated and its work fine at my end.

Lots of good solutions here. I ended up being able to revert to and use my previous version of Katalon (8.6.9), without having to fix anything. I am going to continue on that for now until I get some more free time to revisit this and implement these fixes.

Thank you.

take your time. but try on latest version and see if issue still persists