private static ICapabilities ConvertOptionsToCapabilities(SafariOptions options) { if (options == null) { throw new ArgumentNullException("options", "options must not be null"); } return(options.ToCapabilities()); }
/// <summary> /// Initializes a new instance of the <see cref="SafariDriver"/> class using the specified <see cref="SafariOptions"/>. /// </summary> /// <param name="options">The <see cref="SafariOptions"/> to use for this <see cref="SafariDriver"/> instance.</param> public SafariDriver(SafariOptions options) : base(new SafariDriverCommandExecutor(options), options.ToCapabilities()) { }
private static ICapabilities ConvertOptionsToCapabilities(SafariOptions options) { if (options == null) { throw new ArgumentNullException("options", "options must not be null"); } return options.ToCapabilities(); }