title: How to find coordinates of a link with a specific caption in an Electron desktop application from a testing application in C#
body: <p><strong>Context:</strong></p>
  
  <p>I am beginning to write a testing application in C# which, as part of testing, needs to do UI automation of another Windows desktop application written in Electron, to extract certain results and compare with expected output.</p>
  
  <p>The Electron application has a few hyperlinks, and HTML style buttons, which I need to locate and click.
  The Electron application is written by another team and I cannot ask them to include testing features in the UI.</p>
  
  <p><strong>Question:</strong></p>
  
  <p><strong>How can I dynamically find the position of the hyperlink with the text "Login" within the Electron application and click it from my C# application?</strong></p>
  
  <p>I have been able to start the Electron application programmatically, bring it to foreground and send keystrokes to it. Now I need to click on the Login hyperlink.</p>
  
  <p>I have read many similar questions but most are for testing native Windows applications.</p>
  
  <p><strong>EDIT 1:</strong></p>
  
  <p>If I loop over all the child windows of the Electron application, I find only 2 windows. It seems Electron does not render hyperlinks or other HTML elements as Windows. </p>
  
  <p>If I use SendMessage to read the window text, it only returns "Chrome Legacy Window".</p>