kazurayam / chromedriverfactory

A Java library that enables you to launch Selenium ChromeDriver using an existing user Profile. That let you to carry cookies over multiple HTTP sessions via user Profile.
0 stars 0 forks source link

should refactor ChromeOptionsModifier & ChromeOptionsModifies as Enum #20

Closed kazurayam closed 2 years ago

kazurayam commented 2 years ago

ChromeOptionsModifier

ChromeOptionsModifiers

This 2 class can be reimplemented a set of Enums.

kazurayam commented 2 years ago

I found it is not possible to reimplement the 2 class as a single Enum.

But I could find a way of betterment. I introduced enum Type in the ChromeOptionsModifier.