ḥari
2 years agoFrequent Contributor
Warning in Log file
Hi Team, After execution in log file, it returns the warning message as " The browser is already running" because the browser in already opened so it's throwing warning message. How can I overco...
- 2 years ago
See the example in Log.Enabled Property and Typical Event Handler Tasks (Blocking Log Messages)
My preference would be to use the following,
function BrowserTest() { if (!Sys.WaitBrowser("chrome").Exists) { Browsers.Item("chrome").Run("http://smartbear.com/"); } else { Browsers.Item("chrome").Navigate("https://www.w3schools.com/"); } }