/// <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) { }
/// <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) { }
/// <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) { }
/// <summary> /// Initializes a new instance of the 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, TimeSpan.FromSeconds(60)) { }