示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SafariDriver"/> class using the specified <see cref="SafariOptions"/>.
 /// </summary>
 /// <param name="options">The <see cref="SafariOptions"/> to use for this <see cref="SafariDriver"/> instance.</param>
 public SafariDriver(SafariOptions options)
     : this(SafariDriverService.CreateDefaultService(), options)
 {
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SafariDriver"/> class using the specified path
 /// to the directory containing safaridriver, options, and command timeout.
 /// </summary>
 /// <param name="safariDriverDirectory">The full path to the directory containing SafariDriver executable.</param>
 /// <param name="options">The <see cref="SafariOptions"/> to be used with the Safari driver.</param>
 /// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
 public SafariDriver(string safariDriverDirectory, SafariOptions options, TimeSpan commandTimeout)
     : this(SafariDriverService.CreateDefaultService(safariDriverDirectory), options, commandTimeout)
 {
 }