Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OperaDriver"/> class using the specified options.
 /// </summary>
 /// <param name="options">The <see cref="OperaOptions"/> to be used with the Opera driver.</param>
 public OperaDriver(OperaOptions options)
     : this(OperaDriverService.CreateDefaultService(), options, RemoteWebDriver.DefaultCommandTimeout)
 {
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OperaDriver"/> class using the specified path
 /// to the directory containing OperaDriver.exe, options, and command timeout.
 /// </summary>
 /// <param name="operaDriverDirectory">The full path to the directory containing OperaDriver.exe.</param>
 /// <param name="options">The <see cref="OperaOptions"/> to be used with the Opera driver.</param>
 /// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
 public OperaDriver(string operaDriverDirectory, OperaOptions options, TimeSpan commandTimeout)
     : this(OperaDriverService.CreateDefaultService(operaDriverDirectory), options, commandTimeout)
 {
 }