# Selenium setSpeed command fails

**URL:** <https://forum.katalon.com/t/selenium-setspeed-command-fails/10161>\
**Category:** Miscellaneous\
**Created:** [April 6, 2018, 10:57pm UTC](https://forum.katalon.com/t/selenium-setspeed-command-fails/10161 "2018-04-06T22:57:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilya\_Novak](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ilya_novak/32/16103_2.png) [@Ilya\_Novak](https://forum.katalon.com/u/Ilya_Novak)\
**Post date:** [April 6, 2018, 10:57pm UTC](https://forum.katalon.com/t/selenium-setspeed-command-fails/10161/1 "2018-04-06T22:57:47Z")

</div>

Hi,  
I wish to control the speed of the Test Case from inside it because certain parts of the testing need different speeds. I know there is no WebUI command to do this. The closest is WebUI.Delay() but that’s not the same. So I am trying to use the Selenium command. I have…

```auto
selenium.setSpeed("1000")

```

… which should create a 1 second pause in between steps. But it fails no matter how high I set the number. Is this a known bug?

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [April 9, 2018, 2:40am UTC](https://forum.katalon.com/t/selenium-setspeed-command-fails/10161/2 "2018-04-09T02:40:42Z")

</div>

> [Ilya Novak](https://forum.katalon.com/profile/3466/Ilya%20Novak) said:
> 
> Hi,  
> I wish to control the speed of the Test Case from inside it because certain parts of the testing need different speeds. I know there is no WebUI command to do this. The closest is WebUI.Delay() but that’s not the same. So I am trying to use the Selenium command. I have…
> 
> ```auto
> selenium.setSpeed("1000")
> 
> ```
> 
> … which should create a 1 second pause in between steps. But it fails no matter how high I set the number. Is this a known bug?

Katalon Studio does not claim to support this command which will affect overall Katalon’s execution script.

---

<div class="post-metadata">

**Author:** ![Ilya\_Novak](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ilya_novak/32/16103_2.png) [@Ilya\_Novak](https://forum.katalon.com/u/Ilya_Novak)\
**Post date:** [April 9, 2018, 7:24pm UTC](https://forum.katalon.com/t/selenium-setspeed-command-fails/10161/3 "2018-04-09T19:24:32Z")

</div>

But the [Selenese (Selenium IDE) Commands Reference](https://docs.katalon.com/display/KD/Selenese+%28Selenium+IDE%29+Commands+Reference "Link: https://docs.katalon.com/display/KD/Selenese+%28Selenium+IDE%29+Commands+Reference") page states the following:

> [Katalon Automation Recorder](https://docs.katalon.com/x/cRtO) provides various Selenium Commands (Selenese) to help automate web application testing. These commands stimulate actions on the application under test (AUT) and create automation test scripts.
> 
> The below table is the list of all supported Selenese Commands.
> 
> #252 - setSpeed
> 
> setSpeed(value)
> 
> Arguments:
> 
> \*value - the number of milliseconds to pause after operation
