Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternetExplorerDriver"/> class using the specified driver service.
 /// </summary>
 /// <param name="service">The <see cref="InternetExplorerDriverService"/> used to initialize the driver.</param>
 public InternetExplorerDriver(InternetExplorerDriverService service)
     : this(service, new InternetExplorerOptions())
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternetExplorerDriver"/> class with the desired
 /// options.
 /// </summary>
 /// <param name="options">The <see cref="InternetExplorerOptions"/> used to initialize the driver.</param>
 public InternetExplorerDriver(InternetExplorerOptions options)
     : this(InternetExplorerDriverService.CreateDefaultService(), options)
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternetExplorerDriver"/> class using the specified
 /// <see cref="DriverService"/>, <see cref="InternetExplorerOptions"/>, and command timeout.
 /// </summary>
 /// <param name="service">The <see cref="InternetExplorerDriverService"/> to use.</param>
 /// <param name="options">The <see cref="InternetExplorerOptions"/> used to initialize the driver.</param>
 /// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
 public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options, TimeSpan commandTimeout)
     : base(new DriverServiceCommandExecutor(service, commandTimeout), options.ToCapabilities())
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternetExplorerDriver"/> class using the specified
 /// <see cref="InternetExplorerDriverService"/> and options.
 /// </summary>
 /// <param name="service">The <see cref="DriverService"/> to use.</param>
 /// <param name="options">The <see cref="InternetExplorerOptions"/> used to initialize the driver.</param>
 public InternetExplorerDriver(InternetExplorerDriverService service, InternetExplorerOptions options)
     : this(service, options, RemoteWebDriver.DefaultCommandTimeout)
 {
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternetExplorerDriver"/> class using the specified path
 /// to the directory containing IEDriverServer.exe, options, and command timeout.
 /// </summary>
 /// <param name="internetExplorerDriverServerDirectory">The full path to the directory containing IEDriverServer.exe.</param>
 /// <param name="options">The <see cref="InternetExplorerOptions"/> used to initialize the driver.</param>
 /// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
 public InternetExplorerDriver(string internetExplorerDriverServerDirectory, InternetExplorerOptions options, TimeSpan commandTimeout)
     : this(InternetExplorerDriverService.CreateDefaultService(internetExplorerDriverServerDirectory), options, commandTimeout)
 {
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternetExplorerDriver"/> class using the specified path
 /// to the directory containing IEDriverServer.exe and options.
 /// </summary>
 /// <param name="internetExplorerDriverServerDirectory">The full path to the directory containing IEDriverServer.exe.</param>
 /// <param name="options">The <see cref="InternetExplorerOptions"/> used to initialize the driver.</param>
 public InternetExplorerDriver(string internetExplorerDriverServerDirectory, InternetExplorerOptions options)
     : this(InternetExplorerDriverService.CreateDefaultService(internetExplorerDriverServerDirectory), options)
 {
 }