I'm sure you could take a similar approach but, as it is, No, it will not work. This steps through the windows/controls in Chrome and looks for a specific name and its value. Can't say for certain but it probably wouldn't be that hard to adjust to what you need. Trying to think what tool I used to get the needed info but coming up blank. If I can remember I'll post again.
Jim