Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can I slow down sb.cdp.press_keys() #3308

Answered by mdmintz
morndej asked this question in Q&A
Discussion options

"Is there a way to slow down sb.cdp.press_keys()?
I got detected even when using press_key().
Does it support fine-grained configuration to adjust its speed?

You must be logged in to vote

If these aren't slow enough as is to avoid detection...

sb.cdp.gui_press_key(key)
sb.cdp.gui_press_keys(keys)

...then you can create a for loop, where you add sb.sleep(seconds) to slow things down as much as you want.

Replies: 1 comment 1 reply

Comment options

If these aren't slow enough as is to avoid detection...

sb.cdp.gui_press_key(key)
sb.cdp.gui_press_keys(keys)

...then you can create a for loop, where you add sb.sleep(seconds) to slow things down as much as you want.

You must be logged in to vote
1 reply
Comment options

Thank you for your helpful response!

I’ll try implementing it to see if it helps avoid detection. Appreciate your guidance!

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /