Closed kazurayam closed 2 years ago
Probably I should change ChromeOptionsModifiers to cover the features covered by ChromePreferencesModifiers class in v0.6.0-SNAPSHOT. And get rid of ChromePreferenesModifiers class. I should not use Preferences at at. ---- I can make it, perhaps. Then the difference between Selenium 3 and 4 would no longer matter for me.
I will try this in the v0.6.1
I was confused somehow.
v0.6.1 works fine.
I will keep ChromePreferencesModifiers
See ChromeOptionsBuilderImpl, v0.6.0-SNAPSHOT
I found a difference between the API of Selenium 3 and the API of Selenium 4.
ChromeOption class of Selenium 3 expect us to call
chromeOptions.addArguments(String...)
ChromeOption class of Selenium3 expect us to call
chromeOptions.setExperimentalOption()
Well, not correct enough. Selenium 4 distinguishes "experimental" options and "approved" options. But Selenium 3 does not.