Selenium For Beginners

Share this post

User's avatar
Selenium For Beginners
Programming to an interface in Selenium WebDriver
eBooks

Programming to an interface in Selenium WebDriver

PART 1

Alex Siminiuc's avatar
Alex Siminiuc
Nov 24, 2024
∙ Paid
2

Share this post

User's avatar
Selenium For Beginners
Programming to an interface in Selenium WebDriver
Share

It is not sufficient to write code that works for test automation of websites using the

Selenium WebDriver library.

The code has to be well designed as well so that it is

  • easy to understand

  • flexible

  • easy to maintain

  • easy to change

Interfaces help with all these requirements.

This means creating an interface for each class and using the interface type for all class’s objects.

This ebook has 3 parts.

Part 1 is about a demo project that explains how interfaces can be used in general.

Part 2 creates a demo Selenium project that uses interfaces to make automation code

short and reduce the number of tests. This project focuses on the code design so does

not use any Selenium objects and classes.

Part 3 updates the project from Part 2 with the Selenium objects and classes so you can see how things really work in the browser.

Keep reading with a 7-day free trial

Subscribe to Selenium For Beginners to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Alex Siminiuc
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share