title: How to choose a specific window based on its title
body: <p>I want to choose a specific window, and perform operations on that window- I will pass that window as a parameter to another function which does the work...</p>
  
  <p>I know beforehand, that the title of the windows is (for example) "XYZ"</p>
  
  <p>How do I select the window in browser with that title?</p>
  
  <p>I found that in javascript there are ways to assign a title to a window, but I couldnt find a way to search for and find the window which has a specific title.</p>