How to set focus on firefox browser when using selenium 3.7
when i run my test cases , FF browser open in backend (On MAC machine). so how can i set focus on browser to come in frount.
i tried with below solution but noting is working
driver.switchTo().window(driver.getWindowHandle()); >> this is working fine on chrome but not for FF