Categories

JXBrowser support

What is JxBrowser?

JxBrowser is an application layer for integrating modern web pages, containing HTML, CSS and Javascript, into Java applications. It allows building GUI of your cross-desktop application using any popular HTML5 UI toolkit. You can also use recent HTML5 toolboxes to produce java applications running on multiple platforms. JxBrowser is based on the open-source Chromium project that includes the source code and libraries written by developers in the Chromium community.

How to setup JXBrowser?

Configuring JXBrowser requires adding a new driver-browser pair to your Agilitest .atsProperties configuration file. This file is by default in the following directory: your user directory, followed by .actiontestscript).

You must add a <browser> section as follows:

<browser>
<name>jx</name>
<driver>jxbrowser</driver>
<path>C:\Program\path_to_jxbrowser_based_application\app.exe</path>
</browser>

  1. <name> is the name you want to print in Agilitest
  2. <driver> : Download the latest Selenium driver for Chromium integrated with JXBRowser, available at:

https://sites.google.com/a/chromium.org/chromedriver/

The drivers directory containing the correctly renamed chromedriver driver

3. Unzip the driver file and copy the file "chromedriver.exe" into the installation directory of Agilitest drivers (by default: your user directory, followed by .actiontestscript/drivers).

4. The file "chromedriver.exe" should be renamed by the name of the driver you gave in your configuration file (in this case jxbrowser.exe, but you can give the name you want as long as it does not impact the Chrome driver and the .exe file matches what is configured in the .atsProperties file).

5. <path>: path to the executable that launches your JXBrowser application

6. The configuration of JXBrowser must allow remote debugging on port 9222. (https://jxbrowser.support.teamdev.com/support/solutions/articles/9000013082-remote-debugging-port)


Still require support?
Contact support