Mbbrowser + Selenium Automation: Beginner's Guide
If you can write Python or have learned Selenium in school, then "Mbbrowser + Selenium" is your best starting point for multi-account automation.
This series of tutorials will guide you from "never having touched it" to "being able to independently write stable automation scripts" in plain language.
1. What is Mbbrowser Fingerprint Browser?
Before we learn Selenium, let's take a minute to understand what Mbbrowser is, as it is the "foundation" of the entire solution.
Why do you need a fingerprint browser?
Imagine this scenario: you are a cross-border e-commerce seller operating 20 store accounts on Amazon.
- If you use regular Chrome: Logging into 20 accounts on the same computer will cause Amazon's risk control system to detect that the IP and browser fingerprints of these accounts are identical. It will immediately judge them as associated accounts, resulting in traffic limits at best or batch bans at worst.
- If you use Mbbrowser: Each account has an independent "browser ID card." Information such as browser fingerprints, proxy IPs, Cookie data, and time zones/languages is completely isolated. In Amazon's eyes, these 20 accounts come from 20 completely different people from all over the world, so they won't be associated.
Mbbrowser is like creating a "virtual computer" tailored for each account.
What are the components of Mbbrowser?
Understanding the core components of Mbbrowser helps you better understand how automation works:
| Component | Description |
|---|---|
| Mbbrowser Main Program (mbbrowser.exe) | The "base camp" for managing all browser environments where you create, configure, and open each fingerprint environment. |
| Chrome Kernel (chrome.exe) | Mbbrowser uses a customized Chrome kernel; each environment runs an independent Chrome instance. |
| CDP Service (cdp.exe) | Chrome DevTools Protocol service, the technical entry point for automation to take over the browser. |
| ApiServer (apiserver.exe) | The "API receptionist" between your script and Mbbrowser, receiving HTTP commands from scripts and returning browser debugging ports. |
2. What is Selenium?
Selenium is the world's most popular browser automation framework with a 20-year history, maintained by SeleniumHQ.
Its core capability: controlling the browser through code, accessing webpages, clicking buttons, filling forms, and reading data like a real person.
Improvements in Selenium 4.x
The current mainstream version is Selenium 4.x (actively maintained 2024-2026), which has significant improvements over older versions:
- ✅ Built-in Selenium Manager: No longer need to manually download ChromeDriver; Selenium matches it automatically.
- ✅ Better Relative Locators: Elements can be found by position using
above(),below(),near(), etc. - ✅ Native Chrome DevTools Support: Intercept network requests and simulate devices directly via the CDP protocol.
- ✅ Improved Waiting Mechanisms: More stable explicit waits, reducing script crashes caused by network speed.
3. How do Mbbrowser + Selenium Work Together?
This is the core concept of the entire automation solution—make sure to understand it:
Division of Work
Your Python Script
↓ HTTP Request (Tell Mbbrowser "which environment to open")
Mbbrowser ApiServer
↓ Returns debuggerAddress (e.g., 127.0.0.1:9222)
Selenium ChromeDriver
↓ "Takes over" the browser through the debugging port
Mbbrowser Fingerprint Environment (With full fingerprints, proxy, and Cookies)
↓ Sends requests with real fingerprints
Target Website| Role | Component | Responsibility |
|---|---|---|
| Mbbrowser (Body/Fingerprint Layer) | Main Program + ApiServer | Provides full fingerprint disguise: UA, Canvas, WebGL, proxy IP, Cookie isolation, etc. |
| ChromeDriver (Neural/Translation Layer) | chromedriver.exe | Acts as the "translator," converting Selenium commands (e.g., click()) into Chrome DevTools Protocol instructions. |
| Selenium (Brain/Execution Layer) | Python/Java Script | Issues business commands: open pages, fill forms, click, screenshot, read data. |
Essential Differences from Regular Selenium
| Dimension | Regular Selenium | Mbbrowser + Selenium |
|---|---|---|
| Startup | webdriver.Chrome() starts a blank browser | debuggerAddress takes over an existing Mbbrowser environment |
| Fingerprint | Standard Chrome fingerprint, easily detected as a bot | Each environment has a unique fingerprint, identical to a real user |
| IP | Uses host machine IP, shared across accounts | Each environment is configured with an independent proxy IP |
| Cookie | Cleared after each run | Cookies are persistently saved within the Mbbrowser environment |
| Management | Manual switching, easy to confuse | Matched by Session_ID; never confused |
TIP
Summary in One Sentence: Mbbrowser is responsible for "playing the role of each account," and Selenium is responsible for "making the role work for you." They have a clear division of labor and coordinate perfectly.
4. How to Choose Between Selenium and Puppeteer?
Mbbrowser supports both Selenium and Puppeteer. Both can complete takeover tasks, but they differ as follows:
| Dimension | Selenium | Puppeteer |
|---|---|---|
| Language | Python, Java, C#, Ruby, etc. | Mainly Node.js (JavaScript) |
| Learning Curve | Friendlier for Python developers | Friendlier for Frontend/JS developers |
| Wait Mechanism | Powerful explicit/implicit wait mechanisms | Requires manual waitForSelector |
| Community | Extremely rich; answers are easily found | Relatively fewer resources, but growing fast |
| Recommended For | E-commerce, scraping, Python devs | Screenshots, frontend testing, JS devs |
5. Typical Business Scenarios
- 🛒 Cross-border E-commerce: Auto-log in to Amazon, eBay, Shopify; check orders, refresh stock.
- 📱 Social Media Operations: Batch post, like, follow, and DM.
- 🔍 SEO Data Scraping: Log in to protected pages and scrape ranking data.
- 👤 Account Warming: Simulate real user browsing patterns to increase account authority.
- 🎮 Bulk Registration/Login: Automatically register accounts and complete verification flows.
TIP
Ready? The next chapter Setup & ApiServer will guide you through setting up all necessary environments and running your first script within 10 minutes.
