Provide a filename, and an absolute path or a path relative to the data directory, to set up a persistent cache file. If the file doesn't exist, the emulator creates it as an empty file. If you don't use this option, the default is a temporary file named cache.img. Configure remote access options in Chrome Remote Desktop host. Chrome Remote Desktop host is a native service that runs on the target machine that a user can connect to using Chrome Remote Desktop application. The native service is packaged and executed separately from the Google Chrome browser.
Capabilities & ChromeOptions
|
Name | Type | Default | Description |
---|---|---|---|
enableNetwork | boolean | true | Whether or not to collect events from Network domain. |
enablePage | boolean | true | Whether or not to collect events from Page domain. |
traceCategories | string | (empty) | A comma-separated string of Chrome tracing categories for which trace events should be collected. An unspecified or empty string disables tracing. |
bufferUsageReportingInterval | positive integer | 1000 | The requested number of milliseconds between DevTools trace buffer usage events. For example, if 1000, then once per second, DevTools will report how full the trace buffer is. If a report indicates the buffer usage is 100%, a warning will be issued. |
Returned Capabilities
This is a list of all the Chrome-specific returned capabilities. (i.e., what ChromeDriver returns when you create a new session)
Name | Type | Description |
---|---|---|
chrome.chromedriverVersion | string | version of ChromeDriver |
userDataDir | string | path to user data directory that Chrome is using; note, this is inside a 'chrome' dictionary |
ChromeDriver server command line arguments
Run
chromedriver
--help
to see command line arguments for your version.You can do this by creating a new hidden preference.
- Type about:config into the location bar and press enter
- Accept the warning message that appears, you will be taken to a list of preferences
- Right-click somewhere in the list and select 'New > String'
- For the name of the preference type browser.cache.disk.parent_directory
- For its value type the path to where you want to store the cache
- Next locate the preference browser.cache.disk.enable, it must be set to true, if it is not, double-click on it to change its value
![Search Search](http://merchantprotocol.com/wp-content/uploads/2012/10/increase-cache-memory-in-chrome.jpg)
For more information on this see http://kb.mozillazine.org/Browser.cache.disk.parent_directory (the mozillaZine knowledge base is down at time of posting, but should hopefully be back up soon)