Skip to content

Commit 962a34b

Browse files
committed
[dotnet] allow running tests with Edge
1 parent 4162f47 commit 962a34b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dotnet/test/common/Environment/DriverFactory.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ public IWebDriver CreateDriverWithOptions(Type driverType, DriverOptions driverO
4646
browser = Browser.Chrome;
4747
options = GetDriverOptions<ChromeOptions>(driverType, driverOptions);
4848
}
49+
if (typeof(EdgeDriver).IsAssignableFrom(driverType))
50+
{
51+
browser = Browser.Edge;
52+
options = GetDriverOptions<EdgeOptions>(driverType, driverOptions);
53+
}
4954
else if (typeof(InternetExplorerDriver).IsAssignableFrom(driverType))
5055
{
5156
browser = Browser.IE;

0 commit comments

Comments
 (0)