Automated Login
Navigate to a page, enter credentials, click a button, and verify the result.
sb.goto()
sb.type()
sb.click()
sb.assert_text()
PYTHON · BROWSER · AUTOMATION
Explore practical SeleniumBase examples through an interactive developer experience.
Enter the automation lab ↓THE IDEA
SeleniumBase turns ordinary Python into browser automation. This site lets you explore some of those examples visually.
01 from seleniumbase import sb_cdp
02
03 sb = sb_cdp.Chrome():
04 sb.goto("seleniumbase.io/simple/login")
05 sb.type("#username", "demo_user")
06 sb.type("#password", "secret_pass")
07 sb.click('a:contains("Sign in")')
08 sb.assert_text("Welcome!")
02 / EXPLORE
Drag the universe.
Discover a mission.
MISSIONS
A small selection of examples based on the SeleniumBase project.
Navigate to a page, enter credentials, click a button, and verify the result.
sb.goto()
sb.type()
sb.click()
sb.assert_text()
Use browser automation to navigate, inspect content, and extract information.
sb.goto()
sb.get_text()
sb.get_html()
Automate forms, menus, uploads, drag-and-drop, and complex UI interactions.
sb.type()
sb.click()
sb.drag_and_drop()
Go beyond traditional automation with SeleniumBase CDP Mode's CAPTCHA-bypass abilities.
sb = sb_cdp.Chrome()
sb.goto()
sb.solve_captcha()
AUTOMATION REPLAY
from seleniumbase import sb_cdp
sb = sb_cdp.Chrome()
sb.goto("seleniumbase.io/simple/login")
sb.type("#username", "demo_user")
sb.type("#password", "secret_pass")
sb.click('a:contains("Sign in")')
sb.assert_text("Welcome!")
SELENIUMBASE
SeleniumBase provides a Python framework for browser automation, testing, scraping, and advanced web control.