WinCC WebUX provides a solution for device- and browser-independent operator control and monitoring of the automation system. This script allows you to automatically login into WebUX using parameters in the request URL.
- Download the files from this repository.
- Copy
scripts/veg-auto-login.js
toC:\inetpub\wwwroot\Siemens\WebRH\public\content\
on the WebUX server. - Add the following line to the
head
section ofC:\inetpub\wwwroot\Siemens\WebRH\views\index.jade
:
script(src='/content/veg-auto-login.js', type='text/javascript')
Open WebUX using the following URL: https://<server-ip>/?webux-user=<username>&webux-pass=<password>&auto-login=yes
. The script will try to automatically login using the provided username and password.