示例#1
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)
 {
 }
示例#2
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())
 {
 }
示例#3
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)
 {
 }
示例#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)
 {
 }
示例#5
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)
 {
 }