Selenium
Selenium is an open-source suite of tools and APIs for programmatically automating web browsers and interacting with web applications.
BDD in Action, Second Edition
The WebDriver API is the programmatic interface for controlling browser sessions and interacting with web pages through WebDriver.
- How it is used
- Automates browser-facing acceptance criteria when user interaction or rendered UI behavior matters.
- How deep it goes
- Works through navigation, element lookup, interaction, and assertions; sketches browser-driver communication without detailing the protocol.
- Examples
- Uses member login and registration forms to demonstrate credential entry, link clicks, field selection, and outcome checks.
- What you can do after
- Apply it via Selenium WebDriver to automate selected Java browser tests and assert visible results.
Testing Spring Boot Applications
Selenium is a suite of tools and APIs for automating web browsers and testing web applications through browser interactions.
- How it is used
- Tests HTML and JavaScript behavior by driving a real browser against a running Spring Boot web application.
- How deep it goes
- Explains WebDriver, lifecycle setup, browser discovery, waits, selectors, interactions, and assertions, but not driver protocol internals.
- Examples
- Uses a headless Chrome setup and an auto-complete search test that checks three dynamically displayed cities.
- What you can do after
- Apply it via Selenium WebDriver to exercise browser interactions and verify JavaScript-driven web behavior.
Read how Testing Spring Boot Applications explains Selenium →
Web Components in Action
Selenium is a browser automation framework for driving web browsers programmatically.
- How it is used
- Runs Web Component tests in real browsers and returns their results to the terminal.
- How deep it goes
- Explains Selenium’s browser-automation role but defers its own API and implementation details.
- Examples
- Uses WCT slider tests that inspect properties, attributes, shadow-root styles, and boundary values.
- What you can do after
- Operate/configure WCT to launch browser-based component tests and inspect their terminal-reported results.
Also covered in
- The Cloud at Your Service: The when, how, and why of enterprise cloud computing
- Test Driven: Practical TDD and Acceptance TDD for Java Developers
- Software Testing with Generative AI
- Django in Action
What to know first
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- web applicationA web application is software that provides functionality through web technologies and is accessed over a network, typically through a browser or other web client.
- HTMLHTML is the standard markup language for structuring content and elements in documents on the web.
Related concepts
- browseruses · A web browser is software that retrieves, interprets, and renders web resources, executes supported web content, and enables interaction with web applications.
- web application testinguses · Web application testing is the systematic evaluation of web applications and their exposed services for functional and other quality properties, including security and usability.
Questions about Selenium
What is Selenium?
Selenium is an open-source suite of tools and APIs for programmatically automating web browsers and interacting with web applications.
Which Manning books explain Selenium?
BDD in Action, Second Edition, Testing Spring Boot Applications and Web Components in Action.
What should I know before learning Selenium?
Manning books that teach Selenium usually introduce JavaScript, web application, HTML and Java first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


