by seleniumbase
Python APIs for web automation, testing, and bypassing bot-detection.
# Add to your Claude Code skills
git clone https://github.com/seleniumbase/SeleniumBaseGuides for using mcp servers skills like SeleniumBase.
SeleniumBase is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by seleniumbase. Python APIs for web automation, testing, and bypassing bot-detection. It has 13,300 GitHub stars.
SeleniumBase's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/seleniumbase/SeleniumBase" and add it to your Claude Code skills directory (see the Installation section above).
SeleniumBase is primarily written in Python. It is open-source under seleniumbase on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh SeleniumBase against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
📚 In addition to stealth modes, SeleniumBase has regular modes for E2E testing.
pytest instead of python)📝 This example uses seleniumbase sb_cdp (Pure CDP Mode):(It calls a few basic methods and bypasses a Cloudflare Turnstile)
from seleniumbase import sb_cdp
sb = sb_cdp.Chrome() # Launch a stealth browser
sb.goto("https://www.planetminecraft.com/account")
sb.type('[name="email"]', "Test123")
sb.type('[name="password"]', "Pass")
sb.click("input#autologin") # Uncheck a checkbox
sb.solve_captcha() # (fallback if not automatic)
sb.assert_element('input[name="login"]')
sb.assert_element_not_visible("input[disabled]")
sb.sleep(1) # (see the live demo more easily)
sb.quit()
✅ sb.solve_captcha() handles CAPTCHAs that aren't bypassed automatically.(If called when there's no CAPTCHA on the page, then nothing happens / no-op.)
ℹ️ sb.assert_* methods wait up to 7 seconds for the expected condition.(Raises an exception if the condition isn't met in time.)
from seleniumbase import sb_cdp
sb = sb_cdp.Chrome(fast=True)
sb.goto("https://hn.algolia.com/?query=seleniumbase")
elements = sb.find_elements("div.Story_title > a")
for element in elements:
print("--> " + element.text)
sb.save_as_pdf("sb_news.pdf", folder="./downloaded_files/")
print("*** PDF saved to: ./downloaded_files/sb_news.pdf")
python raw_cdp_yc_news.py
from seleniumbase import SB
with SB(uc=True, test=True, locale="en") as sb:
sb.activate_cdp_mode()
sb.goto("https://gitlab.com/users/sign_in")
sb.sleep(2)
sb.solve_captcha()
sb.highlight('h1:contains("GitLab")')
sb.highlight('button:contains("Sign in")')
python raw_gitlab.py