Access and Edit Information from a Web Page Using LabVIEW

Updated Oct 30, 2019

Reported In

Software

  • LabVIEW

Issue Details

I would like to know if it is possible to use a LabVIEW Graphical User Interface to monitor and control a Third Party User Interface that is shown on a web browser. In other words, use LabVIEW to access a page shown on a web browser, look for changes and simulate clicks on it.

Solution

It is possible to simulate a mouse click and to change the information on a page shown on a  web browser. This can be done by manipulating the data on the web page source code.

You can access this code following the next steps:

  1. Open the web page in your web browser you would like to monitor and change from LabVIEW.
  2. Right-Click on any part of the web page.
  3. Select View Page Source.


Depending on the language this page was written, you can use the LabVIEW HTML functions or JSON functions access the information on the page, modify text boxes and monitor for changes.

On the comments of the following forum, you will find examples that use HTML invoke node to manipulate the page source code.