System Properties
To enable remote debugging in Chrome (dev tools) by opening http://localhost:PORT
:
-Dchromium.remote_debugging_port=PORT
To print debugging logs in stdout:
-Dchromium.debug=true
Use this property to receive LocationListener events when use turbolink like links:
-Dchromium.turbolinks=true
Receive LocationListener events when use turbolink like links with specific request headers.
-Dchromium.turbolinks="HEADER1=VALUE1;HEADER2=VALUE2"
Allow non-http/s protocols to be handled by the OS. All protocols allowed.
-Dchromium.custom_protocol=true
Allow non-http/s protocols to be handled by the OS. All protocols allowed with confirmation dialog.
-Dchromium.custom_protocol=confirm
Allow non-http/s protocols to be handled by the OS. Allow only listed protocols.
-Dchromium.custom_protocol="PROTO1;PROTO2;"
Sets proxy using pac script url.
-Dchromium.proxy_pac_script="PAC_SCRIPT_URL"
Enable the call to LocationListener before starting a download.
-Dchromium.downloadLocationListener=true
Default find dialog for command (CTRL+F)
-Dchromium.find_dialog=true
Improve loading time of setText for large resources.
-Dchromium.setTextAsUrl=file:
Force initialize windowless browsers using the SWT toolkit.
-Dchromium.force_windowless_swt=true:
Use a PEM certificate when Chromium cannot validate the server’s certificate. If the certificate provided matches the server’s certificate, browsing is allowed. To set the custom .pem certificate:
-Dswt.chromium.ssl=/path/to/cert.pem
// TIP: .pem certificates can be downloaded with any browser or with Openssl:
// - echo -n | openssl s_client -connect url.com:443 | openssl x509 > cert.pem