CreateDefaultService() публичный статический Метод

Creates a default instance of the InternetExplorerDriverService.
public static CreateDefaultService ( ) : InternetExplorerDriverService
Результат InternetExplorerDriverService
Пример #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 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)
 {
 }
Пример #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 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))
 {
 }