Selenium
The original browser automation framework used for testing and scraping.
What is Selenium?
Selenium is the oldest and most established browser automation framework, supporting all major browsers. Originally created for automated testing, Selenium is extensively used for web scraping, data extraction, and increasingly as infrastructure for AI agents.
Selenium-controlled browsers can often be detected through the navigator.webdriver flag, "selenium" or "webdriver" in the user-agent string, and various automation-specific JavaScript properties. However, advanced users employ stealth techniques to mask these signals.
Despite being older technology, Selenium remains widely used due to its extensive ecosystem, language support (Java, Python, C#, JavaScript, Ruby), and large community. Many scraping operations and bot networks still rely on Selenium.
User-Agent Strings
These are the known user-agent patterns used by Selenium. Use them to identify this crawler in your server logs or configure robots.txt rules.
robots.txt example:
User-agent: selenium Disallow: /private/ Allow: /
How to Manage Selenium
Multiple detection vectors: webdriver flag, UA patterns, automation globals.
Use Switch multi-signal detection for reliable Selenium identification.
Deploy Content Gate for aggressive Selenium-based scraping.
Inline challenges work well since Selenium handles page interaction.
Start managing Selenium today
Switch detects, tracks, and lets you build custom journeys for Selenium and 35+ other AI agents and crawlers. Set up in five minutes.
Get Started FreeRelated Agents
Claude Computer Use
Browser AgentsAnthropic
Anthropic's Claude agent that controls a real browser to complete tasks.
OpenAI Operator
Browser AgentsOpenAI
OpenAI's browser agent that autonomously performs web tasks for users.
Playwright
Browser AgentsMicrosoft
Microsoft's browser automation framework for testing and scraping.
Puppeteer
Browser AgentsGoogle's headless Chrome automation library commonly used for scraping.