Skip to content

Commit 74f96fd

Browse files
committed
Adding explicit current-release Firefox test class for .NET
1 parent 5ae088c commit 74f96fd

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace OpenQA.Selenium.Firefox
2+
{
3+
// This is a simple wrapper class to create a FirefoxDriver that
4+
// uses the Marionette implementation and has no parameters in the
5+
// constructor.
6+
public class ReleaseFirefoxWebDriver : FirefoxDriver
7+
{
8+
public ReleaseFirefoxWebDriver()
9+
: base(new FirefoxOptions() { BrowserExecutableLocation = @"C:\Program Files\Mozilla Firefox\firefox.exe" })
10+
{
11+
}
12+
}
13+
}

dotnet/test/firefox/WebDriver.Firefox.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<Compile Include="FirefoxProfileManagerTest.cs" />
4949
<Compile Include="FirefoxProfileTests.cs" />
5050
<Compile Include="LegacyFirefoxWebDriver.cs" />
51+
<Compile Include="ReleaseFirefoxWebDriver.cs" />
5152
<Compile Include="NightlyFirefoxWebDriver.cs" />
5253
<Compile Include="Properties\AssemblyInfo.cs" />
5354
</ItemGroup>

0 commit comments

Comments
 (0)