Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OperaDriver"/> class using the specified path
 /// to the directory containing OperaDriver.exe and options.
 /// </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>
 public OperaDriver(string operaDriverDirectory, OperaOptions options)
     : this(operaDriverDirectory, options, RemoteWebDriver.DefaultCommandTimeout)
 {
 }
Exemple #2
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)
 {
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OperaDriver"/> class using the specified
 /// <see cref="OperaDriverService"/> and options.
 /// </summary>
 /// <param name="service">The <see cref="OperaDriverService"/> to use.</param>
 /// <param name="options">The <see cref="OperaOptions"/> used to initialize the driver.</param>
 public OperaDriver(OperaDriverService service, OperaOptions options)
     : this(service, options, RemoteWebDriver.DefaultCommandTimeout)
 {
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OperaDriver"/> class using the specified <see cref="OperaDriverService"/>.
 /// </summary>
 /// <param name="service">The <see cref="OperaDriverService"/> to use.</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(OperaDriverService service, OperaOptions options, TimeSpan commandTimeout)
     : base(new DriverServiceCommandExecutor(service, commandTimeout), options.ToCapabilities())
 {
 }
Exemple #5
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)
 {
 }