Deep Dive with Selenium 4.0

By Manoj K

Elevator Pitch

Selenium 4.0 was designed as a “drop-in” replacement for Selenium 3, there are new features that you may not be familiar with, which have been designed to make your tests more flexible and capable and observable. Join us to explore the new features which can be applied generally by everyone.

Description

Key Takeaways: How to explore a web application in the context of automating it Identify browsers to automate * Picking an appropriate language for your context * Working examples of the basic WebDriver interactions * Understand new Selenium 4.0 APIs and what is needed to move from Selenium 3.0 to 4.0 * How to use CDP (Chrome dev tools protocols) to achieve more scenarios like Network Interception, JS Exceptions Event Listeners * What is WebDriver Bidi? * How to navigate the Selenium landscape to find information on your own * Primer on Design Patterns for Test Automation framework

Notes

Selenium has been a defacto choice for Web application automated testing and this has enabled extension to other platforms such as Mobile apps where we could automate using the Appium library. There are modern tools which claim that they do the best and remove flakiness totally through their marketing efforts - which isn’t true. Those tools are mostly built on top of Chrome dev tools protocol - which is primarily meant for debugging quick actions for web developers and it’s a chatty protocol. Whereas, Selenium is a W3C recommended browser automation framework which will perform click or any other actions outside the browser context - where it closely mimics a user behaviour and is a true E2E automation framework.

Selenium 4.0 is new and with a lot of features and still, a lot of people use them. I’m a long-time contributor and a member of the Project leadership committee for the Selenium project. I’m proposing this workshop to share with CAST attendees what’s new in Selenium 4.0 is all about and how best they can utilise those new additions and all the attendees will have working code on their laptops while they leave.

Many people in the Testing landscape have made a living out of Selenium including me, and this is one way of contributing more to the community by sharing with a new set of people. This will be my first appearance at CAST and am all excited.

I can run this workshop all-day long(or 60, 90, 180 minutes) and can customise based on what would work best for the over all program.