PhantomJSDriverService MembersWebDriver

The PhantomJSDriverService type exposes the following members.
Methods

  NameDescription
Public methodAddArgument
Adds a single argument to the list of arguments to be appended to the PhantomJS.exe command line.
Public methodAddArguments(IEnumerable String )
Adds arguments to be appended to the PhantomJS.exe command line.
Public methodAddArguments( String )
Adds arguments to be appended to the PhantomJS.exe command line.
Public methodStatic memberCreateDefaultService 
Creates a default instance of the PhantomJSDriverService.
Public methodStatic memberCreateDefaultService(String)
Creates a default instance of the PhantomJSDriverService using a specified path to the PhantomJS executable.
Public methodDispose 
Releases all resources associated with this DriverService.
(Inherited from DriverService.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStart
Starts the DriverService.
(Inherited from DriverService.)
Public methodToJson
Serializes the service options to JSON to be used as a configuration file for PhantomJS.exe (via the --config argument).
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAdditionalArguments
Gets the list of arguments appended to the PhantomJS command line as a string array.
Public propertyConfigFile
Gets or sets the path to the JSON configuration file (in lieu of providing any other parameters).
Public propertyCookiesFile
Gets or sets the file name used to store the persistent cookies.
Public propertyDiskCache
Gets or sets a value indicating whether the disk cache is enabled (at desktop services cache storage location, default is no).
Public propertyGhostDriverPath
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.
Public propertyIgnoreSslErrors
Gets or sets a value indicating whether SSL errors are ignored, such as expired or self-signed certificate errors (default is no).
Public propertyIsRunning
Gets a value indicating whether the service is running.
(Inherited from DriverService.)
Public propertyLoadImages
Gets or sets a value indicating whether all inlined images are loaded (default is yes).
Public propertyLocalStoragePath
Gets or sets the path to save LocalStorage content and WebSQL content.
Public propertyLocalStorageQuota
Gets or sets the maximum size to allow for data.
Public propertyLocalToRemoteUrlAccess
Gets or sets a value indicating whether local content is allowed to access remote URL (default is no).
Public propertyLogFile
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.
Public propertyMaxDiskCacheSize
Gets or sets the size limit of the disk cache in KB.
Public propertyOutputEncoding
Gets or sets the encoding used for terminal output (default is "utf8").
Public propertyPort
Gets or sets the port of the service.
(Inherited from DriverService.)
Public propertyProxy
Gets or sets the proxy server information (in the format of {address} or {address}:{port}).
Public propertyProxyType
Gets or sets the type of the proxy server ('http', 'socks5' or 'none').
Public propertyScriptEncoding
Gets or sets the encoding used for the starting script (default is "utf8").
Public propertyServiceUrl
Gets the Uri of the service.
(Inherited from DriverService.)
Public propertySslProtocol
Gets or sets the SSL protocol for secure connections ('sslv3' (default), 'sslv2', 'tlsv1' or 'any').
Public propertySuppressInitialDiagnosticInformation
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.)
Public propertyWebSecurity
Gets or sets a value indicating whether web security is enabled and forbids cross-domain XHR (default is yes).
Back to Top
See Also