[kantu] Cannot read property 'allowRunFromFileSchema' of undefined

We are trying to run UI.Vision tests during continuous integration (Jenkins, Docker), using scripts and no manual input. A bash script installs Chrome, the UI.Vision extension and then opens chrome and loads the test page. The following error is displayed, “[kantu] Cannot read property ‘allowRunFromFileSchema’ of undefined”. If I dismiss the error dialog, and open and close the UI.Vision extension dialog, the test.html will load successfully.

This fails in both Ubuntu 18.04 and MacOS 10.14.6, Chrome version Version 78.0.3904.70 (Official Build) (64-bit).

Bash script.

chrome="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
ui_vision_extension=${dir}"/dist/gcbalfbdmfieckjlnblleoemohcganoc/5.2.3_0"
start_url="file://${dir}/test.html?direct=1&close=1&savelog=demotestlog.txt"

# Create temporary directory for user data. This allows a new Chrome instance to be installed.
tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
echo $tmp_dir

"${chrome}" \
--allow-file-access-from-files \
--disable-translate \
--no-first-run \
--no-default-browser-check  \
--user-data-dir=$tmp_dir \
--disable-dev-shm-usage \
--disable-features=InfiniteSessionRestore,TranslateUI \
--no-sandbox \
--ignore-certificate-errors \
--force-device-scale-factor=1 \
--load-extension="${ui_vision_extension}" \
"${start_url}"

rm -rf $tmp_dir

I couldn’t find an example of running tests from a command line on a new Chrome install. Any suggestions welcome. Thanks.

I lock this post, as it is a duplicate of Automated Testing with UI.Vision