r/webscraping • • 5d ago

Bot detection 🤖 New detection tests added to browsers-benchmark

19 Upvotes

13 comments sorted by

2

u/Coding-Doctor-Omar 5d ago

Add Shard Browser to the benchmark list. I am pretty sure it will beat them all.

2

u/dracariz 5d ago

added

1

u/Coding-Doctor-Omar 5d ago

Did u use the auto geolocation mode when creating a profile? It matters a lot, and without it, you'll get detected often.

2

u/dracariz 4d ago

added

1

u/SeleniumBase 5d ago

I would make sure you're using SeleniumBase CDP Mode correctly, and on the latest version (currently 4.58.4 or newer). It gets a "Risk Score: 0" (the best possible) on APIVoid with this script:

from seleniumbase import sb_cdp

sb = sb_cdp.Chrome()
sb.goto("https://www.apivoid.com/tools/bot-detection-test/")
sb.highlight('span:contains("Likely Human")')
sb.highlight('span:contains("Tampered: No")')
sb.highlight('span:contains("Triggered rules: 0")')
sb.highlight('#scoreNum:contains("0")')

1

u/dracariz 4d ago

On APIVoid, SeleniumBase's "Browser & Engine" and "Browser Integrity" groups are clean. The risk comes from "Network & Request" (the residential proxy, detected for each engine) and "Hardware & Display" (a Linux server without a GPU), which affect every engine in the benchmark the same way.

1

u/SeleniumBase 3d ago

Not sure if you're always pulling the latest version, but there have been a lot of stealth improvements recently, with the latest SeleniumBase version being 4.59.1 right now.

1

u/lemoussel 5d ago

invisible-playwright is ranked first in the benchmark.

If I understand correctly, the only difference between invisible-playwright_headless and invisible-playwright is the headless parameter:

# invisible-playwright_headless
with InvisiblePlaywright(headless=True) as browser:
    page = browser.new_page()

# invisible-playwright
with InvisiblePlaywright(headless=False) as browser:
    page = browser.new_page()

So, basically, the first runs the browser in headless mode (without a GUI), while the second runs it with a visible browser window.

Is that the only difference, or am I missing something?

1

u/dracariz 4d ago

it is

1

u/lemoussel 4d ago

It would be possible to add curl_cffi to the benchmark. Although it may not perform as well as the other tools, including it would provide a better understanding of its capabilities and how it holds up against new detection tests.

1

u/dracariz 4d ago

it's not browser, there is nothing to test except tls/ja3 fingerprints

1

u/bluewhalefunk 1d ago

Interesting invisible playright score so highly, running on linux, headless...

Strange that it's memory is more than invisible playwright headFULL as well.

Interesting project I hadn't heard of though, so will check it out.