So I was trying to figure out how to get the Text/Title of the google chrome browser. I finally got to this, which looked promising..
cur_url = Process.GetProcessesByName("chrome")[0].MainWindowTitle;
cur_url is a string which will old the name. Sadly this does not work. it just returns a blank value. Is this the correct way to do this? Or is there another, more efficient way?
Thanks.