Problem DescriptionWhen using Code Examplefrom seleniumbase import SB
def generate_response(prompt):
with SB(uc=True) as sb:
sb.open("https://build.nvidia.com/deepseek-ai/deepseek-r1-0528")
# Slow with large HTML text (prompt2), fast with short text (prompt1)
sb.type("textarea.c-jOMmSw", prompt) # Delay occurs here for big HTML
# ... additional logic for handling responses
prompt1 = "Your question here" # Fast insertion
prompt2 = "```<div><p>...</p></div>```" # Large HTML content - slow insertionExpected vs Actual Behavior
Environment
QuestionAre there way to accelerate |
Answered by
mdmintz
Sep 7, 2025
Replies: 1 comment
|
You could try |
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could try
sb.cdp.set_value(selector, text)ifsb.cdp.type(selector, text)isn't fast enough for you. Keep in mind that UC Mode / CDP Mode is about bypassing bot-detection, not about going as quickly as possible (which makes you look like a bot).