mirror of
https://github.com/feder-cr/invisible_playwright.git
synced 2026-06-07 08:35:12 +02:00
invisible-playwright: a patched Firefox 150.0.1 for browser-fingerprint
stealth, shipped as a Playwright-compatible Python wrapper.
* Sync + async InvisiblePlaywright launcher (firefox_user_prefs, virtual
desktop on Windows, SOCKS5 auth via patched nsProtocolProxyService)
* fpforge: Bayesian fingerprint sampler over GPU / audio / fonts /
screen / ~400 other navigator fields
* WebRTC stealth: srflx address swap, synthetic srflx fallback,
private-LAN host candidates. No real public IP leak via STUN.
* GPU sandbox fix for FF150 alt-desktop regression
* Bezier-curve mouse motion baked into Juggler
Targets Windows x86_64 + Linux x86_64. Binary fetched on first run from
GitHub Release "firefox-1".
22 lines
592 B
Python
22 lines
592 B
Python
import subprocess
|
|
import sys
|
|
|
|
|
|
def test_version_subcommand():
|
|
r = subprocess.run(
|
|
[sys.executable, "-m", "invisible-playwright", "version"],
|
|
capture_output=True, text=True, check=True,
|
|
)
|
|
assert "firefox-" in r.stdout
|
|
assert "invisible-playwright" in r.stdout.lower()
|
|
|
|
|
|
def test_help_subcommand():
|
|
r = subprocess.run(
|
|
[sys.executable, "-m", "invisible-playwright", "--help"],
|
|
capture_output=True, text=True,
|
|
)
|
|
assert r.returncode == 0
|
|
assert "fetch" in r.stdout
|
|
assert "path" in r.stdout
|
|
assert "clear-cache" in r.stdout
|