© Courtney Zhan, Edited by Zhimin Zhan 2024
Z. Zhan (ed.)Selenium WebDriver Recipes in C#https://doi.org/10.1007/979-8-8688-0023-8_23

23. Selenium 4

Courtney Zhan1  
(1)
Fitzgibbon, QLD, Australia
 

Selenium WebDriver 4 was released in October, 2021. In this chapter, we will cover some new features in Selenium 4.

Chrome For Testing

Since Selenium v4.11 and Chrome version 115, Chrome for Testing is now supported. This makes testing different browser versions much easier. It allows you to specify the browser version inside the test script, including unreleased Chrome versions (e.g. Beta or Dev).

To set this up, first download ChromeDriver from the Chrome for Testing page.1 Follow the same steps in the introduction to select the Chrome version you want, download ...

Get Selenium WebDriver Recipes in C#: Practical Testing Solutions for Selenium WebDriver now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.