File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/io/github/burakkaygusuz/config Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ protected FirefoxOptions getOptions() {
5555 EDGE {
5656 @ Override
5757 protected EdgeOptions getOptions () {
58- Map <String , Object > prefs = new HashMap <>();
59- prefs . put ("profile.default_content_setting_values.notifications" , 2 );
60- prefs . put ("profile.managed_default_content_settings.javascript" , 1 );
61- prefs . put ("credentials_enable_service" , false );
62- prefs . put ("profile.password_manager_enabled" , false );
58+ Map <String , Object > prefs = Map . ofEntries (
59+ Map . entry ("profile.default_content_setting_values.notifications" , 2 ),
60+ Map . entry ("profile.managed_default_content_settings.javascript" , 1 ),
61+ Map . entry ("credentials_enable_service" , false ),
62+ Map . entry ("profile.password_manager_enabled" , false ) );
6363
6464 final EdgeOptions edgeOptions = new EdgeOptions ();
6565 edgeOptions
You can’t perform that action at this time.
0 commit comments