Preferences/Settings Dialog
- 3 minutes to read
The Preferences/Settings dialog contains the following settings:
- Network Settings
- SSL Settings
- Page Request Settings
- HTTP Settings
- Appearance Settings
- Data Sharing Settings
To open the dialog:
- On macOS: Select Preferences from the TestCafe Studio menu.
- On Windows and Linux: Select Settings from the File menu.
#Network Settings
Options | Description | Default |
---|---|---|
Hostname | The hostname of the server that runs Test | Auto Detect is on. Test |
Record Ports | Two network ports to use when Test | Auto Detect is on. Test |
Run Ports | Two network ports to use when Test | Auto Detect is on. Test |
Proxy URL | The proxy server that routes network requests. The value can include authentication credentials. Examples: proxy. |
|
Bypass proxy for | You may need to bypass the proxy to gain access to some resources — including local resources. Add these resource URLs to the Bypass proxy for field. Separate the list of URLs with a comma - do not add spaces. Use the * wildcard to indicate variable URL parts. For example, localhost:8080 or *. |
|
Note
Your Run Ports should not match your Record Ports. Otherwise, you may not be able to record tests and run tests at the same time.
#SSL Settings
SSL Settings come in effect when TestCafe serves test pages over HTTPS.
Options | Description | Default |
---|---|---|
Use SSL | Serves pages over HTTPS. | Off |
Custom Certificate | Encrypts HTTPS connections with a custom SSL certificate. If this option is disabled, Test | Off |
Certificate | The file that contains the custom certificate. |
|
Private Key | The private key of the Certificate holder. |
|
#Retry Test Pages
Enable the Retry Test Pages option to retry failing page requests. The maximum number of attempts is 10. This capability requires a secure connection since it makes use of Service Workers. Enable HTTPS or set hostname to localhost
.
#HTTP Settings
Turn the Disable HTTP\2 option on to disable support for HTTP\2 requests.
#Appearance
The Appearance menu allows you to switch between UI themes.
TestCafe Studio includes two UI themes: Light and Dark. The System default option automatically matches the operating system theme.
#Data Sharing
Select the Join the Customer Experience and Notification Program checkbox to send usage statistics and crash reports to DevExpress. You can opt out at any time.