Edge Browser Selenium Stealth JS Patch (Fingerprint Clean on PixelScan / BrowserScan)

Job ID: 40277746

Budget: ₹1,500 – ₹12,500 INR

**Task Description:**
We are developing a Selenium-based automation tool and need a **JavaScript stealth patch specifically optimized for Microsoft Edge (Chromium)**.

The goal is to make the automated browser appear **as close as possible to a normal real user browser** when checked on fingerprinting test sites.

**Requirements:**

1. Create a **JavaScript stealth patch** that can be injected using Selenium CDP:

```python
driver.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", {"source": JS_PATCH})
```

2. The patch should help ensure that on fingerprint testing sites such as:

* PixelScan
* BrowserScan
* similar browser fingerprint check tools

the browser appears **natural and not flagged as automated**.

3. The patch should address common automation signals including (but not limited to):

* `navigator.webdriver`
* automation-related properties
* Chrome/Edge runtime environment checks
* permissions API inconsistencies
* window dimension mismatches
* other common JavaScript-based automation detections

4. Important constraints:

* **Do not over-spoof fingerprints** (avoid unrealistic plugin arrays, fake GPU values, etc.)
* The browser should **retain realistic native values**
* The result should **look like a normal Edge browser environment**
* Avoid triggering **“Masking detected”** or **automation flags** on fingerprint scanners.

5. The solution should:

* Work on **Microsoft Edge (Chromium)**
* Be compatible with **Selenium WebDriver**
* Be stable across page loads
* Be injected before page scripts execute.

**Deliverables:**

* A clean, production-ready **JavaScript stealth patch**
* Instructions on how to inject it via Selenium CDP
* Explanation of what each modification does
* Any additional recommendations for improving browser realism.

The goal is **maximum realism with minimal spoofing** so that the browser environment behaves like a genuine user browser.