0

Previously in UFT I've used the CreationTime property to select the most recently opened browser window. Is there something similar I can use under LeanFT in my BrowserDescription when trying to attach to the most recently started browser window?

  • well, not sure if they added something afterwards, but they didn't have this option in 14.00. Is something else launching a new browser and LeanFT is not aware? Can't LeanFT launch it? – Adelin Apr 03 '20 at 15:14
  • We normally use LeanFT to launch the browser using BrowserFactory.Launch and a BrowserType but there are scenarios where we need to launch Chrome with a command-line parameter and I'm using Process.Start for this. To handle scenarios where it's being started while other browser windows/tabs are already open I'd like to use something similar to CreationTime if it exists, otherwise I'm going to have to come up with a messy fix using the browser title or URL or something like that. – br0k3nglass Apr 03 '20 at 16:30

0 Answers0