Skip to content

Commit

Permalink
Add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
fantakim committed Sep 19, 2024
1 parent 6e2fa11 commit 3295567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PapagoSrt/PapagoDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public string Translate(string content)
((IJavaScriptExecutor)_driver).ExecuteScript(script);
sourceTextbox.SendKeys(" ");

Thread.Sleep(1000);
Thread.Sleep(3000);

var translated = targetTextbox.Text;
translatedText.Append(translated);
Expand Down

0 comments on commit 3295567

Please sign in to comment.