Skip to main content
Kofax

How to configure a proxy for the Chromium browser (CEF)

3011747

Question / Problem: 

How to add a proxy server IP used by the Chromium Embedded Framework (CEF)?

Answer / Solution: 

Setting Proxy for ALL robots using CEF

On the machine where Design Studio is running:

Go to the Kofax RPA\ Kapow installation folder: C:\Program Files\[release] \nativelib\hub\windows-x32\[id]\node_modules\cef

Edit the cef.cfg file

Add a line at the end with the ip and port of the proxy.

Example:
chrome:proxy-server=127.0.0.1:8888
Save the file and restart the studio for the setting to take effect. This will set the proxy for all robots (running on the machine where the change was made).

NOTE:

  1. Proxies set in cef.cfg have to be anonymous (i.e. you cannot specify id and password credentials)
  2. Starting in v10.4 CEF can use the proxy set in Design Studio Settings /Cluster Settings (where user/password can be used). However, if this proxy is used, the proxy in cef.cfg has to be removed, they cannot be used at the same time.
Setting Proxy for a single robot

For a single robot you can use the highlighted button below in the browser. Configuration instructions can be found in the Kofax RPA Users Guide.

cef.png

If the proxy requires authentication, CEF will prompt for the credentials after the page is reloaded:

clipboard_ee4a6cf9ebea4a982827ff044ca0de6ca.png

Applies to:  

Product Version Category
Kofax RPA >= 10.3 Device/Desktop Automation