I am using the time library in my script:
time
import time time.sleep(1)
It can sleep my webdriver for 1 second but I need to sleep
If you want it to sleep in milliseconds then use float values:
import time time.sleep(0.25) #0.25 > 250ms #0.1 > 100ms #0.05 > 50ms