Using Katalon Studio v9.0.0, Chrome v122.0
I happened to see the following incident.
In the “Console” tab of the Chrome DevTools, Chrome emitted several warnings as follows
wait.js:111 [Deprecation] Listener added for a synchronous ‘DOMNodeInserted’ DOM Mutation Event. This event type is deprecated (UI Events) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
To me, this message seems serious. It tells me that the wait.js
is not capable to react to any DOM modifications. In short, the Smart Wait is no longer working as expected. Is the Katalon dev team aware of it?
I know that the wait.js
is a JavaScript code bundled in all Katalon Studio. I could find the wait.js
file at <Katalon Studio installation directory>/configuration/resources/external/Smart Wait/content/wait.js
. The wait.js contains the following code fragment:
...
(function katalon_smart_waiter_do_prewait() {
window.katalonWaiter = new KatalonWaiter();
console.log("content script: Katalon Waiter v.2 is up and running !");
var document = window.document;
function katalon_smart_waiter_setDOMModifiedTime() {
window.katalonWaiter.domModifiedTime = Date.now();
}
document.addEventListener(
"DOMNodeInserted",
katalon_smart_waiter_setDOMModifiedTime,
false
);
...
This source + the warning message above makes sense to me.
This is a difficult issue for an outsider. I hope Katalon developer to look at this issue.