예제 #1
0
 public void WithEdge(EdgeVersion edgeVersion)
 {
     if (edgeVersion == null)
     {
         throw new ArgumentNullException("Please supply a valid EdgeVersion. You suplied an invalid value=>" +
                                         edgeVersion);
     }
     ConfiguredEdgeOptions.BrowserVersion = edgeVersion.Value;
     ConfiguredEdgeOptions.PlatformName   = DEFAULT_PLATFORM;
 }
예제 #2
0
 public void WithEdge(EdgeVersion edgeVersion)
 {
     if (edgeVersion == null)
     {
         throw new ArgumentNullException("Please supply a valid EdgeVersion. You suplied an invalid value=>" +
                                         edgeVersion);
     }
     ConfiguredEdgeOptions = new EdgeOptions
     {
         BrowserVersion = edgeVersion.Value,
         PlatformName   = DefaultPlatform
     };
 }