Skip to main content
Kofax

How to enable support for Flash in Chromium Embedded Framework (CEF)

307523

Question / Problem: 

The robot needs to interact with a page using Flash, therefore this can't be done in webkit. How can Flash be enabled in a robot using Chromium Embedded Framework (CEF)?

Answer / Solution: 

 To enable Flash in CEF follow the steps below:

  1. Install the Adobe Flash plugin from here: https://get.adobe.com/flashplayer/otherversions/.
  2. Navigate to the Kofax RPA (Kapow) installation folder. By default C:\Program Files\Kofax RPA <version> (or C:\Program Files\Kapow <version>)
  3. Navigate to \nativelib\hub\windows-x32\<id>\node_modules\cef
  4. Open cef.cfg with a text editor (that will allow edits to the file - this depends on the user's permissions)
  5. Add the following line in the cef.cfg file:

    chrome:enable-system-flash = true
     
  6. Save cef.cfg and restart Design Studio or RoboServer.

The settings above (install Adobe Flash and adding the switch in cef.cfg have to be done on all machines where the robot will run.

E.g. on the Design Studio where the robot will be built and on ALL RoboServers where the robot could run.

 

Applies to:  

Product Version Category
RPA 10.3+ Desktop Automation

 

Author:  Delia Milchis