feat(tool): add InvisibleFirefoxTool (proposal)#1374
Draft
feder-cr wants to merge 1 commit into
Draft
Conversation
Adds a draft stub for an InvisibleFirefoxTool parallel to Crawl4aiTool and BrowserUseTool. Wraps invisible_playwright which drives a patched Firefox 150 binary with fingerprint patches at the C++ source code level (no JS shims). Useful for sites where the existing tools hit Cloudflare/Akamai/Datadome/hCaptcha walls. Mirrors the shape of crawl4ai.py (PR FoundationAgents#1197 precedent). Opened as draft to check interest before fleshing out additional tool methods.
Author
|
@mannaandpoem any interest in an InvisibleFirefoxTool for pages that block the agent? opt-in tool, no change to defaults. happy to close if not a fit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
opening as draft to check interest before fleshing out the full tool surface.
would an
InvisibleFirefoxToolbe in scope, parallel to the existingCrawl4aiTool(PR #1197) andBrowserUseToolunderapp/tool/?motivation: existing browser and scraper tools return 403 or empty content when the target site is behind Cloudflare, Akamai, Datadome, or hCaptcha. a Firefox build with fingerprint patches at the C++ source code level avoids the JS-shim detection surface that the standard playwright-stealth approach uses.
the tool wraps feder-cr/invisible_playwright, which drives a patched Firefox 150 binary (feder-cr/invisible_firefox, MPL-2.0, same license as Firefox upstream). optional dependency, only imported when the tool is constructed. issues against the backend route to feder-cr/invisible_playwright.
this PR adds a stub
app/tool/invisible_firefox.pymodeled after thecrawl4ai.pyshape (singleexecutemethod for now). additional methods can follow if accepted. tracking discussion: #1373if not in scope i'll close without noise.