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
time.sleep() takes a floating-point argument:
time.sleep()
time.sleep(0.25)
Docs (they're worth a read not least because they explain the conditions under which the sleep could end up being shorter or longer than expected).