KBI 311828 Issue Addressed: Web Session Script Runs Fine When Testing But Is Not Working When Executed By Engine Service For Some Foreign Web Sites

Version

Argent Advanced Technology 5.1A-2004-B or above

Date

Wednesday, 6 May 2020

Summary

Some foreign web sites can be recorded and tested properly in the GUI but are not working when executed by the Argent Sentinel service

It turns out that the web sites detect the browser locale and display different text strings as a result

When the user records the web session on a US English machine, the web site displays US English text

However, when the Engine service starts a browser in the default headless mode, the locale is unspecified

As a result, the web site might fall back to some default non-English text, and the Web Session script fails

To address the issue, the user should use the extra Chrome arguments “–lang=locale” to force the Argent Sentinel engine to start the Chrome/Chromium browser using a specific locale

For example, “–lang=en” tells the engine to use English

Technical Background

N/A

Resolution

Upgrade to Argent Advanced Technology 5.1A-2004-B or above