Skip to content

Commit

Permalink
Fixing resource name for .NET Firefox profile preferences JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Mar 17, 2020
1 parent 004af1e commit 1b9e427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Firefox/FirefoxProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private void UpdateUserPreferences()

private void ReadDefaultPreferences()
{
using (Stream defaultPrefsStream = ResourceUtilities.GetResourceStream("webdriver_prefs.json", "WebDriver.FirefoxPreferences"))
using (Stream defaultPrefsStream = ResourceUtilities.GetResourceStream("webdriver_prefs.json", "webdriver_preferences.json"))

This comment has been minimized.

Copy link
@jdpurcell

jdpurcell Apr 3, 2020

Contributor

@jimevans I'm still getting an error here with v4.0.0-alpha05 from NuGet. ResourceId is the second parameter here ("webdriver_preferences.json"), but when I look in WebDriver.dll with ILSpy the resource is named "webdriver_prefs.json".

{
using (StreamReader reader = new StreamReader(defaultPrefsStream))
{
Expand Down

0 comments on commit 1b9e427

Please sign in to comment.