title: How do I get the x,y coordinates of selected text on a webpage?
body: <p>I have a simple find function that will find what is passed to it on the webpage. I then need to return the x,y coordinates of where the found text is located on that page.</p>
  
  <pre><code>def find_text():
      win32api.keybd_event(win32con.VK_CONTROL, 0, 0, 0)
      win32api.keybd_event(ord('F'), 0, win32con.KEYEVENTF_EXTENDEDKEY | 0, 0)
      time.sleep(0.05)
      win32api.keybd_event(ord('F'), 0, win32con.KEYEVENTF_EXTENDEDKEY |        win32con.KEYEVENTF_KEYUP, 0)
      win32api.keybd_event(win32con.VK_CONTROL, 0, win32con.KEYEVENTF_KEYUP, 0)
  </code></pre>