We are "screen scraping" web pages to fetch information that we want to store, without having to do the math behind the web page. For example, there's a web page that displays "planned qty" for a production line ... with values "54" and then a minute later "55", etc.
We have been using:
client = system.net.httpClient()
response = client.get(url)
listOfLines = response.splitlines()
Some web pages have very straightforward source code and we can then find the element data we are looking for (i.e. "54" (which is the PlannedQty value), is found on Line 22). We can refresh the "get", look at what's on line 22, and store the value when it changes. Works great.
However, this approach is NOT working for the web pages generated by Perspective.
In MicrosoftEdge, however, I can use the Developer tools, and hover over "54" and I can see the value in the /Elements pane.
What is the recommended approach to fetch the contents of the Perspective page in such a way that I can reliably find the element I'm looking for, so I can store the element value?