Fix & Optimize 5 Selenium Automation Scripts (Headless Mode & Reliability)
Budget: ₹1,500 – ₹12,500 INR
Project Overview
I am looking for an experienced Selenium automation expert to refactor and fix 5 existing Selenium scripts. The scripts are currently functional but have two specific technical limitations that need to be resolved. The goal is to make these scripts production-ready, robust, and capable of running in a CI/CD environment.
The Problem
The current scripts are written in Python and generally follow good programmatic standards. However, they suffer from the following issues:
Headless Mode Failure: The scripts run successfully in "headful" mode (visible browser) but fail immediately when switched to headless mode.
Flakiness/Unreliability: The execution is not 100% reliable. They occasionally fail due to timing issues, element loading discrepancies, or dynamic content rendering.
Key Deliverables
I need a developer to analyse the code and implement the following fixes without rewriting the logic from scratch:
1. Enable Robust Headless Execution
Configure the WebDriver options correctly to bypass headless detection (e.g., User-Agent spoofing, window size adjustments, removing webdriver flags).
Ensure the scripts function identically in both Headless and Headful modes.
2. Improve Reliability (Zero Flakiness)
Replace any hard-coded sleep commands with proper Explicit Waits (e.g., WebDriverWait / expected_conditions) to handle dynamic DOM elements.
Implement retry logic for susceptible steps (e.g., StaleElementReferenceException).
Ensure the scripts can handle network variations or slower page loads without breaking.
3. Maintain Code Quality
The fixes must be implemented in a clean, modular, and "Pythonic" manner.
Preserve the existing structure where possible; do not convert organized classes into spaghetti code.
Required Skills
Selenium WebDriver (Expert level)
Python
Experience with Anti-Bot Detection evasion (undetected-chromedriver, user-agent rotation, etc.)
DOM manipulation and debugging
Project Scope
Count: 5 Scripts
Estimated Duration: ~3 days
To Apply
Please start your proposal with the word "HEADLESS" so I know you read the description. Briefly explain:
One common reason why Selenium scripts fail in headless mode and how you usually fix it.
Your experience with stabilizing flaky tests.
I am looking for an experienced Selenium automation expert to refactor and fix 5 existing Selenium scripts. The scripts are currently functional but have two specific technical limitations that need to be resolved. The goal is to make these scripts production-ready, robust, and capable of running in a CI/CD environment.
The Problem
The current scripts are written in Python and generally follow good programmatic standards. However, they suffer from the following issues:
Headless Mode Failure: The scripts run successfully in "headful" mode (visible browser) but fail immediately when switched to headless mode.
Flakiness/Unreliability: The execution is not 100% reliable. They occasionally fail due to timing issues, element loading discrepancies, or dynamic content rendering.
Key Deliverables
I need a developer to analyse the code and implement the following fixes without rewriting the logic from scratch:
1. Enable Robust Headless Execution
Configure the WebDriver options correctly to bypass headless detection (e.g., User-Agent spoofing, window size adjustments, removing webdriver flags).
Ensure the scripts function identically in both Headless and Headful modes.
2. Improve Reliability (Zero Flakiness)
Replace any hard-coded sleep commands with proper Explicit Waits (e.g., WebDriverWait / expected_conditions) to handle dynamic DOM elements.
Implement retry logic for susceptible steps (e.g., StaleElementReferenceException).
Ensure the scripts can handle network variations or slower page loads without breaking.
3. Maintain Code Quality
The fixes must be implemented in a clean, modular, and "Pythonic" manner.
Preserve the existing structure where possible; do not convert organized classes into spaghetti code.
Required Skills
Selenium WebDriver (Expert level)
Python
Experience with Anti-Bot Detection evasion (undetected-chromedriver, user-agent rotation, etc.)
DOM manipulation and debugging
Project Scope
Count: 5 Scripts
Estimated Duration: ~3 days
To Apply
Please start your proposal with the word "HEADLESS" so I know you read the description. Briefly explain:
One common reason why Selenium scripts fail in headless mode and how you usually fix it.
Your experience with stabilizing flaky tests.