File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
2+ """
3+ ⚠️ ACADEMIC RESEARCH USE ONLY
4+ For authorized testing environments that comply with all applicable laws.
5+ See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
6+ """
7+
18import asyncio
29import os
310from playwright .async_api import async_playwright , Page
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
2+ """
3+ ⚠️ ACADEMIC RESEARCH USE ONLY
4+ For authorized testing environments that comply with all applicable laws.
5+ See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
6+ """
7+
18import asyncio
29import os
310import datetime
Original file line number Diff line number Diff line change 1+ /**
2+ * ⚠️ ACADEMIC RESEARCH USE ONLY
3+ * For authorized testing environments that comply with all applicable laws.
4+ * See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+ */
6+
17// BotBrowser Frame Automation Script
28// Target: frames with src containing "https://challenges.cloudflare.com/cdn-cgi/challenge-platform"
39console . log ( "BotBrowser Frame Automation Script loaded!" ) ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ⚠️ ACADEMIC RESEARCH USE ONLY
3+ * For authorized testing environments that comply with all applicable laws.
4+ * See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+ */
6+
17using Microsoft . Playwright ;
28using System ;
39using System . Threading . Tasks ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ⚠️ ACADEMIC RESEARCH USE ONLY
3+ * For authorized testing environments that comply with all applicable laws.
4+ * See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+ */
6+
17import com .microsoft .playwright .*;
28import java .nio .file .Paths ;
39import java .util .Arrays ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ⚠️ ACADEMIC RESEARCH USE ONLY
3+ * For authorized testing environments that comply with all applicable laws.
4+ * See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+ */
6+
17import { chromium } from "playwright" ;
28
39const BOTBROWSER_EXEC_PATH = process . env . BOTBROWSER_EXEC_PATH ; // Absolute path to the BotBrowser executable
Original file line number Diff line number Diff line change 1+ /**
2+ * ⚠️ ACADEMIC RESEARCH USE ONLY
3+ * For authorized testing environments that comply with all applicable laws.
4+ * See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+ */
6+
17/**
28 * BotBrowser Per-Context Proxy Example
39 *
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
2+ """
3+ ⚠️ ACADEMIC RESEARCH USE ONLY
4+ For authorized testing environments that comply with all applicable laws.
5+ See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
6+ """
7+
18import asyncio
29import os
310
Original file line number Diff line number Diff line change 11"""
2+ ⚠️ ACADEMIC RESEARCH USE ONLY
3+ For authorized testing environments that comply with all applicable laws.
4+ See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+
26BotBrowser Per-Context Proxy Example (Python)
37
48This example demonstrates how to use different proxies for each browser context
Original file line number Diff line number Diff line change 1+ /**
2+ * ⚠️ ACADEMIC RESEARCH USE ONLY
3+ * For authorized testing environments that comply with all applicable laws.
4+ * See: https://github.com/botswin/BotBrowser/blob/main/DISCLAIMER.md
5+ */
6+
17import puppeteer from "puppeteer-core" ;
28
39const BOTBROWSER_EXEC_PATH = process . env . BOTBROWSER_EXEC_PATH ; // Absolute path to the BotBrowser executable
You can’t perform that action at this time.
0 commit comments