Recently, I was working on writing Selenium test cases in C# and encountered an issue while trying to capture a value from a webpage. The problem arose when the retrieved value was rounded to 5 decimal points which was not what I wanted. Instead, I needed to capture the raw value before it was rounded.
Upon further investigation, I discovered that the row value was actually stored in a JavaScript array as shown in the image below.
Now, my question is: Is there a way to access the values in the JavaScript array and compare them with my expected value using C# code?