Set keyInjectionDelay=100ms for better simulation of user input.