testbench-testing
End-to-End Browser Testing with Vaadin TestBench
Use the Vaadin MCP tools (search_vaadin_docs) to look up the latest documentation whenever uncertain about a specific API detail. Always set vaadin_version to "25" and ui_language to "java".
The docs MCP doesn't cover the TestBench API itself. For exact Element/ElementQuery signatures or source, use the javadoc MCP (mcp__javadoc__* — find via ToolSearch javadoc if not loaded) against the com.vaadin TestBench artifacts (e.g. vaadin-testbench-core) instead of unpacking jars from ~/.m2.
Note: TestBench requires a commercial Vaadin subscription.
What TestBench Is
TestBench runs your Vaadin application in a real browser (Chrome, Firefox, etc.) and lets you write Java tests that interact with it like a user would. It's built on Selenium but provides a high-level API specifically designed for Vaadin components.