Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions dotnet/src/webdriver/PhantomJS/PhantomJSDriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ private PhantomJSDriverService(string executablePath, string executableFileName,
[CommandLineArgumentName("proxy-type")]
public string ProxyType { get; set; }

/// <summary>
/// Gets or sets the proxy authentication info (e.g. username:password).
/// </summary>
[JsonProperty("proxyAuth", NullValueHandling = NullValueHandling.Ignore)]
[CommandLineArgumentName("proxy-auth")]
public string ProxyAuth { get; set; }

/// <summary>
/// Gets or sets the encoding used for the starting script (default is "utf8").
/// </summary>
Expand All @@ -173,6 +180,13 @@ private PhantomJSDriverService(string executablePath, string executableFileName,
[CommandLineArgumentName("ssl-protocol")]
public string SslProtocol { get; set; }

/// <summary>
/// Gets or sets the location for custom CA certificates (if none set, uses system default).
/// </summary>
[JsonProperty("sslCertificatesPath", NullValueHandling = NullValueHandling.Ignore)]
[CommandLineArgumentName("ssl-certificates-path")]
public string SslCertificatesPath { get; set; }

/// <summary>
/// Gets or sets a value indicating whether web security is enabled and forbids cross-domain XHR (default is yes).
/// </summary>
Expand Down