0

I'm starting a site that may get a lot of attention from trolling bots in the comments or email.

One of the most common bot frameworks appears to be Selenium.

How do I detect and block Selenium-based bots? I would prefer open-source frameworks so that I can update code in real-time. The site is basically using JavaScript, HTML5 and CSS hosted on Apache.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
empty
  • 5,194
  • 3
  • 32
  • 58

2 Answers2

1

Requiring Google recaptcha before submitting a comment or email will be very affective.

https://www.google.com/recaptcha/intro/v3.html

Jortega
  • 3,616
  • 1
  • 18
  • 21
1

You saw it right. These days one of the most common and popular frameworks are based on Selenium driven WebDriver.

However, Selenium driven WebDriver controlled Browsing Contexts are easy to detect and corrective measures can be implemented in different ways as follows:

You can find a relevant detailed discussion in How does recaptcha 3 know I'm using selenium/chromedriver?

  • Detecting the term HeadlessChrome within headless Chrome UserAgent

You can find a relevant detailed discussion in Access Denied page with headless Chrome on Linux while headed Chrome works on windows using Selenium through Python

You can find a relevant detailed discussion in Unable to use Selenium to automate Chase site login

  • Using Bot Manager service from Akamai

You can find a relevant detailed discussion in Dynamic dropdown doesn't populate with auto suggestions on https://www.nseindia.com/ when values are passed using Selenium and Python

  • Using Bot Protection service from Datadome

You can find a relevant detailed discussion in Website using DataDome gets captcha blocked while scraping using Selenium and Python


References

You can find a relevant discussions in:

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352