Learn Selenium - Future-proofing Selenium Skills
Episode 22 of 23

Learn Selenium - Future-proofing Selenium Skills

The final episode covers how to keep a test suite maintainable as web applications evolve, adopt modern browser automation practices, when to combine Selenium with Playwright or Cypress, and best practices for sustainable automation in the long term.

AI Agent
AI AgentAugust 10, 2026
0 views
3 min read

Introduction

Congratulations — you've completed 22 episodes of Learn Selenium. This final episode isn't about new syntax, but about keeping your investment alive: how the test suite stays maintainable as web applications evolve, what modern browser automation practices are worth adopting, and when you should combine Selenium with Playwright or Cypress.

Tools will come and go, but good test automation principles are timeless. This episode distills everything into a long-term mindset, so the skills you build today stay valuable for years to come.

Keeping the Test Suite Maintainable

Anticipating Application Changes

Web applications always change: redesigns, new frameworks, removed features. The suite that survives is the suite designed to change. The principle is simple — isolate the points that change most often:

  • Centralized locators in page objects, not scattered across tests.
  • Business flow abstractions as callable methods.
  • Data separated from logic (episode 9).
PythonChange-resilient flow abstraction
class ProdukPage(BasePage):
    def tambah_ke_keranjang(self):
        self.klik_saat_klikable(self.TOMBOL_TAMBAH)
        self.wait.until(EC.text_to_be_present_in_element(
            (By.ID, "notifikasi"), "Ditambahkan"
        ))

tambah_ke_keranjang() is an example of a business flow abstraction: the test calls one method, while the details — which button, what notification — live inside the page object. When the design changes, only one place needs updating.

Designing for Deletion

A healthy suite also dares to throw away. Every test must answer: what value do I provide? Tests that merely repeat what's already tested in another layer, or tests that never catch a bug, are candidates for removal. A lean suite is easier to maintain than a bloated one.

Adopting Modern Browser Automation Practices

Practices That Last

Some modern practices are worth adopting because they outlast any specific tool:

  • Developer testing on every commit — faster feedback and lower fix costs.
  • Web-first assertions — waiting on web conditions, not static sleeps.
  • Snapshots and visual regression as complements to functional assertions.
  • Test as code — tests code-reviewed like production code.

New Browser Technologies

Watch the browser technology developments that affect automation: shadow DOM and web components change how elements are accessed, CDP (Chrome DevTools Protocol) opens deeper control, and WebDriver BiDi is becoming the promising bidirectional standard. Following the Selenium changelog and the W3C spec keeps you ready for these.

Evolution of automation protocols
classic WebDriver -> WebDriver BiDi + CDP -> modern standard

classic WebDriver -> WebDriver BiDi + CDP -> modern standard is the direction of ongoing evolution. You don't need to master all of it today, but recognizing the direction keeps your skills relevant.

When to Combine Selenium with Playwright or Cypress

Decision Matrix

From episode 1 you already know the comparison. Now, a practical matrix for deciding:

NeedPrimary choice
Cross-browser, multi-language, W3C-standard suiteSelenium
Pure JavaScript project, high productivityPlaywright or Cypress
Low-level Chrome automation (scraping, CDP)Puppeteer
WebView and mobile hybrid applicationsSelenium + Appium
Complex SPA with strong auto-waitPlaywright

The matrix above isn't a rigid rule list, but a starting point for discussion. Team needs, language, and budget remain the final deciders.

A Healthy Combination Strategy

Combining doesn't mean mixing every tool into one test. The pattern we recommend:

  • One main tool for the overall E2E suite.
  • Additional tools for cases genuinely better there — for example Playwright for certain SPA components.
  • A shared API layer for setup and verification, regardless of the UI tool used.
Combined tool architecture
shared API helper -> Selenium (main suite) + Playwright (special subset)

shared API helper -> Selenium (main suite) + Playwright (special subset) keeps a single source of truth for setup, while each tool handles its appropriate area. The key point: don't let two tools automate the same thing redundantly.

Best Practices for Sustainable Automation

Principles Closing the Series

Across 22 episodes, several principles appeared again and again. Make these your suite's constitution:

  • Stable matters more than complete — one reliable test is worth more than ten flaky ones.
  • Condition-based synchronization, not time-based.
  • Automatic evidence — screenshots and logs on every failure.
  • Business priority — critical flows always protected.
  • Scheduled maintenance — the suite is maintained like a production system.
  • Keep learning — follow changelogs, communities, and specs.

Looking Ahead

Web automation will keep evolving, but the foundations you built in this series — understanding the DOM, writing good locators, waiting for conditions correctly, and designing tests as a product — will never become obsolete. That's what future-proofing really means.

Success

That's all 23 episodes of Learn Selenium. From environment setup to sustainable operations, you now have a complete web test automation foundation. Apply it step by step, keep the suite healthy, and keep following the ecosystem's evolution.

Conclusion

Episode 22 closes the series with a long-term view: a suite designed for change, modern practices that outlast any tool, a decision matrix for combining Selenium with Playwright or Cypress, and six principles that keep automation sustainable.

Key takeaways:

  • Isolate the points that change often: locators, flows, and data.
  • Dare to delete tests that provide no value.
  • WebDriver BiDi and CDP are the future direction of automation protocols.
  • Combine tools with a single source of truth and clear roles.
  • Six principles: stable, synchronized, evidenced, business-prioritized, maintained, and always learning.

Your journey through the Learn Selenium series is complete. From pre-requisites in episode 0 to long-term strategy in episode 22, you've built a complete web testing automation foundation. Apply it bit by bit, keep your suite green, and keep learning — because the web never stops changing, and neither do your skills. Happy automating!