Skip to content

Commit

Permalink
[dotnet] allow running tests with Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jul 23, 2023
1 parent 4162f47 commit 962a34b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dotnet/test/common/Environment/DriverFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public IWebDriver CreateDriverWithOptions(Type driverType, DriverOptions driverO
browser = Browser.Chrome;
options = GetDriverOptions<ChromeOptions>(driverType, driverOptions);
}
if (typeof(EdgeDriver).IsAssignableFrom(driverType))
{
browser = Browser.Edge;
options = GetDriverOptions<EdgeOptions>(driverType, driverOptions);
}
else if (typeof(InternetExplorerDriver).IsAssignableFrom(driverType))
{
browser = Browser.IE;
Expand Down

0 comments on commit 962a34b

Please sign in to comment.