Forum Discussion

sirping's avatar
sirping
Occasional Contributor
3 years ago

Close Browser before Test

I need a Python script that closes Chrome if it is open before a Test   Currently I have a function looking like this   def closeBrowserIfOpen(): p = Sys.WaitBrowser("chrome", 0) if (p.E...