Create a class that has setters and getters of Selenium WebDrivers. Supported Web Browsers must have methods having default recommended browser options and another providing users the option to specify those browser options themselves.
The following must be the supported Web Browsers:
Google Chrome
Mozilla Firefox
Safari (Mac only)
Microsoft Edge
Internet Explorer (Windows only)
As specified above, there should be checks made on the Operating System where the automation is being run to verify that Web Browser selected is supported.
Description
Create a class that has setters and getters of Selenium WebDrivers. Supported Web Browsers must have methods having default recommended browser options and another providing users the option to specify those browser options themselves.
The following must be the supported Web Browsers:
As specified above, there should be checks made on the Operating System where the automation is being run to verify that Web Browser selected is supported.
Note: Utilize WebDriver Manager for the implementation.
Dependencies