Usage of Enum in Selenium WebDriver Scripts
An Enum in Java is a type which is used to define a collection of constants. For an example – We have fixed number of days in a week. We can use an Enum type in Java to store these days. In our Selenium WebDriver scripts, we may pass a browser name as a string…