# Katalon suite taking 30 seconds between steps and I can't figure out why

**URL:** <https://forum.katalon.com/t/katalon-suite-taking-30-seconds-between-steps-and-i-cant-figure-out-why/105108>\
**Category:** Miscellaneous\
**Created:** [November 16, 2023, 3:49pm UTC](https://forum.katalon.com/t/katalon-suite-taking-30-seconds-between-steps-and-i-cant-figure-out-why/105108 "2023-11-16T15:49:40Z")\
**Posts on this page:** 1\
**Showing post:** 23

<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:** [November 17, 2023, 12:18pm UTC](https://forum.katalon.com/t/katalon-suite-taking-30-seconds-between-steps-and-i-cant-figure-out-why/105108/23 "2023-11-17T12:18:20Z")

</div>

As you know, you can make sure a page is completely loaded by writing statements like “WebUI.waitForElementPresent(TestObject, int)”. If you are diligent enough, you would not need Smart Wait in most cases.

In some critical cases, a JavaScript-based keyword is effectie: like

> [@Unable to Click on Shadow dom elements Salesforce application](http://forum.katalon.com/t/unable-to-click-on-shadow-dom-elements-salesforce-application/104938/5):
>
> Hi Russ & kazurayam , Thanks for your time and looking into the issue. The issue is resolved now using js path. WebUI.switchToFrame(findTestObject('Object Repository/Page\_Quote Salesforce/shadow\_DomIframe'), 15, FailureHandling.STOP\_ON\_FAILURE) WebUI.delay(10) //SaveAndCalculate def SaveAndCalculate = ''' document.querySelector("#sbPageContainer") .shadowRoot.querySelector("#content \> sb-line-editor") .shadowRoot.querySelector("#actions \> sb-custom-action:nth-child(7)") …

---

_[View the full topic](https://forum.katalon.com/t/katalon-suite-taking-30-seconds-between-steps-and-i-cant-figure-out-why/105108)._
