Skip to content

Commit

Permalink
Adding default Safari driver class for .NET tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jun 5, 2018
1 parent 4c1eca1 commit 32b8c43
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dotnet/test/safari/DefaultSafariDriver.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
namespace OpenQA.Selenium.Safari
{
// This is a simple wrapper class to create a SafariDriver that
// uses the technology preview implementation and has no parameters in the
// constructor.
public class DefaultSafariDriver : SafariDriver
{
public DefaultSafariDriver()
: this(DefaultService, new SafariOptions())
{
}

public DefaultSafariDriver(SafariDriverService service, SafariOptions options)
: base(service, options)
{
}

public static SafariDriverService DefaultService
{
get { return SafariDriverService.CreateDefaultService("/usr/bin"); }
}
}
}

0 comments on commit 32b8c43

Please sign in to comment.