MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / DriverOptions

Method DriverOptions

dotnet/src/webdriver/DriverOptions.cs:83–94  ·  view source on GitHub ↗

Initializes a new instance of the class.

()

Source from the content-addressed store, hash-verified

81 /// Initializes a new instance of the <see cref="DriverOptions"/> class.
82 /// </summary>
83 protected DriverOptions()
84 {
85 this.AddKnownCapabilityName(CapabilityType.BrowserName, "BrowserName property");
86 this.AddKnownCapabilityName(CapabilityType.BrowserVersion, "BrowserVersion property");
87 this.AddKnownCapabilityName(CapabilityType.PlatformName, "PlatformName property");
88 this.AddKnownCapabilityName(CapabilityType.Proxy, "Proxy property");
89 this.AddKnownCapabilityName(CapabilityType.UnhandledPromptBehavior, "UnhandledPromptBehavior property");
90 this.AddKnownCapabilityName(CapabilityType.PageLoadStrategy, "PageLoadStrategy property");
91 this.AddKnownCapabilityName(CapabilityType.UseStrictFileInteractability, "UseStrictFileInteractability property");
92 this.AddKnownCapabilityName(CapabilityType.WebSocketUrl, "UseWebSocketUrl property");
93 this.AddKnownCapabilityName(CapabilityType.EnableDownloads, "EnableDownloads property");
94 }
95
96 /// <summary>
97 /// Gets or sets the name of the browser.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected