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.