Selenium Reuse & Retry Optimization
Budget / Salary$10–30
TypeFreelance project
LocationRemote
Posted6 hours ago
I have a Selenium-driven automation suite that spins up a fresh browser for every task. It works, but the constant process churn eats RAM and CPU, so I’d like to refactor it to keep sessions alive and recycle existing drivers wherever possible. The core objective is to minimise resource usage without sacrificing reliability.
Besides tighter session management, I also need a structured retry mechanism. Certain pages occasionally fail to load or elements appear late, and when that happens I want the script to pause, back off with an exponential delay, then try again—ultimately guaranteeing data consistency across runs.
You’ll receive the current Python 3.10 codebase (Selenium 4, ChromeDriver, Docker optional). I’m expecting:
• An architecture that pools or persists browser instances safely across threads or sequential jobs
• Configurable retry/backoff wrappers around key interactions, with sensible defaults and clear logging
• Updated unit/integration tests proving that memory footprint drops and failed interactions are retried until they pass or the max threshold is reached
• Short README notes explaining how to start the suite, tune pool size, and adjust retry parameters
If you can deliver clean, well-documented code that lets me run the same workload with fewer processes and rock-solid consistency, let’s talk.
Besides tighter session management, I also need a structured retry mechanism. Certain pages occasionally fail to load or elements appear late, and when that happens I want the script to pause, back off with an exponential delay, then try again—ultimately guaranteeing data consistency across runs.
You’ll receive the current Python 3.10 codebase (Selenium 4, ChromeDriver, Docker optional). I’m expecting:
• An architecture that pools or persists browser instances safely across threads or sequential jobs
• Configurable retry/backoff wrappers around key interactions, with sensible defaults and clear logging
• Updated unit/integration tests proving that memory footprint drops and failed interactions are retried until they pass or the max threshold is reached
• Short README notes explaining how to start the suite, tune pool size, and adjust retry parameters
If you can deliver clean, well-documented code that lets me run the same workload with fewer processes and rock-solid consistency, let’s talk.
Apply on Freelancer →
Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.