Browser open or not

i want to start my workflow by checking if any tab open on chrome then close Chrome else log message that “no tabs are open”
how can i do this?

@arijit1213 - you can try below

  1. Use Element Exist activity and target into your browser - it will return boolean results…
  2. you can check in all process to find the browser name like
    System.Diagnostics.Process.GetProcessesByName(“chrome”)
2 Likes