Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Want to know how you can perform end-to-end tests with Selenium? Find the answers through this blog.

TestMu AI
January 11, 2026
In this session of the Testμ Conference 2022, we had Boni García, Visiting Professor, Universidad Carlos III de Madrid, as our guest speaker who joined Sudhir Joshi, Head of Customer Success at TestMu AI, to take a deep dive into developing end-to-end tests with Selenium 4 and Java.
Boni spoke elaborately on build tools, unit testing framework, and a session library required to implement comprehensive Selenium WebDriver tests. He also discussed the tools for end-to-end testing.

Boni starts this session by asking a question – What is Selenium? As per Boni, if we look at the documentation provided by Selenium, we see this motto – “What you do with that power is entirely up to you,” for which he informs his viewers that what you do with this power isn’t very up to you.

He then asks the viewers to answer the question in simple words to make this session more engaging. Boni then quotes different definitions of Selenium to define it in simple terms. He also addresses multiple answers shared by the audience to what they think Selenium is.
Moving forward, Boni defines what Selenium is in his own words. As per him, Selenium is an open-source umbrella project that enables the automation of web browsers, and it is composed of three elements:
Boni then takes up the important question – What is NOT Selenium? As per him, Selenium is neither a testing framework nor a library. He then asks the session’s main question: Why do I need to do testing with Selenium?
Boni talks about end-to-end tests as the first point to this question. He then mentions that we must first select a binding language for testing using Selenium. For this session, Boni selects Java as his choice of programming language.

Then Boni encourages us to choose an actual Unit testing framework since Selenium cannot be used as a testing framework. He recommends using JUnit, JUnit 5 or TestNG as the primary testing framework. Moving forward in the process, Boni chooses AssertJ as his assertion library as the provided assertions are very fluent.

He then recommends selecting one or a combination of browsers to be driven with Selenium. Boni suggests that as we progress in end-to-end testing, we will need something more advanced, like a remote environment for a browser such as Selenium Grid or Docker.

He then explains how a remote or a local driver works. According to Boni, a driver is a piece of software or a binary file that we need to put in the middle of the test using the Selenium window API. We need this software because Selenium WebDriver automates the browser using each browser’s native capabilities, offering a standard protocol to the test, the W3C Web Driver standard.
Boni then goes on to talk about the build tools. As per him, build tools are utilities used to automate the creation of software applications from their source code.

Along with this, he talks about choosing the right Selenium IDE. As per him, every IDE has its advantages, some of which are very advanced. Hence the process of selecting an IDE depends on your capabilities.

Moving forward, Boni showcases an example of what a Selenium WebDriver with Java looks like with the elements he has explained so far. He showcases a sample test run using Selenium Grid and Docker.
Boni concludes the session with a few takeaways. They are:
He further answered the questions put forth by the audience, where Sudhir Josi, Head of Customer Success at TestMu AI, took the initiative to ask them on the audience’s behalf.
It was indeed an informative session with Boni! The session ended with a few questions asked by the attendees to Boni. Here is the Q&A:
After the successful Testμ Conference 2022, where thousands of testers, QA professionals, and developers worldwide joined together to discuss on future of testing.
Join the testing revolution at TestMu AI Testμ Conference 2023. Register now!” – The testing revolution is happening, and you don’t want to be left behind. Join us at TestMu AI Testμ Conference 2023 and learn how to stay ahead of the curve. Register now and be a part of the revolution.

Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance