Element only found in Katalon Driver

Hi, I have this issue where a certain element/object only appear in Katalon Driver but when I test in normal browser the element/object is not there. I just want to know what could cause this.


This is a ss from the normal browser as you can see theres only 3 three items


This is a ss when executing using katalon studio. An additional item has appear.

1 Like

Hi @muhd.aiman,

Seems like that extra icon is conditionally shown by the page only when the row is “active” (hovered/focused/selected).
Katalon’s WebDriver interactions (move-to-element, click, focus) are putting the row into that state, so the “duplicate/copy” action becomes visible. To confirm, in the normal browser, you can try to hover the row with your mouse or press Tab into the cell—see if the extra icon appears. Let us know what you expect. Thank you

hi @muhd.aiman
there are few things to check

  1. compare the actual HTML
    Open dev tools (F12) in both browsers and look at that element. is it actually there in your normal browser but just hidden? that’ll tell you what’s going on.
  2. try hiding the automation flags
ChromeOptions options = new ChromeOptions()
options.setExperimentalOption("excludeSwitches", ["enable-automation"])
options.setExperimentalOption("useAutomationExtension", false)
  1. window size might be different
    katalon’s default browser size could be triggering responsive behavior
WebUI.setViewPortSize(1920, 1080)
  1. also check if your app is detecting navigator.webdriver
    some sites show different UI when they know it’s automated testing. that extra icon might be a debug tool or admin feature that only appears for automated browsers

Hi,

Sorry for the late reply. Just found out it was an error from the dev. The icon is hidden if using normal chrome but can be seen if using Incognito mode.

Thank you everybody.