# How to configure to run the scripts bit slow

**URL:** <https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [April 21, 2020, 5:05pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553 "2020-04-21T17:05:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [April 21, 2020, 5:05pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/1 "2020-04-21T17:05:10Z")

</div>

Hi there,  
For the demo purpose, I need to configure my scripts to run bit slow. so everyone will know what the actions are performed. I tried to increase the time in secs between each action in execute tab of settings but still not able to manage to run slow. Other than having a delay in the script

Thanks

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [April 21, 2020, 5:45pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/2 "2020-04-21T17:45:23Z")

</div>

@vtanguturi

What version are you using, is it the latest ? Please provide the test script. Also, when you mention you

> [@vtanguturi](#):
>
> tried to increase the time in secs between each action in execute tab of settings but still not able to manage to run slow.

How many seconds do you set it to be ?

---

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [April 21, 2020, 5:50pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/3 "2020-04-21T17:50:36Z")

</div>

I have 7.3.0 and I increased from 2 secs to 7 secs and still my total execution time took same amount of time. For scripts I have multiple keywords and different actions. I can’t provide the script as is. Is there any other way to do in settings or any chrome capabilities.

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [April 21, 2020, 5:58pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/4 "2020-04-21T17:58:18Z")

</div>

@vtanguturi

Does your test case use `WebUI.openBrowser` at all ? It sounds a bit weird to me that the setting is not taking effect.

---

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [April 21, 2020, 6:03pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/5 "2020-04-21T18:03:57Z")

</div>

this is my initialize browser testcase

> import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
> 
> import org.openqa.selenium.UnexpectedAlertBehaviour as UnexpectedAlertBehaviour  
> import org.openqa.selenium.chrome.ChromeDriver as ChromeDriver  
> import org.openqa.selenium.chrome.ChromeOptions as ChromeOptions  
> import org.openqa.selenium.remote.CapabilityType as CapabilityType  
> import org.openqa.selenium.remote.DesiredCapabilities as DesiredCapabilities
> 
> import com.kms.katalon.core.model.FailureHandling as FailureHandling  
> import com.kms.katalon.core.webui.driver.DriverFactory as DriverFactory  
> import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
> 
> import internal.GlobalVariable as GlobalVariable
> 
> WebUI.callTestCase(findTestCase(‘pageObjects/pageObjecttc’), [:], FailureHandling.STOP\_ON\_FAILURE)
> 
> ChromeOptions chromeOptions = new ChromeOptions()
> 
> System.setProperty(‘webdriver.chrome.driver’, DriverFactory.getChromeDriverPath())
> 
> chromeOptions.addArguments(‘start-maximized’)
> 
> chromeOptions.addArguments(‘disable-infobars’)
> 
> chromeOptions.addArguments(‘window-size=1920x1080’)
> 
> [//chromeOptions.addArguments](https://chromeOptions.addArguments)(“Zoom 80%”);  
> ////HEADLESS CHROME  
> [//chromeOptions.addArguments](https://chromeOptions.addArguments)(“headless”);
> 
> chromeOptions.setCapability(CapabilityType.ACCEPT\_SSL\_CERTS, true)
> 
> ChromeDriver driver = new ChromeDriver(chromeOptions) //driverService,
> 
> DriverFactory.changeWebDriver(driver)
> 
> WebUI.navigateToUrl(GlobalVariable.testURL)

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [April 21, 2020, 6:14pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/6 "2020-04-21T18:14:46Z")

</div>

@vtanguturi

The setting works only if you use `WebUI.openBrowser` which opens an instance of `WebDriver` that implements additional interfaces. Among these interfaces is one that does the delay between every action. Because you’re providing your own ChromeDriver instance, it doesn’t implement the interface which does the delay.

I’d recommend that you provide these initialization parameters using Katalon’s desired capabilities and then use `WebUI.openBrowser`. Another way is a bit more technical which is to implement a FiringEventListener which does `Thread.sleep` before every action.

---

<div class="post-metadata">

**Author:** ![Timo\_Kuisma1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/timo_kuisma1/32/16103_2.png) [@Timo\_Kuisma1](https://forum.katalon.com/u/Timo_Kuisma1)\
**Post date:** [April 21, 2020, 6:19pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/7 "2020-04-21T18:19:55Z")

</div>

hi,

not sure is this any help for that

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/3/3c791a469c418719047ac497fc89db672e604c46.png)

---

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [April 21, 2020, 6:26pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/8 "2020-04-21T18:26:31Z")

</div>

Hi @Timo_Kuisma1, I used that same page for setting the time but it didn’t show any difference when I changed from 2 to 7 secs. Also as @ThanhTo mentioned I am not using WebUI.openBrowser in my script. I tried using the desired capabilities in the katalon and as it didn’t help me I have created my own chrome desired capabilities in script level.

---

<div class="post-metadata">

**Author:** ![Timo\_Kuisma1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/timo_kuisma1/32/16103_2.png) [@Timo\_Kuisma1](https://forum.katalon.com/u/Timo_Kuisma1)\
**Post date:** [April 21, 2020, 6:28pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/9 "2020-04-21T18:28:35Z")

</div>

hi,

debug?

---

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [April 21, 2020, 6:31pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/10 "2020-04-21T18:31:23Z")

</div>

I didn’t get you. What do you want me to debug?

---

<div class="post-metadata">

**Author:** ![Timo\_Kuisma1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/timo_kuisma1/32/16103_2.png) [@Timo\_Kuisma1](https://forum.katalon.com/u/Timo_Kuisma1)\
**Post date:** [April 21, 2020, 6:32pm UTC](https://forum.katalon.com/t/how-to-configure-to-run-the-scripts-bit-slow/42553/11 "2020-04-21T18:32:19Z")

</div>

run slow script if this is your point
