Skip to content

Commit 7f385f5

Browse files
committed
Fix Opera preferences
1 parent 4239082 commit 7f385f5

File tree

1 file changed

+1
-2
lines changed
  • Aquality.Selenium/src/Aquality.Selenium/Configurations/WebDriverSettings

1 file changed

+1
-2
lines changed

Aquality.Selenium/src/Aquality.Selenium/Configurations/WebDriverSettings/OperaSettings.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ private void SetOperaPrefs(OperaOptions options)
4040
{
4141
foreach (var option in BrowserOptions)
4242
{
43-
var value = option.Key == DownloadDirCapabilityKey ? DownloadDir : option.Value;
44-
options.AddUserProfilePreference(option.Key, value);
43+
options.AddUserProfilePreference(option.Key, option.Value);
4544
}
4645
}
4746

0 commit comments

Comments
 (0)