Testing Embedded Chrome Applications

An embedded Chrome application is a desktop application with an embedded web browser engine that is based on the Chromium core. Such applications enable you to add web browser capabilities to a desktop application. You can create such an app by using for example the Chromium Embedded Framework (CEF) or the Electron framework.

Silk4NET provides full support for testing embedded Chrome applications that allow remote debugging through the --remote-debugging-port command line argument. Silk4NET does not support testing embedded Chrome applications that are based on Java, for example Java AWT and Swing applications.

To test an embedded Chrome application with Silk4NET, you have to set the debugging ports for the executable of the application. Start the application from the command line and set the remote debugging port.

Note: You cannot test embedded Chrome applications that do not allow remote debugging with Silk4NET.
Note: Silk4NET does not support testing non-browser menus of Electron apps.

Example

For example, you can start the application myApp from the command line as follows:
myApp.exe --remote-debugging-port=9222
You can then specify the executable and port in the Enable embedded Chrome support option as follows:
myApp.exe=9222