The PhantomJSDriverService type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
![]() | AdditionalArguments |
Gets the list of arguments appended to the PhantomJS command line as a string array.
|
![]() | ConfigFile |
Gets or sets the path to the JSON configuration file (in lieu of providing any other parameters).
|
![]() | CookiesFile |
Gets or sets the file name used to store the persistent cookies.
|
![]() | DiskCache |
Gets or sets a value indicating whether the disk cache is enabled (at desktop services cache storage location, default is no).
|
![]() | GhostDriverPath |
Gets or sets the location where the GhostDriver JavaScript file is located. This
allows the use of an external implementation of GhostDriver instead of the
implementation embedded inside the PhantomJS executable.
|
![]() | IgnoreSslErrors |
Gets or sets a value indicating whether SSL errors are ignored, such as expired or self-signed certificate errors (default is no).
|
![]() | IsRunning |
Gets a value indicating whether the service is running.
(Inherited from DriverService.) |
![]() | LoadImages |
Gets or sets a value indicating whether all inlined images are loaded (default is yes).
|
![]() | LocalStoragePath |
Gets or sets the path to save LocalStorage content and WebSQL content.
|
![]() | LocalStorageQuota |
Gets or sets the maximum size to allow for data.
|
![]() | LocalToRemoteUrlAccess |
Gets or sets a value indicating whether local content is allowed to access remote URL (default is no).
|
![]() | LogFile |
Gets or sets the location of the log file to which PhantomJS will write log
output. If this value is or an empty string, the log
output will be written to the console window.
|
![]() | MaxDiskCacheSize |
Gets or sets the size limit of the disk cache in KB.
|
![]() | OutputEncoding |
Gets or sets the encoding used for terminal output (default is "utf8").
|
![]() | Port |
Gets or sets the port of the service.
(Inherited from DriverService.) |
![]() | Proxy |
Gets or sets the proxy server information (in the format of {address} or {address}:{port}).
|
![]() | ProxyType |
Gets or sets the type of the proxy server ('http', 'socks5' or 'none').
|
![]() | ScriptEncoding |
Gets or sets the encoding used for the starting script (default is "utf8").
|
![]() | ServiceUrl |
Gets the Uri of the service.
(Inherited from DriverService.) |
![]() | SslProtocol |
Gets or sets the SSL protocol for secure connections ('sslv3' (default), 'sslv2', 'tlsv1' or 'any').
|
![]() | SuppressInitialDiagnosticInformation |
Gets or sets a value indicating whether the initial diagnostic information is suppressed
when starting the driver server executable. Defaults to , meaning
diagnostic information should be shown by the driver server executable.
(Inherited from DriverService.) |
![]() | WebSecurity |
Gets or sets a value indicating whether web security is enabled and forbids cross-domain XHR (default is yes).
|
See Also