I am making an online automation program. Unfortunately, however, this site checks the user's input speed.
The site reports an error message due to two reasons: the speed at which the key is pressed and the speed at which the key is pressed. Therefore, the commonly used send_keys are not available. This is because the key_up speed is displayed as 0 when debugging.
To solve this problem, it seems necessary to adjust the speed of input like a person. So I tried the following.
ac = ActionChains(driver)
ac.key_down("a")
ac.perform()
Sleep(0.010, 0.05)
ac = ActionChains(driver)
ac.key_up("a")
ac.perform()
Sleep(0.010, 0.05)
I would appreciate if you could tell me a better way.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…