subsequent-cyan•4y ago
Super slow keyboard input in puppeteer on Apify
When running on Apify platform it takes ~600-700 ms per character typed as compared to ~200ms when running locally
Local log:
Same code on Apify platform:
4 Replies
subsequent-cyanOP•4y ago
Well for now I will just use another way to do it...
@sebx just advanced to level 6! Thanks for your contributions! 🎉
try
await page.type(".your-selector", "your data", {delay: 10})How are you actually measuring that? If there are
await s in between, then the code can jump to other parallel computations.